@truedat/core 6.13.4 → 6.13.6
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/package.json +2 -2
- package/src/components/index.js +0 -2
- package/src/i18n/components/LangProvider.js +4 -13
- package/src/messages/en.js +0 -1
- package/src/messages/es.js +1 -1
- package/src/services/axios.js +14 -0
- package/src/services/graphql.js +13 -1
- package/src/services/i18n.js +15 -0
- package/src/components/BranchViewer.js +0 -289
- package/src/components/LocalCustomSearch.js +0 -58
- package/src/components/LocalSearchInput.js +0 -67
- package/src/components/__tests__/BranchViewer.spec.js +0 -220
- package/src/components/__tests__/LocalCustomSearch.spec.js +0 -209
- package/src/components/__tests__/LocalSearchInput.spec.js +0 -203
- package/src/components/__tests__/__snapshots__/BranchViewer.spec.js.snap +0 -149
- package/src/components/__tests__/__snapshots__/LocalSearchInput.spec.js.snap +0 -30
- package/src/styles/BranchViewer.less +0 -16
- package/src/styles/LocalSearchInput.less +0 -7
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`BranchViewer matches the latest snapshot 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="ui segment"
|
|
7
|
-
style="overflow: auto;"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
class="ui grid"
|
|
11
|
-
>
|
|
12
|
-
<div
|
|
13
|
-
class="row"
|
|
14
|
-
>
|
|
15
|
-
<div
|
|
16
|
-
class="sixteen wide column"
|
|
17
|
-
>
|
|
18
|
-
<div
|
|
19
|
-
class="ui icon input searchbox"
|
|
20
|
-
>
|
|
21
|
-
<input
|
|
22
|
-
placeholder="searchbox_placeholder"
|
|
23
|
-
type="text"
|
|
24
|
-
value=""
|
|
25
|
-
/>
|
|
26
|
-
<i
|
|
27
|
-
aria-hidden="true"
|
|
28
|
-
class="search link icon"
|
|
29
|
-
/>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
<div
|
|
34
|
-
class="row"
|
|
35
|
-
>
|
|
36
|
-
<div
|
|
37
|
-
class="sixteen wide column"
|
|
38
|
-
>
|
|
39
|
-
<div
|
|
40
|
-
class="column"
|
|
41
|
-
>
|
|
42
|
-
<div
|
|
43
|
-
class="row"
|
|
44
|
-
>
|
|
45
|
-
<ul
|
|
46
|
-
style="list-style-type: none; padding: 0px;"
|
|
47
|
-
>
|
|
48
|
-
<li>
|
|
49
|
-
<div
|
|
50
|
-
style="display: flex; flex-direction: row; align-items: self-start;"
|
|
51
|
-
>
|
|
52
|
-
<div
|
|
53
|
-
class="ui disabled left labeled input hierarchyNode"
|
|
54
|
-
>
|
|
55
|
-
<input
|
|
56
|
-
class=" "
|
|
57
|
-
disabled=""
|
|
58
|
-
tabindex="-1"
|
|
59
|
-
type="text"
|
|
60
|
-
value="element_1"
|
|
61
|
-
/>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
</li>
|
|
65
|
-
</ul>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
<div
|
|
69
|
-
class="column"
|
|
70
|
-
>
|
|
71
|
-
<div
|
|
72
|
-
class="row"
|
|
73
|
-
>
|
|
74
|
-
<ul
|
|
75
|
-
style="list-style-type: none; padding: 0px;"
|
|
76
|
-
>
|
|
77
|
-
<li>
|
|
78
|
-
<div
|
|
79
|
-
style="display: flex; flex-direction: row; align-items: self-start;"
|
|
80
|
-
>
|
|
81
|
-
<div
|
|
82
|
-
class="ui disabled left labeled input hierarchyNode"
|
|
83
|
-
>
|
|
84
|
-
<div
|
|
85
|
-
class="ui basic label"
|
|
86
|
-
style="cursor: pointer;"
|
|
87
|
-
>
|
|
88
|
-
<i
|
|
89
|
-
aria-hidden="true"
|
|
90
|
-
class="circle fitted icon"
|
|
91
|
-
/>
|
|
92
|
-
</div>
|
|
93
|
-
<input
|
|
94
|
-
class=" "
|
|
95
|
-
disabled=""
|
|
96
|
-
tabindex="-1"
|
|
97
|
-
type="text"
|
|
98
|
-
value="element_2"
|
|
99
|
-
/>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
</li>
|
|
103
|
-
</ul>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
<div
|
|
107
|
-
class="column"
|
|
108
|
-
>
|
|
109
|
-
<div
|
|
110
|
-
class="row"
|
|
111
|
-
>
|
|
112
|
-
<ul
|
|
113
|
-
style="list-style-type: none; padding: 0px;"
|
|
114
|
-
>
|
|
115
|
-
<li>
|
|
116
|
-
<div
|
|
117
|
-
style="display: flex; flex-direction: row; align-items: self-start;"
|
|
118
|
-
>
|
|
119
|
-
<div
|
|
120
|
-
class="ui disabled left labeled input hierarchyNode"
|
|
121
|
-
>
|
|
122
|
-
<div
|
|
123
|
-
class="ui basic label"
|
|
124
|
-
style="cursor: pointer;"
|
|
125
|
-
>
|
|
126
|
-
<i
|
|
127
|
-
aria-hidden="true"
|
|
128
|
-
class="circle fitted icon"
|
|
129
|
-
/>
|
|
130
|
-
</div>
|
|
131
|
-
<input
|
|
132
|
-
class=" "
|
|
133
|
-
disabled=""
|
|
134
|
-
tabindex="-1"
|
|
135
|
-
type="text"
|
|
136
|
-
value="element_5"
|
|
137
|
-
/>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
</li>
|
|
141
|
-
</ul>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
</div>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
`;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`LocalSearchInput matches the latest snapshot 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="ui icon input searchbox"
|
|
7
|
-
>
|
|
8
|
-
<input
|
|
9
|
-
placeholder="searchbox_placeholder"
|
|
10
|
-
type="text"
|
|
11
|
-
value=""
|
|
12
|
-
/>
|
|
13
|
-
<i
|
|
14
|
-
aria-hidden="true"
|
|
15
|
-
class="search link icon"
|
|
16
|
-
/>
|
|
17
|
-
</div>
|
|
18
|
-
<h4
|
|
19
|
-
class="ui header"
|
|
20
|
-
>
|
|
21
|
-
<i
|
|
22
|
-
aria-hidden="true"
|
|
23
|
-
class="search icon"
|
|
24
|
-
/>
|
|
25
|
-
<div
|
|
26
|
-
class="content"
|
|
27
|
-
/>
|
|
28
|
-
</h4>
|
|
29
|
-
</div>
|
|
30
|
-
`;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.brancheViewerSearchResultHeader{
|
|
3
|
-
font-size: 1rem !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.brancheViewerSearchResultMeta{
|
|
7
|
-
font-size: 0.8rem !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.selectedBranch{
|
|
11
|
-
background-color: #0d0d0d !important;
|
|
12
|
-
color: #fff !important;
|
|
13
|
-
font-weight: 1000 !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|