ods-component-lib 1.11.1 → 1.11.3
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/devextreme/treeview/DxTreeList.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +19 -341
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +20 -343
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
2
|
import { AutoComplete, Button, Dropdown, Calendar, Card as Card$1, Checkbox, DatePicker, Divider, Input, Form, Image, InputNumber, List, Modal, notification, Radio, Rate, Select, Spin, Switch, Tabs, Table, Tag, Timeline, TimePicker, Typography } from 'antd';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import Card from 'antd/es/card/Card';
|
|
@@ -9,6 +9,7 @@ import message from 'antd/es/message';
|
|
|
9
9
|
import Parser from 'html-react-parser';
|
|
10
10
|
import { DataGrid, Paging, Pager, SearchPanel, FilterRow, HeaderFilter, ColumnChooser, Position, ColumnChooserSearch, ColumnChooserSelection, Selection, Editing, Popup, Form as Form$1, Scrolling, Export, Column, RequiredRule, Button as Button$1, Toolbar, Item as Item$1 } from 'devextreme-react/data-grid';
|
|
11
11
|
import { Item } from 'devextreme-react/form';
|
|
12
|
+
import { TreeList } from 'devextreme-react';
|
|
12
13
|
import { TreeView } from 'devextreme-react/tree-view';
|
|
13
14
|
|
|
14
15
|
function _extends() {
|
|
@@ -43,347 +44,8 @@ function OdsAutoComplete(props) {
|
|
|
43
44
|
var _templateObject$1;
|
|
44
45
|
var StyledButton = styled(Button)(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n box-shadow: none;\n"])));
|
|
45
46
|
|
|
46
|
-
var lightTheme = {
|
|
47
|
-
token: {
|
|
48
|
-
blue1: "#e6f4ff",
|
|
49
|
-
blue2: "#bae0ff",
|
|
50
|
-
blue3: "#91caff",
|
|
51
|
-
blue4: "#69b1ff",
|
|
52
|
-
blue5: "#4096ff",
|
|
53
|
-
blue6: "#1677ff",
|
|
54
|
-
blue7: "#0958d9",
|
|
55
|
-
blue8: "#003eb3",
|
|
56
|
-
blue9: "#002c8c",
|
|
57
|
-
blue10: "#001d66",
|
|
58
|
-
purple1: "#f9f0ff",
|
|
59
|
-
purple2: "#efdbff",
|
|
60
|
-
purple3: "#d3adf7",
|
|
61
|
-
purple4: "#b37feb",
|
|
62
|
-
purple5: "#9254de",
|
|
63
|
-
purple6: "#722ed1",
|
|
64
|
-
purple7: "#531dab",
|
|
65
|
-
purple8: "#391085",
|
|
66
|
-
purple9: "#22075e",
|
|
67
|
-
purple10: "#120338",
|
|
68
|
-
cyan1: "#e6fffb",
|
|
69
|
-
cyan2: "#b5f5ec",
|
|
70
|
-
cyan3: "#87e8de",
|
|
71
|
-
cyan4: "#5cdbd3",
|
|
72
|
-
cyan5: "#36cfc9",
|
|
73
|
-
cyan6: "#13c2c2",
|
|
74
|
-
cyan7: "#08979c",
|
|
75
|
-
cyan8: "#006d75",
|
|
76
|
-
cyan9: "#00474f",
|
|
77
|
-
cyan10: "#002329",
|
|
78
|
-
green1: "#f6ffed",
|
|
79
|
-
green2: "#d9f7be",
|
|
80
|
-
green3: "#b7eb8f",
|
|
81
|
-
green4: "#95de64",
|
|
82
|
-
green5: "#73d13d",
|
|
83
|
-
green6: "#52c41a",
|
|
84
|
-
green7: "#389e0d",
|
|
85
|
-
green8: "#237804",
|
|
86
|
-
green9: "#135200",
|
|
87
|
-
green10: "#092b00",
|
|
88
|
-
magenta1: "#fff0f6",
|
|
89
|
-
magenta2: "#ffd6e7",
|
|
90
|
-
magenta3: "#ffadd2",
|
|
91
|
-
magenta4: "#ff85c0",
|
|
92
|
-
magenta5: "#f759ab",
|
|
93
|
-
magenta6: "#eb2f96",
|
|
94
|
-
magenta7: "#c41d7f",
|
|
95
|
-
magenta8: "#9e1068",
|
|
96
|
-
magenta9: "#780650",
|
|
97
|
-
magenta10: "#520339",
|
|
98
|
-
red1: "#fff1f0",
|
|
99
|
-
red2: "#ffccc7",
|
|
100
|
-
red3: "#ffa39e",
|
|
101
|
-
red4: "#ff7875",
|
|
102
|
-
red5: "#ff4d4f",
|
|
103
|
-
red6: "#f5222d",
|
|
104
|
-
red7: "#cf1322",
|
|
105
|
-
red8: "#a8071a",
|
|
106
|
-
red9: "#820014",
|
|
107
|
-
red10: "#5c0011",
|
|
108
|
-
orange1: "#fff7e6",
|
|
109
|
-
orange2: "#ffe7ba",
|
|
110
|
-
orange3: "#ffd591",
|
|
111
|
-
orange4: "#ffc069",
|
|
112
|
-
orange5: "#ffa940",
|
|
113
|
-
orange6: "#fa8c16",
|
|
114
|
-
orange7: "#d46b08",
|
|
115
|
-
orange8: "#ad4e00",
|
|
116
|
-
orange9: "#873800",
|
|
117
|
-
orange10: "#612500",
|
|
118
|
-
yellow1: "#feffe6",
|
|
119
|
-
yellow2: "#ffffb8",
|
|
120
|
-
yellow3: "#fffb8f",
|
|
121
|
-
yellow4: "#fff566",
|
|
122
|
-
yellow5: "#ffec3d",
|
|
123
|
-
yellow6: "#fadb14",
|
|
124
|
-
yellow7: "#d4b106",
|
|
125
|
-
yellow8: "#ad8b00",
|
|
126
|
-
yellow9: "#876800",
|
|
127
|
-
yellow10: "#614700",
|
|
128
|
-
volcano1: "#fff2e8",
|
|
129
|
-
volcano2: "#ffd8bf",
|
|
130
|
-
volcano3: "#ffbb96",
|
|
131
|
-
volcano4: "#ff9c6e",
|
|
132
|
-
volcano5: "#ff7a45",
|
|
133
|
-
volcano6: "#fa541c",
|
|
134
|
-
volcano7: "#d4380d",
|
|
135
|
-
volcano8: "#ad2102",
|
|
136
|
-
volcano9: "#871400",
|
|
137
|
-
volcano10: "#610b00",
|
|
138
|
-
geekblue1: "#f0f5ff",
|
|
139
|
-
geekblue2: "#d6e4ff",
|
|
140
|
-
geekblue3: "#adc6ff",
|
|
141
|
-
geekblue4: "#85a5ff",
|
|
142
|
-
geekblue5: "#597ef7",
|
|
143
|
-
geekblue6: "#2f54eb",
|
|
144
|
-
geekblue7: "#1d39c4",
|
|
145
|
-
geekblue8: "#10239e",
|
|
146
|
-
geekblue9: "#061178",
|
|
147
|
-
geekblue10: "#030852",
|
|
148
|
-
lime1: "#fcffe6",
|
|
149
|
-
lime2: "#f4ffb8",
|
|
150
|
-
lime3: "#eaff8f",
|
|
151
|
-
lime4: "#d3f261",
|
|
152
|
-
lime5: "#bae637",
|
|
153
|
-
lime6: "#a0d911",
|
|
154
|
-
lime7: "#7cb305",
|
|
155
|
-
lime8: "#5b8c00",
|
|
156
|
-
lime9: "#3f6600",
|
|
157
|
-
lime10: "#254000",
|
|
158
|
-
gold1: "#fffbe6",
|
|
159
|
-
gold2: "#fff1b8",
|
|
160
|
-
gold3: "#ffe58f",
|
|
161
|
-
gold4: "#ffd666",
|
|
162
|
-
gold5: "#ffc53d",
|
|
163
|
-
gold6: "#faad14",
|
|
164
|
-
gold7: "#d48806",
|
|
165
|
-
gold8: "#ad6800",
|
|
166
|
-
gold9: "#874d00",
|
|
167
|
-
gold10: "#613400",
|
|
168
|
-
colorTextBase: "#000",
|
|
169
|
-
colorTextLightSolid: "#ffffff",
|
|
170
|
-
colorBgBase: "#ffffff",
|
|
171
|
-
fontFamily: "SF Pro Text",
|
|
172
|
-
fontSize: "14px",
|
|
173
|
-
lineWidth: "1px",
|
|
174
|
-
borderRadius: "6px",
|
|
175
|
-
sizeUnit: "4px",
|
|
176
|
-
sizePopupArrow: "16px",
|
|
177
|
-
controlHeight: "32px",
|
|
178
|
-
opacityImage: "1",
|
|
179
|
-
sizeStep: "4px",
|
|
180
|
-
colorPrimary: "#1677ff",
|
|
181
|
-
colorError: "#ff4d4f",
|
|
182
|
-
colorWarning: "#faad14",
|
|
183
|
-
colorSuccess: "#52c41a",
|
|
184
|
-
colorInfo: "#1677ff",
|
|
185
|
-
colorSecondary: "#F9B515",
|
|
186
|
-
sizeXxl: "48px",
|
|
187
|
-
sizeXl: "32px",
|
|
188
|
-
sizeLg: "24px",
|
|
189
|
-
sizeMd: "20px",
|
|
190
|
-
sizeMs: "16px",
|
|
191
|
-
size: "16px",
|
|
192
|
-
sizeSm: "12px",
|
|
193
|
-
sizeXs: "8px",
|
|
194
|
-
sizeXxs: "4px",
|
|
195
|
-
controlHeightSm: "24px",
|
|
196
|
-
controlHeightXs: "16px",
|
|
197
|
-
controlHeightLg: "40px",
|
|
198
|
-
borderRadiusXs: "2px",
|
|
199
|
-
borderRadiusSm: "4px",
|
|
200
|
-
borderRadiusLg: "8px",
|
|
201
|
-
borderRadiusOuter: "4px",
|
|
202
|
-
colorText: "rgba(0, 0, 0, 0.88)",
|
|
203
|
-
colorTextSecondary: "rgba(0, 0, 0, 0.65)",
|
|
204
|
-
colorTextTertiary: "rgba(0, 0, 0, 0.45)",
|
|
205
|
-
colorTextQuaternary: "rgba(0, 0, 0, 0.25)",
|
|
206
|
-
colorFill: "rgba(0, 0, 0, 0.15)",
|
|
207
|
-
colorFillSecondary: "rgba(0, 0, 0, 0.06)",
|
|
208
|
-
colorFillTertiary: "rgba(0, 0, 0, 0.04)",
|
|
209
|
-
colorBgContainer: "#ffffff",
|
|
210
|
-
colorFillQuaternary: "rgba(0, 0, 0, 0.02)",
|
|
211
|
-
colorBgLayout: "#f5f5f5",
|
|
212
|
-
colorBgElevated: "#ffffff",
|
|
213
|
-
colorBgSpotlight: "rgba(0, 0, 0, 0.85)",
|
|
214
|
-
colorBorder: "rgba(0, 0, 0, 0.15)",
|
|
215
|
-
colorBorderSecondary: "rgba(0, 0, 0, 0.06)",
|
|
216
|
-
colorSplit: "rgba(0, 0, 0, 0.06)",
|
|
217
|
-
colorPrimaryBg: "#e6f4ff",
|
|
218
|
-
colorPrimaryBgHover: "#bae0ff",
|
|
219
|
-
colorPrimaryBorder: "#91caff",
|
|
220
|
-
colorPrimaryBorderHover: "#69b1ff",
|
|
221
|
-
colorPrimaryHover: "#4096ff",
|
|
222
|
-
colorPrimaryBase: "#1677ff",
|
|
223
|
-
colorPrimaryActive: "#0958d9",
|
|
224
|
-
colorPrimaryTextHover: "#003eb3",
|
|
225
|
-
colorPrimaryText: "#002c8c",
|
|
226
|
-
colorPrimaryTextActive: "#001d66",
|
|
227
|
-
colorSuccessBg: "#f6ffed",
|
|
228
|
-
colorSuccessBgHover: "#d9f7be",
|
|
229
|
-
colorSuccessBorder: "#b7eb8f",
|
|
230
|
-
colorSuccessBorderHover: "#95de64",
|
|
231
|
-
colorSuccessHover: "#73d13d",
|
|
232
|
-
colorSuccessBase: "#52c41a",
|
|
233
|
-
colorSuccessActive: "#389e0d",
|
|
234
|
-
colorSuccessTextHover: "#237804",
|
|
235
|
-
colorSuccessText: "#135200",
|
|
236
|
-
colorSuccessTextActive: "#092b00",
|
|
237
|
-
colorWarningBg: "#fffbe6",
|
|
238
|
-
colorWarningBgHover: "#fff1b8",
|
|
239
|
-
colorWarningBorder: "#ffe58f",
|
|
240
|
-
colorWarningBorderHover: "#ffd666",
|
|
241
|
-
colorWarningHover: "#ffc53d",
|
|
242
|
-
colorWarningBase: "#faad14",
|
|
243
|
-
colorWarningActive: "#d48806",
|
|
244
|
-
colorWarningTextHover: "#ad6800",
|
|
245
|
-
colorWarningText: "#874d00",
|
|
246
|
-
colorWarningTextActive: "#613400",
|
|
247
|
-
colorErrorBg: "#fff1f0",
|
|
248
|
-
colorErrorBgHover: "#ffccc7",
|
|
249
|
-
colorErrorBorder: "#ffa39e",
|
|
250
|
-
colorErrorBorderHover: "#ff7875",
|
|
251
|
-
colorErrorHover: "#ff7875",
|
|
252
|
-
colorErrorBase: "#ff4d4f",
|
|
253
|
-
colorErrorActive: "#cf1322",
|
|
254
|
-
colorErrorTextHover: "#a8071a",
|
|
255
|
-
colorErrorText: "#820014",
|
|
256
|
-
colorErrorTextActive: "#5c0011",
|
|
257
|
-
colorInfoBg: "#e6f4ff",
|
|
258
|
-
colorInfoBgHover: "#bae0ff",
|
|
259
|
-
colorInfoBorder: "#91caff",
|
|
260
|
-
colorInfoBorderHover: "#69b1ff",
|
|
261
|
-
colorInfoHover: "#4096ff",
|
|
262
|
-
colorInfoBase: "#1677ff",
|
|
263
|
-
colorInfoActive: "#0958d9",
|
|
264
|
-
colorInfoTextHover: "#003eb3",
|
|
265
|
-
colorInfoText: "#002c8c",
|
|
266
|
-
colorInfoTextActive: "#001d66",
|
|
267
|
-
colorBgMask: "rgba(0, 0, 0, 0.45)",
|
|
268
|
-
stepsDotSize: "8px",
|
|
269
|
-
stepsCurrentDotSize: "10px",
|
|
270
|
-
rateStarSize: "20px",
|
|
271
|
-
colorFillContent: "rgba(0, 0, 0, 0.06)",
|
|
272
|
-
colorFillContentHover: "rgba(0, 0, 0, 0.15)",
|
|
273
|
-
colorFillAlter: "rgba(0, 0, 0, 0.02)",
|
|
274
|
-
colorBgContainerDisabled: "rgba(0, 0, 0, 0.04)",
|
|
275
|
-
colorBorderBg: "#ffffff",
|
|
276
|
-
colorTextPlaceholder: "rgba(0, 0, 0, 0.25)",
|
|
277
|
-
colorTextDisabled: "rgba(0, 0, 0, 0.25)",
|
|
278
|
-
colorTextHeading: "rgba(0, 0, 0, 0.88)",
|
|
279
|
-
colorTextLabel: "rgba(0, 0, 0, 0.65)",
|
|
280
|
-
colorTextDescription: "rgba(0, 0, 0, 0.45)",
|
|
281
|
-
colorBgTextHover: "rgba(0, 0, 0, 0.06)",
|
|
282
|
-
colorBgTextActive: "rgba(0, 0, 0, 0.15)",
|
|
283
|
-
colorIcon: "rgba(0, 0, 0, 0.45)",
|
|
284
|
-
colorIconHover: "rgba(0, 0, 0, 0.88)",
|
|
285
|
-
colorLink: "#1677ff",
|
|
286
|
-
colorLinkHover: "#4096ff",
|
|
287
|
-
colorLinkActive: "#0958d9",
|
|
288
|
-
colorHighlight: "#ff7875",
|
|
289
|
-
controlOutline: "#e6f4ff",
|
|
290
|
-
colorWarningOutline: "#fffbe6",
|
|
291
|
-
colorErrorOutline: "#fff1f0",
|
|
292
|
-
fontSizeSm: "12px",
|
|
293
|
-
fontSizeLg: "16px",
|
|
294
|
-
fontSizeXl: "20px",
|
|
295
|
-
fontSizeIcon: "12px",
|
|
296
|
-
fontSizeHeading1: "38px",
|
|
297
|
-
fontSizeHeading2: "30px",
|
|
298
|
-
fontSizeHeading3: "24px",
|
|
299
|
-
fontSizeHeading4: "20px",
|
|
300
|
-
fontSizeHeading5: "16px",
|
|
301
|
-
fontWeightNormal: "400",
|
|
302
|
-
fontWeightStrong: "600",
|
|
303
|
-
controlLineWidth: "1px",
|
|
304
|
-
controlOutlineWidth: "2px",
|
|
305
|
-
controlItemBgHover: "rgba(0, 0, 0, 0.04)",
|
|
306
|
-
controlItemBgActive: "#e6f4ff",
|
|
307
|
-
controlItemBgActiveHover: "#bae0ff",
|
|
308
|
-
controlInteractiveSize: "16px",
|
|
309
|
-
controlItemBgActiveDisabled: "rgba(0, 0, 0, 0.15)",
|
|
310
|
-
controlTmpOutline: "rgba(0, 0, 0, 0.02)",
|
|
311
|
-
opacityLoading: "0.65",
|
|
312
|
-
padding: "16px",
|
|
313
|
-
paddingMd: "20px",
|
|
314
|
-
paddingSm: "12px",
|
|
315
|
-
paddingXs: "8px",
|
|
316
|
-
paddingXxs: "4px",
|
|
317
|
-
paddingLg: "24px",
|
|
318
|
-
paddingXl: "32px",
|
|
319
|
-
paddingXxl: "48px",
|
|
320
|
-
margin: "16px",
|
|
321
|
-
marginSm: "12px",
|
|
322
|
-
marginXs: "8px",
|
|
323
|
-
marginXxs: "4px",
|
|
324
|
-
marginLg: "24px",
|
|
325
|
-
marginXl: "48px",
|
|
326
|
-
controlPaddingHorizontal: "12px",
|
|
327
|
-
controlPaddingHorizontalSm: "8px",
|
|
328
|
-
baseBaseNormal: "400 14px/22px 'SF Pro Text'",
|
|
329
|
-
baseBaseStrong: "600 14px/22px 'SF Pro Text'",
|
|
330
|
-
baseBaseUnderline: "400 14px/22px 'SF Pro Text'",
|
|
331
|
-
baseBaseDelete: "400 14px/22px 'SF Pro Text'",
|
|
332
|
-
baseBaseItalic: "Regular Italic 14px/22px 'SF Pro Text'",
|
|
333
|
-
smSmNormal: "400 12px/20px 'SF Pro Text'",
|
|
334
|
-
smSmStrong: "600 12px/20px 'SF Pro Text'",
|
|
335
|
-
smSmUnderline: "400 12px/20px 'SF Pro Text'",
|
|
336
|
-
smSmDelete: "400 12px/20px 'SF Pro Text'",
|
|
337
|
-
smSmItalic: "Regular Italic 12px/20px 'SF Pro Text'",
|
|
338
|
-
lgLgNormal: "400 16px/24px 'SF Pro Text'",
|
|
339
|
-
lgLgStrong: "600 16px/24px 'SF Pro Text'",
|
|
340
|
-
lgLgUnderline: "400 16px/24px 'SF Pro Text'",
|
|
341
|
-
lgLgDelete: "400 16px/24px 'SF Pro Text'",
|
|
342
|
-
lgLgItalic: "Regular Italic 16px/24px 'SF Pro Text'",
|
|
343
|
-
xlXlNormal: "400 20px/28px 'SF Pro Text'",
|
|
344
|
-
xlXlStrong: "600 20px/28px 'SF Pro Text'",
|
|
345
|
-
xlXlUnderline: "400 20px/28px 'SF Pro Text'",
|
|
346
|
-
xlXlDelete: "400 20px/28px 'SF Pro Text'",
|
|
347
|
-
xlXlItalic: "Regular Italic 20px/28px 'SF Pro Text'",
|
|
348
|
-
headingHeading1: "600 38px/46px 'SF Pro Text'",
|
|
349
|
-
headingHeading2: "600 30px/38px 'SF Pro Text'",
|
|
350
|
-
headingHeading3: "600 24px/32px 'SF Pro Text'",
|
|
351
|
-
headingHeading4: "600 20px/28px 'SF Pro Text'",
|
|
352
|
-
headingHeading5: "600 16px/24px 'SF Pro Text'",
|
|
353
|
-
fontWeightItalic: "Regular Italic",
|
|
354
|
-
paddingContentHorizontalLg: "24px",
|
|
355
|
-
paddingContentVerticalLg: "16px",
|
|
356
|
-
paddingContentHorizontal: "16px",
|
|
357
|
-
paddingContentVertical: "12px",
|
|
358
|
-
paddingContentHorizontalSm: "16px",
|
|
359
|
-
paddingContentVerticalSm: "8px",
|
|
360
|
-
boxShadow: "0 1px 2px 0 rgba(0,0,0,0.03), 0 1px 6px -1px rgba(0,0,0,0.02), 0 2px 4px 0 rgba(0,0,0,0.02)",
|
|
361
|
-
boxShadowSecondary: "0 6px 16px 0 rgba(0,0,0,0.08), 0 3px 6px -4px rgba(0,0,0,0.12), 0 9px 28px 8px rgba(0,0,0,0.05)",
|
|
362
|
-
boxShadowCard: "0 1px 2px -2px rgba(0,0,0,0.16), 0 3px 6px 0 rgba(0,0,0,0.12), 0 5px 12px 4px rgba(0,0,0,0.09)",
|
|
363
|
-
colorItemText: "rgba(255, 255, 255, 0.65)",
|
|
364
|
-
colorItemTextDisabled: "rgba(255, 255, 255, 0.25)",
|
|
365
|
-
focusPrimary: "0 0 0 2px #e6f4ff",
|
|
366
|
-
focusError: "0 0 0 2px #fff1f0",
|
|
367
|
-
focusWarning: "0 0 0 2px #fffbe6",
|
|
368
|
-
tooltipBg: "rgba(0, 0, 0, 0.88)",
|
|
369
|
-
segmentedBgColorSelected: "#ffffff",
|
|
370
|
-
segmentedGroupBg: "rgba(0, 0, 0, 0.04)",
|
|
371
|
-
colorMenuDarkBg: "#001529",
|
|
372
|
-
colorMenuSubItemBg: "#000c17",
|
|
373
|
-
boxShadowButtonSolid: "0 2px 0 0 rgba(0, 0, 0, 0.02)",
|
|
374
|
-
paddingTooltipContentVertical: "6px"
|
|
375
|
-
}
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
var TokenContext = createContext(lightTheme);
|
|
379
|
-
var TokenProvider = function TokenProvider(children) {
|
|
380
|
-
return React.createElement(TokenContext.Provider, {
|
|
381
|
-
value: lightTheme
|
|
382
|
-
}, children);
|
|
383
|
-
};
|
|
384
|
-
|
|
385
47
|
function OdsButton(props) {
|
|
386
|
-
return React.createElement(React.Fragment, null, React.createElement(
|
|
48
|
+
return React.createElement(React.Fragment, null, React.createElement(StyledButton, Object.assign({}, props), props.children));
|
|
387
49
|
}
|
|
388
50
|
|
|
389
51
|
var onMenuClick = function onMenuClick(e) {
|
|
@@ -477,7 +139,7 @@ var _templateObject$8;
|
|
|
477
139
|
var StyledInput = styled(Input)(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n //\n"])));
|
|
478
140
|
|
|
479
141
|
function OdsInput(props) {
|
|
480
|
-
return React.createElement(React.Fragment, null, React.createElement(
|
|
142
|
+
return React.createElement(React.Fragment, null, React.createElement(StyledInput, Object.assign({}, props), props === null || props === void 0 ? void 0 : props.children));
|
|
481
143
|
}
|
|
482
144
|
|
|
483
145
|
var layout = {
|
|
@@ -1054,6 +716,21 @@ function grid(props) {
|
|
|
1054
716
|
}))));
|
|
1055
717
|
}
|
|
1056
718
|
|
|
719
|
+
var DxTreeList = function DxTreeList(props) {
|
|
720
|
+
return React.createElement(React.Fragment, null, React.createElement(TreeList, {
|
|
721
|
+
id: "Id",
|
|
722
|
+
dataSource: props.dataSource,
|
|
723
|
+
showRowLines: true,
|
|
724
|
+
showBorders: true,
|
|
725
|
+
columnAutoWidth: true,
|
|
726
|
+
itemsExpr: props.itemsExpr,
|
|
727
|
+
dataStructure: "tree"
|
|
728
|
+
}, React.createElement(Column, {
|
|
729
|
+
dataField: "Name",
|
|
730
|
+
caption: "Name"
|
|
731
|
+
})));
|
|
732
|
+
};
|
|
733
|
+
|
|
1057
734
|
var DxTreeView = function DxTreeView(props) {
|
|
1058
735
|
return React.createElement(React.Fragment, null, React.createElement(TreeView, {
|
|
1059
736
|
id: "treeView",
|
|
@@ -1072,5 +749,5 @@ var DxTreeView = function DxTreeView(props) {
|
|
|
1072
749
|
}));
|
|
1073
750
|
};
|
|
1074
751
|
|
|
1075
|
-
export { DxTreeView, OdsAutoComplete, OdsBasicForm, OdsBasicTable, OdsButton, OdsCalendar, OdsCard, OdsCheckbox, OdsCheckboxGroup, OdsCollapse, OdsDataGrid, OdsDateRangePicker, OdsDateRangePicker as OdsDatepicker, OdsDivider, OdsCollapse as OdsDropdown, OdsDropdownButton, OdsImage, OdsInput, OdsInputNumber, OdsLink, OdsList, OdsLogin, OdsMessage, OdsModal, OdsNotification, OdsParagraph, OdsPassword, OdsPhoneInput, OdsRadio, OdsRadioGroup, OdsRangeTimepicker, OdsRate, OdsSearch, OdsSelect, OdsSelectableTable, OdsSpin, OdsSwitch, OdsTab, OdsBasicTable as OdsTable, OdsTag, OdsText, OdsTextArea, OdsTimeline, OdsTimepicker, OdsTitle };
|
|
752
|
+
export { DxTreeList, DxTreeView, OdsAutoComplete, OdsBasicForm, OdsBasicTable, OdsButton, OdsCalendar, OdsCard, OdsCheckbox, OdsCheckboxGroup, OdsCollapse, OdsDataGrid, OdsDateRangePicker, OdsDateRangePicker as OdsDatepicker, OdsDivider, OdsCollapse as OdsDropdown, OdsDropdownButton, OdsImage, OdsInput, OdsInputNumber, OdsLink, OdsList, OdsLogin, OdsMessage, OdsModal, OdsNotification, OdsParagraph, OdsPassword, OdsPhoneInput, OdsRadio, OdsRadioGroup, OdsRangeTimepicker, OdsRate, OdsSearch, OdsSelect, OdsSelectableTable, OdsSpin, OdsSwitch, OdsTab, OdsBasicTable as OdsTable, OdsTag, OdsText, OdsTextArea, OdsTimeline, OdsTimepicker, OdsTitle };
|
|
1076
753
|
//# sourceMappingURL=index.modern.js.map
|