@steroidsjs/bootstrap 3.0.0-beta.99 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/content/Calendar/CalendarView.js +6 -3
- package/content/Calendar/CaptionElement.js +6 -3
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.d.ts +12 -0
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.js +43 -0
- package/content/CalendarSystem/AsideCalendars/AsideCalendars.scss +107 -0
- package/content/CalendarSystem/AsideCalendars/index.d.ts +2 -0
- package/content/CalendarSystem/AsideCalendars/index.js +7 -0
- package/content/CalendarSystem/AsideHeader/AsideHeader.d.ts +9 -0
- package/content/CalendarSystem/AsideHeader/AsideHeader.js +40 -0
- package/content/CalendarSystem/AsideHeader/AsideHeader.scss +41 -0
- package/content/CalendarSystem/AsideHeader/index.d.ts +2 -0
- package/content/CalendarSystem/AsideHeader/index.js +7 -0
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.d.ts +2 -0
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.js +25 -0
- package/content/CalendarSystem/CalendarSystemEventGroupModalView.scss +53 -0
- package/content/CalendarSystem/CalendarSystemModalView.d.ts +2 -0
- package/content/CalendarSystem/CalendarSystemModalView.js +54 -0
- package/content/CalendarSystem/CalendarSystemModalView.scss +84 -0
- package/content/CalendarSystem/CalendarSystemView.d.ts +2 -0
- package/content/CalendarSystem/CalendarSystemView.js +44 -0
- package/content/CalendarSystem/CalendarSystemView.scss +50 -0
- package/content/CalendarSystem/ContentHeader/ContentHeader.d.ts +10 -0
- package/content/CalendarSystem/ContentHeader/ContentHeader.js +26 -0
- package/content/CalendarSystem/ContentHeader/ContentHeader.scss +57 -0
- package/content/CalendarSystem/ContentHeader/index.d.ts +2 -0
- package/content/CalendarSystem/ContentHeader/index.js +7 -0
- package/content/CalendarSystem/MonthGrid/MonthGrid.d.ts +14 -0
- package/content/CalendarSystem/MonthGrid/MonthGrid.js +39 -0
- package/content/CalendarSystem/MonthGrid/MonthGrid.scss +41 -0
- package/content/CalendarSystem/MonthGrid/index.d.ts +2 -0
- package/content/CalendarSystem/MonthGrid/index.js +7 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.d.ts +11 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.js +73 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDay.scss +126 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/index.d.ts +2 -0
- package/content/CalendarSystem/MonthGrid/views/MonthDay/index.js +7 -0
- package/content/CalendarSystem/WeekGrid/WeekGrid.d.ts +14 -0
- package/content/CalendarSystem/WeekGrid/WeekGrid.js +25 -0
- package/content/CalendarSystem/WeekGrid/WeekGrid.scss +154 -0
- package/content/CalendarSystem/WeekGrid/index.d.ts +2 -0
- package/content/CalendarSystem/WeekGrid/index.js +7 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.d.ts +12 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.js +79 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/WeekHour.scss +108 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/index.d.ts +2 -0
- package/content/CalendarSystem/WeekGrid/views/WeekHour/index.js +7 -0
- package/content/Chart/ChartView.js +12 -2
- package/content/Chart/ChartView.scss +35 -4
- package/content/Chat/ChatView.d.ts +2 -0
- package/content/Chat/ChatView.js +62 -0
- package/content/Chat/ChatView.scss +59 -0
- package/content/Chat/index.d.ts +2 -0
- package/content/Chat/index.js +7 -0
- package/content/Chat/views/BubbleMessage/BubbleMessageView.d.ts +17 -0
- package/content/Chat/views/BubbleMessage/BubbleMessageView.js +72 -0
- package/content/Chat/views/BubbleMessage/BubbleMessageView.scss +195 -0
- package/content/Chat/views/BubbleMessage/index.d.ts +2 -0
- package/content/Chat/views/BubbleMessage/index.js +7 -0
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.d.ts +12 -0
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.js +48 -0
- package/content/Chat/views/BubblesDateGroup/BubblesDateGroup.scss +78 -0
- package/content/Chat/views/BubblesDateGroup/index.d.ts +2 -0
- package/content/Chat/views/BubblesDateGroup/index.js +7 -0
- package/content/Chat/views/ChatFileItem/ChatFileItemView.d.ts +9 -0
- package/content/Chat/views/ChatFileItem/ChatFileItemView.js +50 -0
- package/content/Chat/views/ChatFileItem/ChatFileItemView.scss +184 -0
- package/content/Chat/views/ChatFileItem/index.d.ts +2 -0
- package/content/Chat/views/ChatFileItem/index.js +7 -0
- package/content/Chat/views/ChatInput/ChatInputView.d.ts +3 -0
- package/content/Chat/views/ChatInput/ChatInputView.js +64 -0
- package/content/Chat/views/ChatInput/ChatInputView.scss +82 -0
- package/content/Chat/views/ChatInput/index.d.ts +2 -0
- package/content/Chat/views/ChatInput/index.js +7 -0
- package/content/Dashboard/DashboardItemView.d.ts +2 -0
- package/content/Dashboard/DashboardItemView.js +18 -0
- package/content/Dashboard/DashboardItemView.scss +47 -0
- package/content/DropDown/DropDownView.js +12 -12
- package/content/DropDown/DropDownView.scss +34 -175
- package/content/Icon/IconView.js +18 -2
- package/content/Kanban/KanbanView.d.ts +2 -0
- package/content/Kanban/KanbanView.js +29 -0
- package/content/Kanban/KanbanView.scss +12 -0
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.d.ts +2 -0
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.js +36 -0
- package/content/Kanban/views/KanbanColumn/KanbanColumnView.scss +75 -0
- package/content/Kanban/views/KanbanColumn/index.d.ts +2 -0
- package/content/Kanban/views/KanbanColumn/index.js +7 -0
- package/content/Kanban/views/KanbanModal/KanbanModalView.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/KanbanModalView.js +57 -0
- package/content/Kanban/views/KanbanModal/KanbanModalView.scss +210 -0
- package/content/Kanban/views/KanbanModal/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.js +95 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.d.ts +6 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.js +11 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.d.ts +8 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.js +49 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.scss +30 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.js +7 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.js +53 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/index.d.ts +2 -0
- package/content/Kanban/views/KanbanModal/views/TaskDetailsModalContent/index.js +7 -0
- package/content/Kanban/views/KanbanTask/KanbanTaskView.d.ts +5 -0
- package/content/Kanban/views/KanbanTask/KanbanTaskView.js +66 -0
- package/content/Kanban/views/KanbanTask/KanbanTaskView.scss +110 -0
- package/content/Kanban/views/KanbanTask/index.d.ts +2 -0
- package/content/Kanban/views/KanbanTask/index.js +7 -0
- package/content/Kanban/views/TaskTags/TaskTags.d.ts +9 -0
- package/content/Kanban/views/TaskTags/TaskTags.js +14 -0
- package/content/Kanban/views/TaskTags/TaskTags.scss +7 -0
- package/content/Kanban/views/TaskTags/index.d.ts +2 -0
- package/content/Kanban/views/TaskTags/index.js +7 -0
- package/content/Menu/MenuItemView.js +4 -1
- package/form/CheckboxField/CheckboxFieldView.js +5 -2
- package/form/CheckboxField/CheckboxFieldView.scss +27 -0
- package/form/CheckboxListField/CheckboxListFieldView.js +2 -1
- package/form/CheckboxTreeField/CheckboxTreeFieldView.d.ts +2 -0
- package/form/CheckboxTreeField/CheckboxTreeFieldView.js +30 -0
- package/form/CheckboxTreeField/CheckboxTreeFieldView.scss +5 -0
- package/form/CheckboxTreeField/index.d.ts +2 -0
- package/form/CheckboxTreeField/index.js +7 -0
- package/form/DateRangeField/DateRangeFieldView.js +2 -2
- package/form/DateTimeField/DateTimeFieldView.js +1 -1
- package/form/DateTimeRangeField/DateTimeRangeFieldView.js +2 -2
- package/form/DropDownField/DropDownFieldView.js +4 -3
- package/form/DropDownField/DropDownFieldView.scss +12 -2
- package/form/DropDownFieldItem/DropDownFieldItemView.js +1 -1
- package/form/Form/FormView.js +1 -0
- package/form/InputField/InputFieldView.js +2 -2
- package/form/PasswordField/PasswordFieldView.js +1 -1
- package/form/WizardForm/WizardFormView.d.ts +2 -0
- package/form/WizardForm/WizardFormView.js +33 -0
- package/form/WizardForm/WizardFormView.scss +30 -0
- package/icons/index.js +3 -0
- package/icons/svgs/add_16x16.svg +4 -0
- package/icons/svgs/done-all.svg +4 -0
- package/icons/svgs/send.svg +3 -0
- package/icons/svgs/view.svg +1 -0
- package/icons/svgs/warning_16x16.svg +2 -0
- package/index.d.ts +36 -0
- package/index.js +36 -0
- package/index.scss +15 -0
- package/layout/ProgressBar/CircleProgressBarView.js +4 -1
- package/layout/ProgressBar/LineProgressBarView.js +4 -1
- package/layout/Skeleton/SkeletonView.js +4 -1
- package/layout/Tooltip/TooltipView.js +3 -3
- package/layout/Tooltip/TooltipView.scss +10 -77
- package/list/FlexGrid/FlexGridView.scss +6 -13
- package/list/Grid/GridView.scss +8 -10
- package/list/Grid/views/TreeColumnView/TreeColumnView.d.ts +2 -0
- package/list/Grid/views/TreeColumnView/TreeColumnView.js +27 -0
- package/list/Grid/views/TreeColumnView/TreeColumnView.scss +6 -0
- package/list/Steps/StepItemView.js +21 -10
- package/list/Steps/StepItemView.scss +113 -83
- package/list/Steps/StepsView.js +4 -24
- package/list/Steps/StepsView.scss +6 -15
- package/nav/Controls/ControlsView.scss +3 -3
- package/nav/Tree/TreeView.js +3 -9
- package/nav/Tree/TreeView.scss +10 -47
- package/nav/TreeItem/TreeItemView.d.ts +2 -0
- package/nav/TreeItem/TreeItemView.js +69 -0
- package/nav/TreeItem/TreeItemView.scss +60 -0
- package/package.json +3 -3
- package/scss/bootstrap-classes/flex.scss +42 -0
- package/scss/bootstrap-classes/index.scss +4 -0
- package/scss/bootstrap-classes/layout.scss +72 -0
- package/scss/bootstrap-classes/spacing.scss +181 -0
- package/scss/bootstrap-classes/typography.scss +25 -0
- package/scss/mixins/button.scss +24 -8
- package/scss/mixins/index.scss +1 -0
- package/scss/mixins/scroll.scss +6 -0
- package/scss/mixins/tooltip.scss +113 -0
- package/scss/variables/common/colors.scss +5 -2
- package/scss/variables/common/flex.scss +5 -0
- package/scss/variables/common/typography.scss +13 -0
- package/scss/variables/index.scss +1 -0
- package/utils/getFormattedExpandLabel.d.ts +1 -0
- package/utils/getFormattedExpandLabel.js +5 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use "../../scss/variables";
|
|
2
|
+
@use '../../scss/mixins';
|
|
3
|
+
|
|
4
|
+
.WizardFormView {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-flow: column nowrap;
|
|
7
|
+
|
|
8
|
+
&__header {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-flow: column nowrap;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__title {
|
|
14
|
+
text-align: left;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__steps {
|
|
18
|
+
margin-bottom: 32px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__buttons {
|
|
22
|
+
@include mixins.svg-color(variables.$primary);
|
|
23
|
+
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-flow: row nowrap;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
margin-top: 16px;
|
|
29
|
+
}
|
|
30
|
+
}
|
package/icons/index.js
CHANGED
|
@@ -17,6 +17,7 @@ exports["default"] = (function (customIcons) {
|
|
|
17
17
|
var icons = {};
|
|
18
18
|
var steroidsIcons = [
|
|
19
19
|
'add',
|
|
20
|
+
'add_16x16',
|
|
20
21
|
'add_square',
|
|
21
22
|
'arrow_down_18x18',
|
|
22
23
|
'arrow_down_24x24',
|
|
@@ -40,6 +41,7 @@ exports["default"] = (function (customIcons) {
|
|
|
40
41
|
'cross_8x8',
|
|
41
42
|
'default_16x16',
|
|
42
43
|
'default_24x24',
|
|
44
|
+
'done-all',
|
|
43
45
|
'cut',
|
|
44
46
|
'error_16x16',
|
|
45
47
|
'error_24x24',
|
|
@@ -77,6 +79,7 @@ exports["default"] = (function (customIcons) {
|
|
|
77
79
|
'pin',
|
|
78
80
|
'sad',
|
|
79
81
|
'search',
|
|
82
|
+
'send',
|
|
80
83
|
'setting_line',
|
|
81
84
|
'share',
|
|
82
85
|
'star',
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path d="M0.999998 9.09091L3.04198 10.4986C3.45739 10.785 4.02106 10.7171 4.35652 10.3402L10 4" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.51367 10.5551L7.80269 10.784C8.44255 11.2907 9.37013 11.1928 9.89012 10.5637L15.0519 4.31856C15.2279 4.10571 15.1979 3.79054 14.9851 3.61462C14.7722 3.43869 14.4571 3.46862 14.2811 3.68147L9.11932 9.92663C8.94599 10.1363 8.6368 10.169 8.42351 10.0001L8.17965 9.80694L7.51367 10.5551Z" fill="white"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<path d="M6.99811 10.2467L7.43298 11.0077C7.70983 11.4922 7.84825 11.7344 7.84825 12C7.84825 12.2656 7.70983 12.5078 7.43299 12.9923L7.43298 12.9923L6.99811 13.7533C5.75981 15.9203 5.14066 17.0039 5.62348 17.5412C6.1063 18.0785 7.24961 17.5783 9.53623 16.5779L15.8119 13.8323C17.6074 13.0468 18.5051 12.654 18.5051 12C18.5051 11.346 17.6074 10.9532 15.8119 10.1677L9.53624 7.4221C7.24962 6.42171 6.1063 5.92151 5.62348 6.45883C5.14066 6.99615 5.75981 8.07966 6.99811 10.2467Z" stroke="#323232"/>
|
|
3
|
+
</svg>
|
package/icons/svgs/view.svg
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
3
|
<circle cx="12" cy="12.4492" r="3.5" stroke="#323232"/>
|
|
3
4
|
<path d="M20.188 11.3834C20.5762 11.8547 20.7703 12.0904 20.7703 12.4492C20.7703 12.808 20.5762 13.0436 20.188 13.5149C18.7679 15.239 15.6357 18.4492 12 18.4492C8.36427 18.4492 5.23206 15.239 3.81197 13.5149C3.42381 13.0436 3.22973 12.808 3.22973 12.4492C3.22973 12.0904 3.42381 11.8547 3.81197 11.3834C5.23206 9.6593 8.36427 6.44916 12 6.44916C15.6357 6.44916 18.7679 9.6593 20.188 11.3834Z" stroke="#323232"/>
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
1
3
|
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
4
|
<path d="M10.2679 5.86768C11.0377 4.53434 12.9623 4.53434 13.7321 5.86768L18.9282 14.8677C19.698 16.201 18.7358 17.8677 17.1962 17.8677H6.80385C5.26425 17.8677 4.302 16.201 5.0718 14.8677L10.2679 5.86768Z" fill="#FFE457"/>
|
|
3
5
|
<circle cx="12" cy="14.8687" r="0.5" fill="white"/>
|
package/index.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ declare const _default: {
|
|
|
23
23
|
'content.CalendarView': {
|
|
24
24
|
lazy: () => any;
|
|
25
25
|
};
|
|
26
|
+
'content.DashboardItemView': {
|
|
27
|
+
lazy: () => any;
|
|
28
|
+
};
|
|
26
29
|
'content.DetailView': {
|
|
27
30
|
lazy: () => any;
|
|
28
31
|
};
|
|
@@ -41,6 +44,27 @@ declare const _default: {
|
|
|
41
44
|
'content.SliderView': {
|
|
42
45
|
lazy: () => any;
|
|
43
46
|
};
|
|
47
|
+
'content.KanbanView': {
|
|
48
|
+
lazy: () => any;
|
|
49
|
+
};
|
|
50
|
+
'content.KanbanColumnView': {
|
|
51
|
+
lazy: () => any;
|
|
52
|
+
};
|
|
53
|
+
'content.KanbanTaskView': {
|
|
54
|
+
lazy: () => any;
|
|
55
|
+
};
|
|
56
|
+
'content.KanbanModalView': {
|
|
57
|
+
lazy: () => any;
|
|
58
|
+
};
|
|
59
|
+
'content.CalendarSystemView': {
|
|
60
|
+
lazy: () => any;
|
|
61
|
+
};
|
|
62
|
+
'content.ChatView': {
|
|
63
|
+
lazy: () => any;
|
|
64
|
+
};
|
|
65
|
+
'content.ChatInputView': {
|
|
66
|
+
lazy: () => any;
|
|
67
|
+
};
|
|
44
68
|
'form.AutoCompleteFieldView': {
|
|
45
69
|
lazy: () => any;
|
|
46
70
|
};
|
|
@@ -62,6 +86,9 @@ declare const _default: {
|
|
|
62
86
|
'form.CheckboxListFieldView': {
|
|
63
87
|
lazy: () => any;
|
|
64
88
|
};
|
|
89
|
+
'form.CheckboxTreeFieldView': {
|
|
90
|
+
lazy: () => any;
|
|
91
|
+
};
|
|
65
92
|
'form.DateFieldView': {
|
|
66
93
|
lazy: () => any;
|
|
67
94
|
};
|
|
@@ -98,6 +125,9 @@ declare const _default: {
|
|
|
98
125
|
'form.FormView': {
|
|
99
126
|
lazy: () => any;
|
|
100
127
|
};
|
|
128
|
+
'form.WizardFormView': {
|
|
129
|
+
lazy: () => any;
|
|
130
|
+
};
|
|
101
131
|
'form.HtmlFieldView': {
|
|
102
132
|
lazy: () => any;
|
|
103
133
|
};
|
|
@@ -194,6 +224,9 @@ declare const _default: {
|
|
|
194
224
|
'list.DiagramColumnView': {
|
|
195
225
|
lazy: () => any;
|
|
196
226
|
};
|
|
227
|
+
'list.TreeColumnView': {
|
|
228
|
+
lazy: () => any;
|
|
229
|
+
};
|
|
197
230
|
'list.ListView': {
|
|
198
231
|
lazy: () => any;
|
|
199
232
|
};
|
|
@@ -248,6 +281,9 @@ declare const _default: {
|
|
|
248
281
|
'nav.TreeView': {
|
|
249
282
|
lazy: () => any;
|
|
250
283
|
};
|
|
284
|
+
'nav.TreeItemView': {
|
|
285
|
+
lazy: () => any;
|
|
286
|
+
};
|
|
251
287
|
'nav.ButtonGroupView': {
|
|
252
288
|
lazy: () => any;
|
|
253
289
|
};
|
package/index.js
CHANGED
|
@@ -26,6 +26,9 @@ exports["default"] = {
|
|
|
26
26
|
'content.CalendarView': {
|
|
27
27
|
lazy: function () { return require('./content/Calendar/CalendarView')["default"]; }
|
|
28
28
|
},
|
|
29
|
+
'content.DashboardItemView': {
|
|
30
|
+
lazy: function () { return require('./content/Dashboard/DashboardItemView')["default"]; }
|
|
31
|
+
},
|
|
29
32
|
'content.DetailView': {
|
|
30
33
|
lazy: function () { return require('./content/Detail/DetailView')["default"]; }
|
|
31
34
|
},
|
|
@@ -44,6 +47,27 @@ exports["default"] = {
|
|
|
44
47
|
'content.SliderView': {
|
|
45
48
|
lazy: function () { return require('./content/Slider/SliderView')["default"]; }
|
|
46
49
|
},
|
|
50
|
+
'content.KanbanView': {
|
|
51
|
+
lazy: function () { return require('./content/Kanban/KanbanView')["default"]; }
|
|
52
|
+
},
|
|
53
|
+
'content.KanbanColumnView': {
|
|
54
|
+
lazy: function () { return require('./content/Kanban/views/KanbanColumn/KanbanColumnView')["default"]; }
|
|
55
|
+
},
|
|
56
|
+
'content.KanbanTaskView': {
|
|
57
|
+
lazy: function () { return require('./content/Kanban/views/KanbanTask/KanbanTaskView')["default"]; }
|
|
58
|
+
},
|
|
59
|
+
'content.KanbanModalView': {
|
|
60
|
+
lazy: function () { return require('./content/Kanban/views/KanbanModal/KanbanModalView')["default"]; }
|
|
61
|
+
},
|
|
62
|
+
'content.CalendarSystemView': {
|
|
63
|
+
lazy: function () { return require('./content/CalendarSystem/CalendarSystemView')["default"]; }
|
|
64
|
+
},
|
|
65
|
+
'content.ChatView': {
|
|
66
|
+
lazy: function () { return require('./content/Chat/ChatView')["default"]; }
|
|
67
|
+
},
|
|
68
|
+
'content.ChatInputView': {
|
|
69
|
+
lazy: function () { return require('./content/Chat/views/ChatInput/ChatInputView')["default"]; }
|
|
70
|
+
},
|
|
47
71
|
'form.AutoCompleteFieldView': {
|
|
48
72
|
lazy: function () { return require('./form/AutoCompleteField/AutoCompleteFieldView')["default"]; }
|
|
49
73
|
},
|
|
@@ -65,6 +89,9 @@ exports["default"] = {
|
|
|
65
89
|
'form.CheckboxListFieldView': {
|
|
66
90
|
lazy: function () { return require('./form/CheckboxListField/CheckboxListFieldView')["default"]; }
|
|
67
91
|
},
|
|
92
|
+
'form.CheckboxTreeFieldView': {
|
|
93
|
+
lazy: function () { return require('./form/CheckboxTreeField/CheckboxTreeFieldView')["default"]; }
|
|
94
|
+
},
|
|
68
95
|
'form.DateFieldView': {
|
|
69
96
|
lazy: function () { return require('./form/DateField/DateFieldView')["default"]; }
|
|
70
97
|
},
|
|
@@ -101,6 +128,9 @@ exports["default"] = {
|
|
|
101
128
|
'form.FormView': {
|
|
102
129
|
lazy: function () { return require('./form/Form/FormView')["default"]; }
|
|
103
130
|
},
|
|
131
|
+
'form.WizardFormView': {
|
|
132
|
+
lazy: function () { return require('./form/WizardForm/WizardFormView')["default"]; }
|
|
133
|
+
},
|
|
104
134
|
'form.HtmlFieldView': {
|
|
105
135
|
lazy: function () { return require('./form/HtmlField/HtmlFieldView')["default"]; }
|
|
106
136
|
},
|
|
@@ -197,6 +227,9 @@ exports["default"] = {
|
|
|
197
227
|
'list.DiagramColumnView': {
|
|
198
228
|
lazy: function () { return require('./list/Grid/views/DiagramColumnView/DiagramColumnView')["default"]; }
|
|
199
229
|
},
|
|
230
|
+
'list.TreeColumnView': {
|
|
231
|
+
lazy: function () { return require('./list/Grid/views/TreeColumnView/TreeColumnView')["default"]; }
|
|
232
|
+
},
|
|
200
233
|
'list.ListView': {
|
|
201
234
|
lazy: function () { return require('./list/List/ListView')["default"]; }
|
|
202
235
|
},
|
|
@@ -251,6 +284,9 @@ exports["default"] = {
|
|
|
251
284
|
'nav.TreeView': {
|
|
252
285
|
lazy: function () { return require('./nav/Tree/TreeView')["default"]; }
|
|
253
286
|
},
|
|
287
|
+
'nav.TreeItemView': {
|
|
288
|
+
lazy: function () { return require('./nav/TreeItem/TreeItemView')["default"]; }
|
|
289
|
+
},
|
|
254
290
|
'nav.ButtonGroupView': {
|
|
255
291
|
lazy: function () { return require('./nav/ButtonGroup/ButtonGroupView')["default"]; }
|
|
256
292
|
},
|
package/index.scss
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@include meta.load-css('scss/variables');
|
|
6
6
|
@include meta.load-css('scss/mixins');
|
|
7
7
|
@include meta.load-css('scss/fonts');
|
|
8
|
+
@include meta.load-css('scss/bootstrap-classes');
|
|
8
9
|
|
|
9
10
|
@include meta.load-css('content/Accordion/AccordionView');
|
|
10
11
|
@include meta.load-css('content/Accordion/AccordionItemView');
|
|
@@ -14,7 +15,11 @@
|
|
|
14
15
|
@include meta.load-css('content/Badge/BadgeView');
|
|
15
16
|
@include meta.load-css('content/Calendar/CalendarView');
|
|
16
17
|
@include meta.load-css('content/Calendar/CaptionElement');
|
|
18
|
+
@include meta.load-css('content/CalendarSystem/CalendarSystemView');
|
|
19
|
+
@include meta.load-css('content/CalendarSystem/CalendarSystemModalView');
|
|
20
|
+
@include meta.load-css('content/CalendarSystem/CalendarSystemEventGroupModalView');
|
|
17
21
|
@include meta.load-css('content/Card/CardView');
|
|
22
|
+
@include meta.load-css('content/Dashboard/DashboardItemView');
|
|
18
23
|
@include meta.load-css('content/Detail/DetailView');
|
|
19
24
|
@include meta.load-css('content/DropDown/DropDownView');
|
|
20
25
|
@include meta.load-css('content/Menu/MenuItemView');
|
|
@@ -22,11 +27,18 @@
|
|
|
22
27
|
@include meta.load-css('content/Icon/IconView');
|
|
23
28
|
@include meta.load-css('content/Slider/SliderView');
|
|
24
29
|
@include meta.load-css('content/CopyToClipboard/CopyToClipboardView');
|
|
30
|
+
@include meta.load-css('content/Kanban/KanbanView');
|
|
31
|
+
@include meta.load-css('content/Kanban/views/KanbanColumn/KanbanColumnView');
|
|
32
|
+
@include meta.load-css('content/Kanban/views/KanbanTask/KanbanTaskView');
|
|
33
|
+
@include meta.load-css('content/Kanban/views/KanbanModal/KanbanModalView');
|
|
34
|
+
@include meta.load-css('content/Chat/ChatView');
|
|
35
|
+
@include meta.load-css('content/Chat/views/ChatInput/ChatInputView');
|
|
25
36
|
@include meta.load-css('crud/Crud/CrudView');
|
|
26
37
|
@include meta.load-css('form/AutoCompleteField/AutoCompleteFieldView');
|
|
27
38
|
@include meta.load-css('form/Button/ButtonView');
|
|
28
39
|
@include meta.load-css('form/CheckboxField/CheckboxFieldView');
|
|
29
40
|
@include meta.load-css('form/CheckboxListField/CheckboxListFieldView');
|
|
41
|
+
@include meta.load-css('form/CheckboxTreeField/CheckboxTreeFieldView');
|
|
30
42
|
@include meta.load-css('form/DateField/DateFieldView');
|
|
31
43
|
@include meta.load-css('form/DateRangeField/DateRangeFieldView');
|
|
32
44
|
@include meta.load-css('form/DateTimeField/DateTimeFieldView');
|
|
@@ -42,6 +54,7 @@
|
|
|
42
54
|
@include meta.load-css('form/FileField/FileFieldItemView');
|
|
43
55
|
@include meta.load-css('form/FieldSet/FieldSetView');
|
|
44
56
|
@include meta.load-css('form/Form/FormView');
|
|
57
|
+
@include meta.load-css('form/WizardForm/WizardFormView');
|
|
45
58
|
@include meta.load-css('form/HtmlField/HtmlFieldView');
|
|
46
59
|
@include meta.load-css('form/InputField/InputFieldView');
|
|
47
60
|
@include meta.load-css('form/NumberField/NumberFieldView');
|
|
@@ -71,6 +84,7 @@
|
|
|
71
84
|
@include meta.load-css('list/FlexGrid/FlexGridView');
|
|
72
85
|
@include meta.load-css('list/List/ListView');
|
|
73
86
|
@include meta.load-css('list/Grid/views/ContentColumnView/ContentColumnView');
|
|
87
|
+
@include meta.load-css('list/Grid/views/TreeColumnView/TreeColumnView');
|
|
74
88
|
@include meta.load-css('list/Pagination/PaginationButtonView');
|
|
75
89
|
@include meta.load-css('list/Pagination/PaginationMoreView');
|
|
76
90
|
@include meta.load-css('list/PaginationSize/PaginationSizeView');
|
|
@@ -86,6 +100,7 @@
|
|
|
86
100
|
@include meta.load-css('nav/Nav/NavListView');
|
|
87
101
|
@include meta.load-css('nav/Nav/NavTabsView');
|
|
88
102
|
@include meta.load-css('nav/Tree/TreeView');
|
|
103
|
+
@include meta.load-css('nav/TreeItem/TreeItemView');
|
|
89
104
|
@include meta.load-css('nav/ButtonGroup/ButtonGroupView');
|
|
90
105
|
@include meta.load-css('typography/Text/TextView');
|
|
91
106
|
@include meta.load-css('typography/Title/TitleView');
|
|
@@ -33,7 +33,10 @@ function CircleProgressBarView(props) {
|
|
|
33
33
|
small: { radius: 32 }
|
|
34
34
|
};
|
|
35
35
|
var getCircumference = function () { return 2 * Math.PI * size[props.size].radius; };
|
|
36
|
-
return (React.createElement("div", { className: bem.block({
|
|
36
|
+
return (React.createElement("div", { className: bem.block({
|
|
37
|
+
size: props.size,
|
|
38
|
+
status: props.status
|
|
39
|
+
}) },
|
|
37
40
|
React.createElement("svg", null,
|
|
38
41
|
React.createElement("g", { className: bem.element('circles') },
|
|
39
42
|
React.createElement("circle", { className: bem.element('emptyCircle'), style: { strokeDasharray: getCircumference() } }),
|
|
@@ -27,7 +27,10 @@ var React = __importStar(require("react"));
|
|
|
27
27
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
28
28
|
function LineProgressBarView(props) {
|
|
29
29
|
var bem = (0, hooks_1.useBem)('LineProgressBarView');
|
|
30
|
-
return (React.createElement("div", { className: bem.block({
|
|
30
|
+
return (React.createElement("div", { className: bem.block({
|
|
31
|
+
size: props.size,
|
|
32
|
+
status: props.status
|
|
33
|
+
}) },
|
|
31
34
|
React.createElement("div", { className: bem.element('emptyLine') },
|
|
32
35
|
React.createElement("div", { className: bem.element('progressLine'), style: { width: "".concat(props.percent, "%") } })),
|
|
33
36
|
React.createElement("div", { className: bem.element('text') }, props.label)));
|
|
@@ -30,6 +30,9 @@ function SkeletonView(props) {
|
|
|
30
30
|
return (React.createElement("span", { className: bem(props.className, bem.block({
|
|
31
31
|
type: props.children ? null : props.type,
|
|
32
32
|
animation: props.animation
|
|
33
|
-
})), style: {
|
|
33
|
+
})), style: {
|
|
34
|
+
height: props.height,
|
|
35
|
+
width: props.width
|
|
36
|
+
} }, props.children));
|
|
34
37
|
}
|
|
35
38
|
exports["default"] = SkeletonView;
|
|
@@ -27,16 +27,16 @@ var React = __importStar(require("react"));
|
|
|
27
27
|
var react_1 = require("react");
|
|
28
28
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
29
29
|
function TooltipView(props) {
|
|
30
|
+
var bem = (0, hooks_1.useBem)('TooltipView');
|
|
30
31
|
var tooltipRef = (0, react_1.useRef)(null);
|
|
31
32
|
var arrowRef = (0, react_1.useRef)(null);
|
|
32
33
|
(0, react_1.useEffect)(function () {
|
|
33
34
|
props.calculatePosition(tooltipRef.current.getBoundingClientRect(), arrowRef.current.getBoundingClientRect());
|
|
34
35
|
}, [props.calculatePosition]);
|
|
35
|
-
|
|
36
|
-
return (React.createElement("div", { ref: tooltipRef, className: bem.block({
|
|
36
|
+
return (React.createElement("div", { ref: tooltipRef, className: bem(bem.block({
|
|
37
37
|
show: props.isTooltipVisible,
|
|
38
38
|
position: props.position
|
|
39
|
-
}), style: props.style },
|
|
39
|
+
}), props.className), style: props.style },
|
|
40
40
|
React.createElement("div", { ref: arrowRef, className: bem.element('arrow', { position: props.position }), style: props.arrowPosition }),
|
|
41
41
|
React.createElement("div", { className: bem.element('content') },
|
|
42
42
|
React.createElement("span", null, props.content))));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
2
|
@use "../../scss/variables";
|
|
3
|
+
@use '../../scss/mixins';
|
|
3
4
|
|
|
4
5
|
$tooltip-arrow-width: 10px;
|
|
5
6
|
$tooltip-arrow-height: 10px;
|
|
@@ -17,6 +18,7 @@ $tooltip-background-color: rgba(65, 65, 65, 0.95);
|
|
|
17
18
|
top: 0;
|
|
18
19
|
left: 0;
|
|
19
20
|
max-width: 300px;
|
|
21
|
+
width: fit-content;
|
|
20
22
|
word-break: break-all;
|
|
21
23
|
padding: 8px 12px;
|
|
22
24
|
border-radius: 6px;
|
|
@@ -31,27 +33,11 @@ $tooltip-background-color: rgba(65, 65, 65, 0.95);
|
|
|
31
33
|
opacity: 1;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
|
-
|
|
35
|
-
&_top, &_topLeft, &_topRight {
|
|
36
|
-
transform: translateY(-$tooltip-gap);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&_bottom, &_bottomLeft, &_bottomRight {
|
|
40
|
-
transform: translateY($tooltip-gap);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&_left, &_leftTop, &_leftBottom {
|
|
44
|
-
transform: translateX(-$tooltip-gap);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&_right, &_rightTop, &_rightBottom {
|
|
48
|
-
transform: translateX($tooltip-gap);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
36
|
+
@include mixins.absolute-position($tooltip-gap);
|
|
51
37
|
|
|
52
38
|
&__arrow{
|
|
53
39
|
position: absolute;
|
|
54
|
-
|
|
40
|
+
|
|
55
41
|
width: $tooltip-arrow-width;
|
|
56
42
|
height: $tooltip-arrow-height;
|
|
57
43
|
|
|
@@ -60,65 +46,12 @@ $tooltip-background-color: rgba(65, 65, 65, 0.95);
|
|
|
60
46
|
border-color: $tooltip-background-color;
|
|
61
47
|
box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
|
|
62
48
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
&_position_topLeft{
|
|
71
|
-
left: $tooltip-arrow-offset-horizontal;
|
|
72
|
-
}
|
|
73
|
-
&_position_topRight{
|
|
74
|
-
left: unset;
|
|
75
|
-
right: $tooltip-arrow-offset-horizontal;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&_position_bottom, &_position_bottomLeft, &_position_bottomRight{
|
|
79
|
-
top: -$tooltip-arrow-border;
|
|
80
|
-
left: 50%;
|
|
81
|
-
border-right-color: transparent;
|
|
82
|
-
border-bottom-color: transparent;
|
|
83
|
-
transform: translateX(-50%) rotate(45deg);
|
|
84
|
-
}
|
|
85
|
-
&_position_bottomLeft{
|
|
86
|
-
left: $tooltip-arrow-offset-horizontal;
|
|
87
|
-
}
|
|
88
|
-
&_position_bottomRight{
|
|
89
|
-
left: unset;
|
|
90
|
-
right: $tooltip-arrow-offset-horizontal;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&_position_left, &_position_leftTop, &_position_leftBottom{
|
|
94
|
-
right: -$tooltip-arrow-border;
|
|
95
|
-
top: 50%;
|
|
96
|
-
border-left-color: transparent;
|
|
97
|
-
border-bottom-color: transparent;
|
|
98
|
-
transform: translateY(-50%) rotate(45deg);
|
|
99
|
-
}
|
|
100
|
-
&_position_leftTop{
|
|
101
|
-
top: $tooltip-arrow-offset-vertical-top;
|
|
102
|
-
}
|
|
103
|
-
&_position_leftBottom{
|
|
104
|
-
top: unset;
|
|
105
|
-
bottom: $tooltip-arrow-offset-vertical-bottom;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&_position_right, &_position_rightTop, &_position_rightBottom{
|
|
109
|
-
left: -$tooltip-arrow-border;
|
|
110
|
-
top: 50%;
|
|
111
|
-
border-top-color: transparent;
|
|
112
|
-
border-right-color: transparent;
|
|
113
|
-
transform: translateY(-50%) rotate(45deg);
|
|
114
|
-
}
|
|
115
|
-
&_position_rightTop{
|
|
116
|
-
top: $tooltip-arrow-offset-vertical-top;
|
|
117
|
-
}
|
|
118
|
-
&_position_rightBottom{
|
|
119
|
-
top: unset;
|
|
120
|
-
bottom: $tooltip-arrow-offset-vertical-bottom;
|
|
121
|
-
}
|
|
49
|
+
@include mixins.arrow-position(
|
|
50
|
+
$tooltip-arrow-border,
|
|
51
|
+
$tooltip-arrow-offset-horizontal,
|
|
52
|
+
$tooltip-arrow-offset-vertical-top,
|
|
53
|
+
$tooltip-arrow-offset-vertical-bottom
|
|
54
|
+
);
|
|
122
55
|
}
|
|
123
56
|
|
|
124
57
|
&__content{
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
@use "../../scss/variables";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
$justifyValues: center, end, start, stretch, flex-start, flex-end, left, right, space-between, space-around, space-evenly;
|
|
5
|
-
$alignValues: center, end, start, stretch, flex-start, flex-end;
|
|
6
|
-
$directionValues: column-reverse column row-reverse row;
|
|
7
|
-
$colValues: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12;
|
|
8
|
-
$colMaxValue: 12;
|
|
9
|
-
|
|
10
3
|
@mixin col($className, $root, $property: flex-basis) {
|
|
11
|
-
@each $colValue in
|
|
4
|
+
@each $colValue in variables.$colValues {
|
|
12
5
|
&_#{$className}_#{$colValue} {
|
|
13
|
-
#{$property}: calc((100% /
|
|
6
|
+
#{$property}: calc((100% / variables.$colMaxValue) * $colValue);
|
|
14
7
|
}
|
|
15
8
|
}
|
|
16
9
|
}
|
|
@@ -25,19 +18,19 @@ $colMaxValue: 12;
|
|
|
25
18
|
flex-wrap: wrap;
|
|
26
19
|
}
|
|
27
20
|
|
|
28
|
-
@each $alignValue in
|
|
21
|
+
@each $alignValue in variables.$alignValues {
|
|
29
22
|
&_align_#{$alignValue} {
|
|
30
23
|
align-items: $alignValue;
|
|
31
24
|
}
|
|
32
25
|
}
|
|
33
26
|
|
|
34
|
-
@each $justifyValue in
|
|
27
|
+
@each $justifyValue in variables.$justifyValues {
|
|
35
28
|
&_justify_#{$justifyValue} {
|
|
36
29
|
justify-content: $justifyValue;
|
|
37
30
|
}
|
|
38
31
|
}
|
|
39
32
|
|
|
40
|
-
@each $directionValue in
|
|
33
|
+
@each $directionValue in variables.$directionValues {
|
|
41
34
|
&_direction_#{$directionValue} {
|
|
42
35
|
flex-direction: $directionValue;
|
|
43
36
|
}
|
|
@@ -57,4 +50,4 @@ $colMaxValue: 12;
|
|
|
57
50
|
@include col(sm, $root);
|
|
58
51
|
}
|
|
59
52
|
}
|
|
60
|
-
}
|
|
53
|
+
}
|
package/list/Grid/GridView.scss
CHANGED
|
@@ -23,7 +23,6 @@ $grid-td-background-color: var(--grid-td-background-color);
|
|
|
23
23
|
$grid-td-alternating-color: var(--grid-td-alternating-color);
|
|
24
24
|
|
|
25
25
|
.GridView {
|
|
26
|
-
overflow-x: auto;
|
|
27
26
|
$root: &;
|
|
28
27
|
|
|
29
28
|
text-align: left;
|
|
@@ -32,7 +31,6 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
|
|
|
32
31
|
|
|
33
32
|
&__table {
|
|
34
33
|
width: 100%;
|
|
35
|
-
border: none;
|
|
36
34
|
border-spacing: 0;
|
|
37
35
|
border-collapse: separate;
|
|
38
36
|
border: 1px solid $grid-border-color;
|
|
@@ -83,7 +81,7 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
|
|
|
83
81
|
}
|
|
84
82
|
|
|
85
83
|
&_alternatingColors{
|
|
86
|
-
#{$root}__table tbody tr:nth-child(even) td {
|
|
84
|
+
#{$root}__table tbody tr:nth-child(even) td {
|
|
87
85
|
background-color: $grid-td-alternating-color;
|
|
88
86
|
}
|
|
89
87
|
}
|
|
@@ -129,7 +127,7 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
|
|
|
129
127
|
|
|
130
128
|
&__column {
|
|
131
129
|
|
|
132
|
-
.IconView {
|
|
130
|
+
.IconView {
|
|
133
131
|
display: inline-block;
|
|
134
132
|
width: 24px;
|
|
135
133
|
height: 24px;
|
|
@@ -140,16 +138,16 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
|
|
|
140
138
|
}
|
|
141
139
|
}
|
|
142
140
|
|
|
143
|
-
&_hasIcon {
|
|
144
|
-
display: flex;
|
|
141
|
+
&_hasIcon {
|
|
142
|
+
display: flex;
|
|
145
143
|
flex-flow: row nowrap;
|
|
146
144
|
align-items: center;
|
|
147
145
|
|
|
148
|
-
.IconView {
|
|
149
|
-
margin-left: 8px;
|
|
146
|
+
.IconView {
|
|
147
|
+
margin-left: 8px;
|
|
150
148
|
}
|
|
151
149
|
|
|
152
|
-
&-left {
|
|
150
|
+
&-left {
|
|
153
151
|
span {
|
|
154
152
|
&:nth-child(1) {
|
|
155
153
|
order: 2;
|
|
@@ -160,7 +158,7 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
|
|
|
160
158
|
}
|
|
161
159
|
}
|
|
162
160
|
|
|
163
|
-
.IconView {
|
|
161
|
+
.IconView {
|
|
164
162
|
margin-left: 0;
|
|
165
163
|
margin-right: 8px;
|
|
166
164
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
exports.__esModule = true;
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
19
|
+
var Format_1 = __importDefault(require("@steroidsjs/core/ui/format/Format"));
|
|
20
|
+
var TreeItemView_1 = __importDefault(require("../../../../nav/TreeItem/TreeItemView"));
|
|
21
|
+
function TreeColumnView(props) {
|
|
22
|
+
var bem = (0, hooks_1.useBem)('TreeColumnView');
|
|
23
|
+
var renderFormat = function () { return (react_1["default"].createElement(Format_1["default"], __assign({}, props, (props.formatter || {}), { attribute: props.attribute }))); };
|
|
24
|
+
var renderValue = function () { return (react_1["default"].createElement("span", { className: bem.element('value') }, renderFormat())); };
|
|
25
|
+
return (react_1["default"].createElement(TreeItemView_1["default"], { item: props.item, levelPadding: props.levelPadding }, renderValue()));
|
|
26
|
+
}
|
|
27
|
+
exports["default"] = TreeColumnView;
|