@vitrosoftware/common-ui-ts 1.0.0 → 1.0.2

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.
Files changed (49) hide show
  1. package/css/white/common.css +3 -0
  2. package/css/white/controls/breadcrumbs/breadcrumbs.css +178 -0
  3. package/css/white/controls/table-view/table-view.css +57 -0
  4. package/css/white/controls/top-level-menu/top-level-menu.css +89 -0
  5. package/css/white/controls/tree-view/tree-view-context-menu.css +77 -0
  6. package/css/white/controls/tree-view/tree-view.css +109 -0
  7. package/css/white/controls/uploader/uploader.css +74 -0
  8. package/css/white/third-party/jstree/32px.png +0 -0
  9. package/css/white/third-party/jstree/40px.png +0 -0
  10. package/css/white/third-party/jstree/style.min.css +1 -0
  11. package/css/white/third-party/jstree/throbber.gif +0 -0
  12. package/css/white/third-party/kendo.css +25 -0
  13. package/css/white/third-party/treegrid.css +482 -0
  14. package/dist/controls/Breadcrumbs/Breadcrumbs.d.ts +9 -0
  15. package/dist/controls/Breadcrumbs/BreadcrumbsItem.d.ts +4 -0
  16. package/dist/controls/Breadcrumbs/Item.d.ts +8 -0
  17. package/dist/controls/MicroFrontend/MicroFrontend.d.ts +8 -0
  18. package/dist/controls/MicroFrontend/MicroFrontendState.d.ts +8 -0
  19. package/dist/controls/MicroFrontend/renderMicrofrontend.d.ts +2 -0
  20. package/dist/controls/TableView/TableView.d.ts +19 -0
  21. package/dist/controls/TableView/TableViewCol.d.ts +3 -0
  22. package/dist/controls/TableView/TableViewContext.d.ts +50 -0
  23. package/dist/controls/TableView/TableViewEventHandler.d.ts +4 -0
  24. package/dist/controls/TableView/TableViewRow.d.ts +3 -0
  25. package/dist/controls/TableView/TreeGrid.d.ts +20 -0
  26. package/dist/controls/TableView/TreeGridTableViewContextImpl.d.ts +56 -0
  27. package/dist/controls/TableView/constants.d.ts +14 -0
  28. package/dist/controls/TelerikUploader/TelerikUploader.d.ts +9 -0
  29. package/dist/controls/TelerikUploader/TelerikUploaderContext.d.ts +6 -0
  30. package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +16 -0
  31. package/dist/controls/TelerikUploader/TelerikUploaderSettings.d.ts +11 -0
  32. package/dist/controls/TelerikUploader/constants.d.ts +5 -0
  33. package/dist/controls/TopLevelMenu/LinkItem.d.ts +9 -0
  34. package/dist/{control → controls}/TopLevelMenu/TopLevelMenu.d.ts +1 -7
  35. package/dist/controls/TopLevelMenu/TopLevelMenuItem.d.ts +7 -0
  36. package/dist/{control/TreeView/TreeView.d.ts → controls/TreeView/JsTreeViewContextImpl.d.ts} +9 -18
  37. package/dist/controls/TreeView/TreeView.d.ts +10 -0
  38. package/dist/{control → controls}/TreeView/TreeViewConfig.d.ts +0 -0
  39. package/dist/controls/TreeView/TreeViewContext.d.ts +22 -0
  40. package/dist/controls/TreeView/TreeViewEventHandler.d.ts +4 -0
  41. package/dist/{control → controls}/TreeView/constants.d.ts +0 -0
  42. package/dist/index.css +391 -26
  43. package/dist/index.d.ts +20 -5
  44. package/dist/index.js +7054 -34
  45. package/dist/index.js.map +1 -1
  46. package/dist/index.modern.js +7073 -50
  47. package/dist/index.modern.js.map +1 -1
  48. package/package.json +18 -18
  49. package/dist/control/Breadcrumbs/Breadcrumbs.d.ts +0 -23
@@ -0,0 +1,482 @@
1
+ .TWMain, .TWMain * {
2
+ font-size: 10pt;
3
+ font-family: "GraphikRegular";
4
+ }
5
+
6
+ .TWMenuMain {
7
+ z-index: 1000;
8
+ }
9
+
10
+ .TWVScroll {
11
+ width: 17px;
12
+ }
13
+
14
+ .TWCellHeader {
15
+ font-family: "GraphikMedium" !important;
16
+ font-weight: normal !important;
17
+ background: #fff;
18
+ }
19
+
20
+ .TWCellFilter, .TWCellFilterPanel {
21
+ background-color: #F5F6FA;
22
+ }
23
+
24
+ .TWCellBase {
25
+ color: #222d44;
26
+ }
27
+
28
+ .TWFilterRow td, .TWDataRow td {
29
+ letter-spacing: -0.24px;
30
+ }
31
+
32
+ .TWDataRow td {
33
+ padding: 1px 3px 0px 3px !important;
34
+ }
35
+
36
+ .TWNoRight.TWHeaderText, .TWNoRight .TWHeaderText {
37
+ white-space: normal;
38
+ font-weight: bold;
39
+ font-family: Arial;
40
+ }
41
+
42
+ .TWType {
43
+ padding: 6px 10px 6px 10px;
44
+ }
45
+
46
+ .vitro-table-full-width {
47
+ width: 100%
48
+ }
49
+
50
+ .GWGanttMark {
51
+ background: #fffc85 !important;
52
+ opacity: 0.4 !important;
53
+ }
54
+
55
+ .TWPageMessage, .GridMessage {
56
+ border: none !important;
57
+ box-shadow: none !important;
58
+ /* ico-preloader.svg URL-encoder for SVG */
59
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24px' height='24px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' style='margin: auto; background-image: none; display: block; shape-rendering: auto; background-position: initial initial; background-repeat: initial initial;' class='ng-star-inserted'%3E%3Cg transform='rotate(0 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.875s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(45 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.75s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(90 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.625s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(135 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.5s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(180 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.375s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(225 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.25s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(270 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.125s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(315 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='0s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3C/svg%3E");
60
+ background-repeat: no-repeat;
61
+ background-position: center 20px;
62
+ background-size: 24px 24px;
63
+ padding-top: 56px !important;
64
+ text-align: center !important;
65
+ font-family: "GraphikRegular" !important;
66
+ font-size: 10pt !important;
67
+ }
68
+
69
+ .TWMessage {
70
+ font-family: inherit;
71
+ border-radius: 8px;
72
+ border: 1px solid #e0e0e0;
73
+ font-size: inherit;
74
+ padding: 16px;
75
+ min-width: 240px;
76
+ white-space: normal;
77
+ text-align: left;
78
+ box-shadow: none;
79
+ z-index: 100000;
80
+ top: 50% !important;
81
+ }
82
+
83
+ .TWMessage .vitro-flex {
84
+ align-items: center;
85
+ font-family: "GraphikRegular";
86
+ font-size: 10pt;
87
+ }
88
+
89
+ .TWMessage .TWMessageButtons {
90
+ display: flex;
91
+ width: 100%;
92
+ padding: 0;
93
+ justify-content: flex-end;
94
+ margin: 0;
95
+ }
96
+
97
+ .TWMessage .vitro-icon-before {
98
+ /* ico-question.svg URL-encoder for SVG */
99
+ background-image: url("data:image/svg+xml,%3Csvg width='49' height='49' viewBox='0 0 49 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24.1631 44.1426C35.2088 44.1426 44.1631 35.1883 44.1631 24.1426C44.1631 13.0969 35.2088 4.14258 24.1631 4.14258C13.1174 4.14258 4.16309 13.0969 4.16309 24.1426C4.16309 35.1883 13.1174 44.1426 24.1631 44.1426Z' stroke='%23BDBDBD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M18.3428 18.1426C18.813 16.806 19.7411 15.6788 20.9627 14.9609C22.1843 14.2429 23.6206 13.9805 25.0171 14.22C26.4137 14.4596 27.6804 15.1857 28.5929 16.2697C29.5055 17.3537 30.0049 18.7257 30.0028 20.1426C30.0028 24.1426 24.0028 26.1426 24.0028 26.1426' stroke='%23BDBDBD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M24.1631 34.1426H24.1831' stroke='%23BDBDBD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
100
+ background-size: cover;
101
+ width: 32px;
102
+ height: 32px;
103
+ margin-right: 8px;
104
+ padding-right: 0;
105
+ flex-shrink: 0;
106
+ }
107
+
108
+ .TWMessage .TWMessageButtons > button, .TWLow .TWMenuButton, .TWProgressButtons > button {
109
+ height: 32px;
110
+ line-height: 32px;
111
+ background: #0097ff;
112
+ color: #fff;
113
+ width: auto;
114
+ padding: 0 12px;
115
+ min-width: 96px;
116
+ margin: 8px 0 0 8px;
117
+ border-radius: 8px;
118
+ border: none;
119
+ padding: 0 !important;
120
+ font-weight: 500;
121
+ outline: none;
122
+ font-family: GraphikRegular;
123
+ font-size: 10pt;
124
+ }
125
+
126
+ .TWMessage .TWMessageButtons > button:hover, .TWLow .TWMenuButton:hover, .TWProgressButtons > button:hover {
127
+ background: rgba(0, 151, 255, .8);
128
+ border-color: transparent;
129
+ }
130
+
131
+ .TWMessage .TWMessageButtons > button:first-child {
132
+ margin-left: 0;
133
+ }
134
+
135
+ .TWMessage .TWMessageButtons > button:last-child,
136
+ .TWMenuFoot > button:last-child,
137
+ .TWProgressButtons > button:last-child {
138
+ background: #fff;
139
+ color: #0097ff;
140
+ border: 1px solid #0097ff;
141
+ }
142
+
143
+ .TWMessage .TWMessageButtons > button:last-child:hover,
144
+ .TWMenuFoot > button:last-child:hover,
145
+ .TWProgressButtons > button:last-child {
146
+ background: #fff;
147
+ border-color: rgba(0, 151, 255, .8);
148
+ color: rgba(0, 151, 255, .8);
149
+ }
150
+
151
+ .TWMenuFoot {
152
+ text-align: right;
153
+ }
154
+
155
+ .TWTaskTemplateCheck2Left {
156
+ /* ico-tableview-checkbox-intermediate.svg URL-encoder for SVG */
157
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' preserveAspectRatio='none'%3E%3Cg%3E%3Ctitle%3ELayer 1%3C/title%3E%3Crect id='svg_1' ry='5' rx='5' height='40' width='40' y='10' x='10' stroke-width='2' stroke='%23bdbdbd' fill='%23fff'/%3E%3Cpolyline id='svg_2' points='16,28 28,38 44,20' stroke-width='6' stroke='%23fff' fill='%23FFF'/%3E%3Crect stroke-width='0' stroke-dasharray='2,2' id='svg_3' height='34.93973' width='35.54214' y='12.4217' x='12.4217' stroke='%23fff' fill='%23FFF'/%3E%3Crect stroke='%23FFF' stroke-width='5' id='svg_9' height='29.90774' width='30.83' y='14.9381' x='14.60872' fill='%23ff5b2d'/%3E%3C/g%3E%3C/svg%3E") !important;
158
+ }
159
+
160
+ .TWCheck0Left,
161
+ .TWMenuUncheckedIconLeft, .TWMenuUncheckedIconRight,
162
+ .TWBool0, .TWBool0RO {
163
+ /* ico-tableview-checkbox-empty.svg URL-encoder for SVG */
164
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Crect fill='none' stroke='%23bdbdbd' stroke-width='2' x='10' y='10' width='40' height='40' rx='5' ry='5'/%3E%3C/svg%3E") !important;
165
+ }
166
+
167
+ .TWCheck1Left,
168
+ .TWMenuCheckedIconLeft, .TWMenuCheckedIconRight,
169
+ .TWFilter1, .TWGroup1, .TWSearch1,
170
+ .TWBool1, .TWBool1RO {
171
+ /* ico-tableview-checkbox-full.svg URL-encoder for SVG */
172
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Crect fill='%23fff' stroke='%23bdbdbd' stroke-width='2' x='10' y='10' width='40' height='40' rx='5' ry='5'/%3E%3Cpolyline fill='none' stroke='%23ff5b2d' stroke-width='6' points='16,28 28,38 44,20'/%3E%3C/svg%3E") !important;
173
+ }
174
+
175
+ .TWPickEmpty {
176
+ /* ico-tableview-calendar-empty.svg URL-encoder for SVG */
177
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpath fill='%23ff5b2d' d='M45.6,14.4C37,5.9,23,5.9,14.4,14.4s-8.6,22.5,0,31.1s22.5,8.6,31.1,0S54.1,23,45.6,14.4z M38.5,41.3L30,32.8l-8.5,8.5l-2.8-2.8l8.5-8.5l-8.5-8.5l2.8-2.8l8.5,8.5l8.5-8.5l2.8,2.8L32.8,30l8.5,8.5L38.5,41.3z' stroke='%23fff'/%3E%3C/svg%3E") !important;
178
+ }
179
+
180
+ .TWSort1Left, .TWSort1Right,
181
+ .TWSort2Left, .TWSort2Right,
182
+ .TWSort3Left, .TWSort3Right {
183
+ /* ico-tableview-sort-top.svg URL-encoder for SVG */
184
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23ff5b2d' points='32,16 20,28 44,28'/%3E%3Cpolygon fill='%23999' points='20,36 44,36 32,48'/%3E%3C/svg%3E") !important;
185
+ }
186
+
187
+ .TWSort4Left, .TWSort4Right,
188
+ .TWSort6Left, .TWSort6Right {
189
+ /* ico-tableview-sort-bottom.svg URL-encoder for SVG */
190
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23999' points='32,16 20,28 44,28'/%3E%3Cpolygon fill='%23ff5b2d' points='20,36 44,36 32,48'/%3E%3C/svg%3E") !important;
191
+ }
192
+
193
+ .TWP0200, .TWPx200, .TWP02x0, .TWP020x, .TWPx2x0, .TWPx20x, .TWP02xx, .TWPx2xx, .TWPanelSelectOn {
194
+ /* ico-tableview-dot-selected.svg URL-encoder for SVG */
195
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Ccircle fill='white' stroke='%23ff5b2d' stroke-width='4' cx='30' cy='30' r='20'/%3E%3Ccircle fill='%23ff5b2d' cx='30' cy='30' r='12'/%3E%3C/svg%3E") !important;
196
+ background-position: 50% !important;
197
+ }
198
+
199
+ .TWFilter12Left, .TWFilter12Right, .TWFilter12Menu {
200
+ /* ico-tableview-contains-not.svg URL-encoder for SVG */
201
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cg fill='%23ff5b2d'%3E%3Cpolygon points='12,24 12,40 24,32'/%3E%3Cpolygon points='52,40 52,24 40,32'/%3E%3Cpolygon points='28,33.3 36,28 36,20 40,20 40,12 24,12 24,20 28,20'/%3E%3Cpolygon points='36,32 28,37.3 28,44 24,44 24,52 40,52 40,44 36,44'/%3E%3Cpolygon fill='%23ff5b2d' points='48,20 48,16 12,40 12,44'/%3E%3C/g%3E%3C/svg%3E") !important;
202
+ }
203
+
204
+ .TWFilter11Left, .TWFilter11Right, .TWFilter11Menu {
205
+ /* ico-tableview-contains.svg URL-encoder for SVG */
206
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cg fill='%23ff5b2d'%3E%3Cpolygon points='40,20 40,12 24,12 24,20 28,20 28,44 24,44 24,52 40,52 40,44 36,44 36,20'/%3E%3Cpolygon points='12,24 12,40 24,32'/%3E%3Cpolygon points='52,40 52,24 40,32'/%3E%3C/g%3E%3C/svg%3E") !important;
207
+ }
208
+
209
+ .TWFilter10Left, .TWFilter10Right, .TWFilter10Menu {
210
+ /* ico-tableview-end-with-not.svg URL-encoder for SVG */
211
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cg fill='%23ff5b2d'%3E%3Cpolygon points='12,24 12,40 24,32'/%3E%3Cpolygon points='28,33.3 36,28 36,20 40,20 40,12 24,12 24,20 28,20'/%3E%3Cpolygon points='36,32 28,37.3 28,44 24,44 24,52 40,52 40,44 36,44'/%3E%3Cpolygon fill='%23ff5b2d' points='48,20 48,16 12,40 12,44'/%3E%3C/g%3E%3C/svg%3E") !important;
212
+ }
213
+
214
+ .TWFilter9Left, .TWFilter9Right, .TWFilter9Menu {
215
+ /* ico-tableview-end-with.svg URL-encoder for SVG */
216
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23ff5b2d' points='44,20 44,12 28,12 28,20 32,20 32,44 28,44 28,52 44,52 44,44 40,44 40,20'/%3E%3Cpolygon fill='%23ff5b2d' points='16,24 16,40 28,32'/%3E%3C/svg%3E") !important;
217
+ }
218
+
219
+ .TWFilter8Left, .TWFilter8Right, .TWFilter8Menu {
220
+ /* ico-tableview-start-with-not.svg URL-encoder for SVG */
221
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cg fill='%23ff5b2d'%3E%3Cpolygon points='24,36 32,30.7 32,20 36,20 36,12 20,12 20,20 24,20'/%3E%3Cpolygon points='32,34.7 24,40 24,44 20,44 20,52 36,52 36,44 32,44'/%3E%3Cpolygon points='36,32 36,40 48,32 42,28'/%3E%3Cpolygon fill='%23ff5b2d' points='48,20 48,16 12,40 12,44'/%3E%3C/g%3E%3C/svg%3E") !important;
222
+ }
223
+
224
+ .TWFilter7Left, .TWFilter7Right, .TWFilter7Menu {
225
+ /* ico-tableview-start-with.svg URL-encoder for SVG */
226
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23ff5b2d' points='36,20 36,12 20,12 20,20 24,20 24,44 20,44 20,52 36,52 36,44 32,44 32,20'/%3E%3Cpolygon fill='%23ff5b2d' points='36,24 36,40 48,32'/%3E%3C/svg%3E") !important;
227
+ }
228
+
229
+ .TWFilter6Left, .TWFilter6Right, .TWFilter6Menu {
230
+ /* ico-tableview-more-equal.svg URL-encoder for SVG */
231
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23ff5b2d' points='16,12 48,24 48,32 16,44 16,36 37.3,28 16,20'/%3E%3Crect fill='%23ff5b2d' x='16' y='44' width='32' height='8'/%3E%3C/svg%3E") !important;
232
+ }
233
+
234
+ .TWFilter5Left, .TWFilter5Right, .TWFilter5Menu {
235
+ /* ico-tableview-more.svg URL-encoder for SVG */
236
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23ff5b2d' points='16,12 48,28 48,36 16,52 16,44 40,32 16,20'/%3E%3C/svg%3E") !important;
237
+ }
238
+
239
+ .TWFilter4Left, .TWFilter4Right, .TWFilter4Menu {
240
+ /* ico-tableview-less-equal.svg URL-encoder for SVG */
241
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23ff5b2d' points='48,12 16,24 16,32 48,44 48,36 26.7,28 48,20'/%3E%3Crect fill='%23ff5b2d' x='16' y='44' width='32' height='8'/%3E%3C/svg%3E") !important;
242
+ }
243
+
244
+ .TWFilter3Left, .TWFilter3Right, .TWFilter3Menu {
245
+ /* ico-tableview-less.svg URL-encoder for SVG */
246
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23ff5b2d' points='48,12 16,28 16,36 48,52 48,44 24,32 48,20'/%3E%3C/svg%3E") !important;
247
+ }
248
+
249
+ .TWFilter2Left, .TWFilter2Right, .TWFilter2Menu {
250
+ /* ico-tableview-not-equal.svg URL-encoder for SVG */
251
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Cg fill='%23ff5b2d'%3E%3Crect x='12' y='20' width='40' height='8'/%3E%3Crect x='12' y='36' width='40' height='8'/%3E%3C/g%3E%3Cpolygon fill='%23ff5b2d' points='48,12 24,52 16,52 40,12'/%3E%3C/svg%3E") !important;
252
+ }
253
+
254
+ .TWFilter1Left, .TWFilter1Right, .TWFilter1Menu {
255
+ /* ico-tableview-equal.svg URL-encoder for SVG */
256
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 64 64'%3E%3Crect fill='%23ff5b2d' x='12' y='20' width='40' height='8'/%3E%3Crect fill='%23ff5b2d' x='12' y='36' width='40' height='8'/%3E%3C/svg%3E") !important;
257
+ }
258
+
259
+ .TWToolbarRow .TWHtml,
260
+ .TSToolbarRow .TSHtml,
261
+ .TBToolbarRow .TBHtml,
262
+ .TMToolbarRow .TMHtml,
263
+ .TTToolbarRow .TTHtml {
264
+ display: none;
265
+ }
266
+
267
+ .TWDisabledHard {
268
+ top: 0 !important;
269
+ left: 0 !important;
270
+ height: 100% !important;
271
+ width: 100% !important;
272
+ }
273
+
274
+ .TWPickMain, .TWPickMain .TWPickOuter {
275
+ border-radius: 8px;
276
+ }
277
+
278
+ .TWPickOuter .TWPickMY {
279
+ background: #fff;
280
+ color: #222d44;
281
+ }
282
+
283
+ .TWPickOuter .TWPickMY > span {
284
+ line-height: 36px;
285
+ font-size: 10pt;
286
+ font-weight: normal;
287
+ display: block;
288
+ background: none;
289
+ margin: 0 30px;
290
+ padding: 0px;
291
+ text-transform: capitalize;
292
+ }
293
+
294
+ .TWPickOuter .TWPickMY > span:hover {
295
+ color: #0097ff;
296
+ }
297
+
298
+ .TWPickSel, .TWPick2MSel, .TWPick2YSel,
299
+ .TWPickSel, .TWPick2MSel, .TWPickSelHover {
300
+ background: #0097ff;
301
+ color: #fff;
302
+ }
303
+
304
+ .TWPickOuter .TWPickBL, .TWPickOuter .TWPickBR {
305
+ margin-top: 8px;
306
+ background-size: 22px 22px;
307
+ }
308
+
309
+ .TWPickOuter .TWPickRowW .TWPickCell {
310
+ padding-bottom: 0px
311
+ }
312
+
313
+ .TWPickNow {
314
+ background: #fff;
315
+ color: #0097ff;
316
+ font-family: 'GraphikMedium';
317
+ }
318
+
319
+ .TWLow .TWPickCell {
320
+ width: 30px;
321
+ height: 30px;
322
+ }
323
+
324
+ .TWLow .TWPickCell > div {
325
+ line-height: 26px;
326
+ border-radius: 8px;
327
+ }
328
+
329
+ .TWPickWDN, .TWPickWNE {
330
+ text-transform: uppercase;
331
+ font-weight: normal;
332
+ }
333
+
334
+ .TWPickOM, .TWPickOMNE, .TWPickWDN, .TWPickWNE {
335
+ color: #bdbdbd;
336
+ }
337
+
338
+ .TWEnumMenuHeader {
339
+ border-radius: 0;
340
+ border-bottom: 1px solid #fff;
341
+ z-index: 10001;
342
+ }
343
+
344
+ .TWMenuMainBottom {
345
+ margin-top: 1px;
346
+ border-radius: 8px 0px 8px 8px;
347
+ }
348
+
349
+ .TWEnumMenuMainBottom {
350
+ margin-top: -1px;
351
+ border-radius: 0 0 8px 8px;
352
+ box-shadow: 0px 4px 4px 1px #ddd;
353
+ }
354
+
355
+ .TWEnumMenuMainBottom > div, .TWMenuMainBottom > div {
356
+ border-radius: 0 0 8px 8px;
357
+ border-top: 1px solid #fff;
358
+ }
359
+
360
+ .TWMenuMainBottom > div {
361
+ border-radius: 0 0 8px 8px;
362
+ }
363
+
364
+ .TWLow .TWMenuFoot {
365
+ padding: 3px 3px 5px 3px;
366
+ }
367
+
368
+
369
+ .TWMenuMainBottom.TWEnumMenuMainBottom {
370
+ border-radius: 0 0 8px 8px;
371
+ z-index: 10002;
372
+ }
373
+
374
+ .TWMenuMainBottom.TWEnumMenuMainBottom > div {
375
+ border-radius: 0 0 8px 8px;
376
+ }
377
+
378
+ .TWEnumLeft, .TWLow .TWEnumHeaderLeft {
379
+ background-position: right !important;
380
+ padding-left: 6px !important;
381
+ }
382
+
383
+ .TWEnumMenuBody .TWEnumMenuFocus {
384
+ color: #0097ff;
385
+ background: #fff !important;
386
+ }
387
+
388
+ .TWEnumMenuBody .TWEnumMenuHover,
389
+ .TWMenuHover {
390
+ background: #F4F4F4 !important
391
+ }
392
+
393
+ .TWLow .TWMenuButton {
394
+ min-width: 80px;
395
+ font-size: 9pt;
396
+ min-width: 80px;
397
+ font-size: 9pt;
398
+ height: 26px;
399
+ line-height: 26px;
400
+ margin: 4px;
401
+ }
402
+
403
+ .TWFocusRowBackground {
404
+ background: #e0e0e0;
405
+ }
406
+
407
+ .HideCol0IsFavorite.TWCellHeader {
408
+ color: transparent;
409
+ }
410
+
411
+ .HideCol0IsFavorite.vitro-tableview-favorite-0, .HideCol0IsFavorite.TWCell.TWBool0 {
412
+ /* ico-favorite.svg URL-encoder for SVG */
413
+ background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23BDBDBD;%7D%0A%3C/style%3E%3Cpath class='st0' d='M15,3.5H9c-1.1,0-2,0.9-2,2v15l5-5.7l5,5.7v-15C17,4.4,16.1,3.5,15,3.5z'/%3E%3C/svg%3E%0A") !important;
414
+ }
415
+
416
+ .HideCol0IsFavorite.vitro-tableview-favorite-2, .HideCol0IsFavorite.TWCell.TWBool1 {
417
+ /* ico-favorite-orange.svg URL-encoder for SVG */
418
+ background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FF5B2D;%7D%0A%3C/style%3E%3Cpath class='st0' d='M15,3.5H9c-1.1,0-2,0.9-2,2v15l5-5.7l5,5.7v-15C17,4.4,16.1,3.5,15,3.5z'/%3E%3C/svg%3E%0A") !important;
419
+ }
420
+
421
+ .TWFilter0Value u.TWFilter1, .TWFilter0Value u.TWFilter0,
422
+ .TWCellHeaderPanel .TWPanelDelete {
423
+ display: none;
424
+ }
425
+
426
+ .TWHintHeaderOuter > div,
427
+ .TWHintDataOuter > div {
428
+ overflow: visible !important;
429
+ }
430
+
431
+ .TWProgressOuter {
432
+ background-color: #fff;
433
+ width: 220px !important;
434
+ }
435
+
436
+ .TWProgressInner {
437
+ height: 26px !important;
438
+ width: 100% !important;
439
+ /* ico-preloader.svg URL-encoder for SVG */
440
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24px' height='24px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' style='margin: auto; background-image: none; display: block; shape-rendering: auto; background-position: initial initial; background-repeat: initial initial;' class='ng-star-inserted'%3E%3Cg transform='rotate(0 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.875s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(45 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.75s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(90 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.625s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(135 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.5s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(180 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.375s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(225 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.25s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(270 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.125s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(315 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23FF5B2D'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='0s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3C/svg%3E") !important;
441
+ background-repeat: no-repeat;
442
+ background-position: center;
443
+ }
444
+
445
+ .TWProgressMain {
446
+ text-align: center;
447
+ }
448
+
449
+ .TWProgressButtons {
450
+ margin: 0;
451
+ display: flex;
452
+ flex-direction: row-reverse;
453
+ }
454
+
455
+ .TWProgressButtons > button {
456
+ min-width: 80px;
457
+ font-size: 9pt;
458
+ height: 26px;
459
+ line-height: 26px;
460
+ margin: 4px;
461
+ padding: 0 8px !important;
462
+ }
463
+
464
+ .TWEnumMenuBody {
465
+ max-width: 600px;
466
+ }
467
+
468
+ .TWMenuItemText {
469
+ white-space: normal;
470
+ }
471
+
472
+ .TWMenuItem.TWCfgMenuItem#TGMenu-0-style {
473
+ display: none;
474
+ }
475
+
476
+ .TWEditInput {
477
+ background: white;
478
+ }
479
+
480
+ .TWCellBase.vitro-table-view-deleted {
481
+ color: #BDBDBD;
482
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { BreadcrumbsItem } from './BreadcrumbsItem';
3
+ export interface BreadcrumbsProps {
4
+ text: string;
5
+ itemList: BreadcrumbsItem[];
6
+ onClick: (item: BreadcrumbsItem) => void;
7
+ displayItemCount: number;
8
+ }
9
+ export declare const Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface BreadcrumbsItem {
2
+ id: string;
3
+ text: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface ItemProps {
3
+ onClick?: () => void;
4
+ text: string;
5
+ id: string;
6
+ }
7
+ export declare const Item: (props: ItemProps) => JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { FunctionComponent } from "react";
2
+ interface MicroFrontendProps {
3
+ name: string;
4
+ host: string;
5
+ data: any;
6
+ }
7
+ export declare const MicroFrontend: FunctionComponent<MicroFrontendProps>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ export declare class MicroFrontendState {
2
+ constructor();
3
+ unmount(): void;
4
+ init: boolean;
5
+ name: string | null;
6
+ renderInProgress: boolean;
7
+ unmountAction: Function | null;
8
+ }
@@ -0,0 +1,2 @@
1
+ import { MicroFrontendState } from './MicroFrontendState';
2
+ export declare const renderMicrofrontend: (rendererName: string, microFrontendState: MicroFrontendState, rootElement: HTMLElement, data: any, tryCnt: number) => void;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { TableViewContext } from './TableViewContext';
3
+ import { TableViewRow } from './TableViewRow';
4
+ import { TableViewEventHandler } from './TableViewEventHandler';
5
+ export declare const TableView: (props: TableViewProps) => JSX.Element;
6
+ export interface TableViewProps {
7
+ id: string;
8
+ textUrl?: string;
9
+ debug?: string;
10
+ createGridUrl?: ((...params: any[]) => any) | undefined;
11
+ controller?: string | undefined;
12
+ listCode?: string | undefined;
13
+ eventHandlerList?: TableViewEventHandler[];
14
+ onInit?: ((grid: TableViewContext, next?: () => any) => any) | undefined;
15
+ onSelect?: ((grid: TableViewContext, row: TableViewRow, deselect: boolean, columnList: string[], test: boolean) => any) | undefined;
16
+ layout?: any;
17
+ data?: any;
18
+ filterOneLevel?: boolean;
19
+ }
@@ -0,0 +1,3 @@
1
+ export interface TableViewCol {
2
+ [key: string]: any;
3
+ }
@@ -0,0 +1,50 @@
1
+ import { TableViewRow } from './TableViewRow';
2
+ import { TableViewCol } from './TableViewCol';
3
+ import { TableViewEventHandler } from './TableViewEventHandler';
4
+ export interface TableViewContext {
5
+ readonly columnList: any;
6
+ readonly columnNameList: any;
7
+ readonly filter: any;
8
+ readonly sort: any;
9
+ readonly pageLength: number;
10
+ readonly id: string;
11
+ readonly gantt: string;
12
+ readonly rowCount: number;
13
+ readonly header: TableViewRow;
14
+ dragging: boolean;
15
+ filterOneLevel: boolean;
16
+ acceptChanges(row?: TableViewRow): void;
17
+ hasGantt(): boolean;
18
+ getRowById(id: string, attr?: string, nofixed?: boolean): TableViewRow;
19
+ getSelectedRowList(): TableViewRow[];
20
+ refreshRow(row: TableViewRow): void;
21
+ refreshCell(row: TableViewRow, col: string): void;
22
+ setValue(row: TableViewRow, col: string, value: any, refresh?: boolean): void;
23
+ addRow(parent: TableViewRow | null, next?: TableViewRow | null, show?: number, id?: string, def?: string): TableViewRow;
24
+ addPage(name: string, xml: string | null, count: number): TableViewRow;
25
+ setEventHandler(eventHandler: TableViewEventHandler): void;
26
+ showDefaults(row: TableViewRow, col: string): boolean;
27
+ clearSelection(type?: number): void;
28
+ selectRow(row: TableViewRow, select?: boolean, test?: boolean): boolean;
29
+ changeFilter(cols: string[], values: any[], operators: number[], nofilter?: boolean, noclear?: boolean, filter?: TableViewRow): void;
30
+ removeRow(row: TableViewRow): void;
31
+ showMessageTime(message: string, time?: number, func?: (...params: any[]) => any, buttons?: string[], importance?: number): void;
32
+ reRender(scroll: boolean, sync: boolean): void;
33
+ changeSort(sortCols: string): void;
34
+ deselectAll(): void;
35
+ hideMessage(): void;
36
+ blur(): void;
37
+ focus(): void;
38
+ dispose(): void;
39
+ showCol(col: string): void;
40
+ hideCol(col: string): void;
41
+ addCol(col: string, sec: number, pos: number, param?: any, show?: boolean, type?: string, caption?: string): TableViewCol;
42
+ reloadBody(): void;
43
+ getCols(): string[];
44
+ hasChangeList(): number;
45
+ getChangeList(): any;
46
+ moveRow(row: TableViewRow, parent: TableViewRow | null, next: TableViewRow | null, show: boolean): any;
47
+ deleteRowList(rowList: TableViewRow[]): void;
48
+ setRowCanExpand(row: TableViewRow, canExpand: boolean): void;
49
+ getFirst(row?: TableViewRow, type?: number): TableViewRow;
50
+ }
@@ -0,0 +1,4 @@
1
+ export interface TableViewEventHandler {
2
+ id: string;
3
+ process: (...params: any[]) => any;
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface TableViewRow {
2
+ [key: string]: any;
3
+ }
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { TableViewProps } from './TableView';
3
+ import { TableViewContext } from './TableViewContext';
4
+ export declare const tableViewList: Map<string, TableViewContext>;
5
+ export declare function getTableViewById(id: string): TableViewContext | undefined;
6
+ export declare const TreeGrid: (props: TableViewProps) => JSX.Element;
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ tableview: {
11
+ layout_url: string;
12
+ data_url: string;
13
+ page_url: string;
14
+ text_url: string;
15
+ debug: string;
16
+ id: string;
17
+ };
18
+ }
19
+ }
20
+ }