@itfin/components 1.2.33 → 1.2.35
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 +1 -1
- package/src/assets/images/pdf-viewer/loading-icon.svg +26 -0
- package/src/assets/images/pdf-viewer/shadow.png +0 -0
- package/src/assets/images/pdf-viewer/treeitem-collapsed.png +0 -0
- package/src/assets/images/pdf-viewer/treeitem-collapsed@2x.png +0 -0
- package/src/assets/images/pdf-viewer/treeitem-expanded.png +0 -0
- package/src/assets/images/pdf-viewer/treeitem-expanded@2x.png +0 -0
- package/src/assets/scss/components/_air-select.scss +111 -0
- package/src/assets/scss/components/_avatar.scss +36 -0
- package/src/assets/scss/components/_button.scss +110 -0
- package/src/assets/scss/components/_card.scss +7 -0
- package/src/assets/scss/components/_checkbox.scss +83 -0
- package/src/{components/datepicker/datepicker.scss → assets/scss/components/_datepicker.scss} +217 -1
- package/src/assets/scss/components/_dropdown.scss +79 -0
- package/src/assets/scss/components/_form.scss +22 -0
- package/src/assets/scss/components/_icon.scss +5 -0
- package/src/assets/scss/components/_modal.scss +9 -0
- package/src/assets/scss/components/_pagination.scss +12 -0
- package/src/assets/scss/components/_pdf-viewer.scss +4 -0
- package/src/assets/scss/components/_popover.scss +37 -0
- package/src/assets/scss/components/_segmeneted-control.scss +138 -0
- package/src/assets/scss/components/_select.scss +76 -0
- package/src/assets/scss/components/_table.scss +278 -0
- package/src/{components/tabs/tabs.scss → assets/scss/components/_tabs.scss} +1 -1
- package/src/assets/scss/components/_text-field.scss +36 -0
- package/src/assets/scss/components/_toaster.scss +97 -0
- package/src/assets/scss/components/_tree-view.scss +17 -0
- package/src/{components/wizard/wizard.scss → assets/scss/components/_wizard.scss} +1 -1
- package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_annotation_layer_builder.scss +0 -0
- package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_colors.scss +1 -1
- package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_pdf_viewer.scss +2 -2
- package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_text_layer_builder.scss +0 -0
- package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_variables.scss +0 -0
- package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_viewer.scss +6 -6
- package/src/assets/scss/components/{_animations.scss → select/_animations.scss} +0 -0
- package/src/assets/scss/components/{_clear.scss → select/_clear.scss} +0 -0
- package/src/assets/scss/components/{_component.scss → select/_component.scss} +0 -0
- package/src/assets/scss/components/{_dropdown-menu.scss → select/_dropdown-menu.scss} +0 -0
- package/src/assets/scss/components/{_dropdown-option.scss → select/_dropdown-option.scss} +0 -0
- package/src/assets/scss/components/{_dropdown-toggle.scss → select/_dropdown-toggle.scss} +0 -0
- package/src/assets/scss/components/{_open-indicator.scss → select/_open-indicator.scss} +0 -0
- package/src/assets/scss/components/{_search-input.scss → select/_search-input.scss} +0 -0
- package/src/assets/scss/components/{_selected.scss → select/_selected.scss} +1 -1
- package/src/assets/scss/components/{_spinner.scss → select/_spinner.scss} +0 -0
- package/src/assets/scss/components/{_states.scss → select/_states.scss} +0 -0
- package/src/assets/scss/components/{_variables.scss → select/_variables.scss} +0 -0
- package/src/assets/scss/main.scss +23 -1
- package/src/components/app/App.vue +0 -66
- package/src/components/app/ToastContainer.vue +0 -35
- package/src/components/app/ToastMessage.vue +0 -7
- package/src/components/avatar/Avatar.vue +0 -38
- package/src/components/button/Button.vue +0 -142
- package/src/components/card/Card.vue +0 -10
- package/src/components/card/CardBody.vue +0 -3
- package/src/components/checkbox/Checkbox.vue +0 -54
- package/src/components/checkbox/CheckboxGroup.vue +0 -3
- package/src/components/checkbox/Radio.vue +0 -36
- package/src/components/checkbox/RadioGroup.vue +0 -3
- package/src/components/datepicker/DatePicker.vue +0 -39
- package/src/components/datepicker/DateRangePicker.vue +0 -58
- package/src/components/datepicker/MonthPicker.vue +0 -34
- package/src/components/datepicker/PeriodPicker.vue +0 -97
- package/src/components/dropdown/Dropdown.vue +0 -14
- package/src/components/form/Form.vue +0 -4
- package/src/components/form/Label.vue +0 -24
- package/src/components/icon/Icon.vue +0 -8
- package/src/components/modal/Modal.vue +0 -13
- package/src/components/pagination/Pagination.vue +0 -14
- package/src/components/pdf-viewer/PdfViewerSpa.vue +0 -3
- package/src/components/popover/ConfirmPopover.vue +0 -5
- package/src/components/popover/Popover.vue +0 -35
- package/src/components/segmented-control/SegmentedControl.vue +0 -140
- package/src/components/select/AirSelect.vue +0 -113
- package/src/components/select/Dropdown.vue +1 -71
- package/src/components/select/Select.vue +0 -78
- package/src/components/table/Table.vue +0 -279
- package/src/components/tabs/Tab.vue +0 -5
- package/src/components/tabs/TabContent.vue +0 -5
- package/src/components/tabs/Tabs.vue +0 -1
- package/src/components/text-field/TextField.vue +0 -15
- package/src/components/text-field/Textarea.vue +0 -30
- package/src/components/tooltip/Tooltip.vue +0 -1
- package/src/components/tree/TreeView.vue +0 -19
- package/src/components/wizard/Sidebar.vue +0 -4
- package/src/components/wizard/Step.vue +0 -5
- package/src/components/wizard/Wizard.vue +0 -1
- package/src/index.stories.js +1 -0
- package/src/components/pdf-viewer/styles/index.css +0 -0
- package/src/components/pdf-viewer/styles/index.scss +0 -4
|
@@ -245,116 +245,3 @@ class itfAirSelect extends Vue {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
</script>
|
|
248
|
-
|
|
249
|
-
<style lang="scss" scoped>
|
|
250
|
-
@import '../../assets/scss/variables';
|
|
251
|
-
.select {
|
|
252
|
-
position: relative;
|
|
253
|
-
border-radius: 4px;
|
|
254
|
-
cursor: pointer;
|
|
255
|
-
font-size: 14px;
|
|
256
|
-
transition: background 0.1s;
|
|
257
|
-
&:focus {
|
|
258
|
-
outline: none;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
.valueContainer {
|
|
262
|
-
display: flex;
|
|
263
|
-
align-items: center;
|
|
264
|
-
width: 100%;
|
|
265
|
-
min-height: 32px;
|
|
266
|
-
justify-content: space-between;
|
|
267
|
-
}
|
|
268
|
-
.valueMulti {
|
|
269
|
-
display: flex;
|
|
270
|
-
align-items: center;
|
|
271
|
-
flex-wrap: wrap;
|
|
272
|
-
// padding-top: 5px;
|
|
273
|
-
}
|
|
274
|
-
.valueMultiItem {
|
|
275
|
-
height: 22px;
|
|
276
|
-
overflow: hidden;
|
|
277
|
-
border-radius: 3px;
|
|
278
|
-
display: flex;
|
|
279
|
-
align-items: center;
|
|
280
|
-
user-select: none;
|
|
281
|
-
background: #f0f0f0;
|
|
282
|
-
font-size: 14px;
|
|
283
|
-
.valueMultiItemLabel {
|
|
284
|
-
flex: auto;
|
|
285
|
-
padding: 0 4px;
|
|
286
|
-
height: 100%;
|
|
287
|
-
display: flex;
|
|
288
|
-
align-items: center;
|
|
289
|
-
border-right: 1px solid #ddd;
|
|
290
|
-
}
|
|
291
|
-
.valueMultiItemClose {
|
|
292
|
-
border-left: none;
|
|
293
|
-
overflow: hidden;
|
|
294
|
-
padding: 0 2px;
|
|
295
|
-
height: 100%;
|
|
296
|
-
display: flex;
|
|
297
|
-
align-items: center;
|
|
298
|
-
justify-content: center;
|
|
299
|
-
&:hover {
|
|
300
|
-
background: #ff4757;
|
|
301
|
-
color: white;
|
|
302
|
-
}
|
|
303
|
-
.icon {
|
|
304
|
-
width: 18px;
|
|
305
|
-
height: 18px;
|
|
306
|
-
fill: currentColor;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
.addMore {
|
|
311
|
-
font-size: 12.5px;
|
|
312
|
-
cursor: pointer;
|
|
313
|
-
display: flex;
|
|
314
|
-
align-items: center;
|
|
315
|
-
color: #0052cc;
|
|
316
|
-
&:hover,
|
|
317
|
-
&:visited,
|
|
318
|
-
&:active {
|
|
319
|
-
color: #0052cc;
|
|
320
|
-
}
|
|
321
|
-
&:hover {
|
|
322
|
-
text-decoration: underline;
|
|
323
|
-
}
|
|
324
|
-
.icon {
|
|
325
|
-
width: 16px;
|
|
326
|
-
height: 16px;
|
|
327
|
-
fill: currentColor;
|
|
328
|
-
margin-right: 2px;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
[data-theme="dark"] .select.normal {
|
|
333
|
-
border-color: $dark-input-focus-border-color;
|
|
334
|
-
background: $dark-input-focus-border-color;
|
|
335
|
-
}
|
|
336
|
-
.select.normal {
|
|
337
|
-
width: 100%;
|
|
338
|
-
padding-left: 0.5rem;
|
|
339
|
-
padding-right: 0.5rem;
|
|
340
|
-
border-width: 1px;
|
|
341
|
-
border-color: #dfe1e6;
|
|
342
|
-
background-color: #f4f5f7;
|
|
343
|
-
position: relative;
|
|
344
|
-
border-radius: 4px;
|
|
345
|
-
cursor: pointer;
|
|
346
|
-
font-size: 14px;
|
|
347
|
-
-webkit-transition: background .1s;
|
|
348
|
-
transition: background .1s;
|
|
349
|
-
}
|
|
350
|
-
.select.normal:hover {
|
|
351
|
-
@apply bg-backgroundLight;
|
|
352
|
-
}
|
|
353
|
-
.select.normal:focus {
|
|
354
|
-
@apply border border-borderInputFocus bg-white text-borderInputFocus;
|
|
355
|
-
box-shadow: 0 0 0 1px currentColor;
|
|
356
|
-
}
|
|
357
|
-
.select.empty {
|
|
358
|
-
display: inline-block;
|
|
359
|
-
}
|
|
360
|
-
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="dropdown" :style="{ width: `${dropdownWidth}px` }">
|
|
2
|
+
<div class="air-dropdown" :style="{ width: `${dropdownWidth}px` }">
|
|
3
3
|
<input
|
|
4
4
|
v-if="searchable"
|
|
5
5
|
class="dropdownInput"
|
|
@@ -214,73 +214,3 @@ class itfDropdown extends Vue {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
</script>
|
|
217
|
-
|
|
218
|
-
<style scoped lang="scss">
|
|
219
|
-
@import '../../assets/scss/variables';
|
|
220
|
-
.dropdown {
|
|
221
|
-
z-index: 101;
|
|
222
|
-
position: absolute;
|
|
223
|
-
top: calc(100% + 4px);
|
|
224
|
-
left: -1px;
|
|
225
|
-
border-radius: 0 0 4px 4px;
|
|
226
|
-
background: #fff;
|
|
227
|
-
box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
|
|
228
|
-
rgba(9, 30, 66, 0.31) 0px 0px 1px;
|
|
229
|
-
width: 100%;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
[data-theme="dark"] .dropdown {
|
|
233
|
-
background: $dark-input-focus-border-color;
|
|
234
|
-
|
|
235
|
-
.option {
|
|
236
|
-
&.select-option-is-active {
|
|
237
|
-
background: $dark-border-color;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.dropdownInput {
|
|
243
|
-
padding: 10px 14px 8px;
|
|
244
|
-
width: 100%;
|
|
245
|
-
border: none;
|
|
246
|
-
color: #172b4d;
|
|
247
|
-
background: none;
|
|
248
|
-
|
|
249
|
-
&:focus {
|
|
250
|
-
outline: none;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.options {
|
|
255
|
-
padding: 5px 0;
|
|
256
|
-
max-height: 200px;
|
|
257
|
-
overflow-x: hidden;
|
|
258
|
-
overflow-y: auto;
|
|
259
|
-
-webkit-overflow-scrolling: touch;
|
|
260
|
-
// &::-webkit-scrollbar {
|
|
261
|
-
// width: 7px;
|
|
262
|
-
// }
|
|
263
|
-
// &::-webkit-scrollbar-track {
|
|
264
|
-
// background: none;
|
|
265
|
-
// }
|
|
266
|
-
// &::-webkit-scrollbar-thumb {
|
|
267
|
-
// // border-radius: 99px;
|
|
268
|
-
// background: #d1d1d1;
|
|
269
|
-
// }
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.option {
|
|
273
|
-
padding: 8px 14px;
|
|
274
|
-
word-break: break-word;
|
|
275
|
-
cursor: pointer;
|
|
276
|
-
|
|
277
|
-
&.select-option-is-active {
|
|
278
|
-
background: #e8ecee;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.optionsNoResults {
|
|
283
|
-
padding: 0px 15px 10px;
|
|
284
|
-
color: #8993a4;
|
|
285
|
-
}
|
|
286
|
-
</style>
|
|
@@ -143,84 +143,6 @@
|
|
|
143
143
|
<slot name="footer" v-bind="scope.footer" />
|
|
144
144
|
</div>
|
|
145
145
|
</template>
|
|
146
|
-
<style lang="scss">
|
|
147
|
-
@import '../../assets/scss/variables';
|
|
148
|
-
@import '../../assets/scss/directives/loading';
|
|
149
|
-
@import '../../assets/scss/components/variables';
|
|
150
|
-
@import '../../assets/scss/components/component';
|
|
151
|
-
@import '../../assets/scss/components/animations';
|
|
152
|
-
@import '../../assets/scss/components/states';
|
|
153
|
-
|
|
154
|
-
@import '../../assets/scss/components/dropdown-toggle';
|
|
155
|
-
@import '../../assets/scss/components/open-indicator';
|
|
156
|
-
@import '../../assets/scss/components/clear';
|
|
157
|
-
@import '../../assets/scss/components/dropdown-menu';
|
|
158
|
-
@import '../../assets/scss/components/dropdown-option';
|
|
159
|
-
@import '../../assets/scss/components/selected';
|
|
160
|
-
@import '../../assets/scss/components/search-input';
|
|
161
|
-
@import '../../assets/scss/components/spinner';
|
|
162
|
-
|
|
163
|
-
[data-theme="dark"] {
|
|
164
|
-
.itf-select {
|
|
165
|
-
&.vs--open .form-control {
|
|
166
|
-
box-shadow: 0 0 0 0.125rem $dark-input-focus-border;
|
|
167
|
-
border-color: $dark-input-focus-border-color;
|
|
168
|
-
background: $dark-input-focus-border-color;
|
|
169
|
-
}
|
|
170
|
-
&__dropdown-menu {
|
|
171
|
-
background-color: $dark-body-bg;
|
|
172
|
-
border-color: $dark-input-focus-border;
|
|
173
|
-
|
|
174
|
-
.dropdown-item {
|
|
175
|
-
color: $dark-body-color;
|
|
176
|
-
|
|
177
|
-
&.active, &:active {
|
|
178
|
-
background-color: $dark-primary;
|
|
179
|
-
color: $dark-body-bg;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.itf-select {
|
|
187
|
-
cursor: pointer;
|
|
188
|
-
|
|
189
|
-
.form-control {
|
|
190
|
-
padding: 0.3125rem 0.75rem;
|
|
191
|
-
|
|
192
|
-
&.is-valid, &.is-invalid {
|
|
193
|
-
background-image: none;
|
|
194
|
-
}
|
|
195
|
-
&.is-invalid .vs__open-indicator {
|
|
196
|
-
color: $danger;
|
|
197
|
-
}
|
|
198
|
-
&.is-valid .vs__open-indicator {
|
|
199
|
-
color: $success;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
&.vs--multiple .form-control {
|
|
203
|
-
padding-top: 0.125rem;
|
|
204
|
-
padding-bottom: 0.125rem;
|
|
205
|
-
}
|
|
206
|
-
&.vs--open .form-control {
|
|
207
|
-
box-shadow: 0 0 0 0.125rem $input-focus-border;
|
|
208
|
-
border-color: $body-bg;
|
|
209
|
-
background: $body-bg;
|
|
210
|
-
}
|
|
211
|
-
&__dropdown-menu {
|
|
212
|
-
background-color: $body-bg;
|
|
213
|
-
//border: 2px solid $input-focus-border;
|
|
214
|
-
border: 0 none;
|
|
215
|
-
padding-left: 0.125rem !important;
|
|
216
|
-
padding-right: 0.125rem !important;
|
|
217
|
-
left: -2px;
|
|
218
|
-
right: -2px;
|
|
219
|
-
width: auto;
|
|
220
|
-
box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 31%) 0px 0px 1px;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
</style>
|
|
224
146
|
<script>
|
|
225
147
|
import pointerScroll from '../../mixins/pointerScroll';
|
|
226
148
|
import typeAheadPointer from '../../mixins/typeAheadPointer';
|
|
@@ -68,285 +68,6 @@
|
|
|
68
68
|
</div>
|
|
69
69
|
|
|
70
70
|
</template>
|
|
71
|
-
<style lang="scss">
|
|
72
|
-
@import '../../assets/scss/variables';
|
|
73
|
-
|
|
74
|
-
:root {
|
|
75
|
-
--itf-table-background-color: #fff;
|
|
76
|
-
--itf-table-sticky-top: 0;
|
|
77
|
-
--itf-table-border-color: #e1e4e7;
|
|
78
|
-
--itf-table-hover-color: #f0f0f0;
|
|
79
|
-
--itf-table-strip-color: #f8f8f8;//#dadce033;
|
|
80
|
-
--itf-table-sorted-color: #f8f8f8;//#dadce033;
|
|
81
|
-
--itf-table-shadow-width: 3px;
|
|
82
|
-
--itf-table-row-cursor: default;
|
|
83
|
-
--itf-table-sticky-shadow1: rgb(0 0 0 / 16%);
|
|
84
|
-
--itf-table-sticky-shadow2: rgb(0 0 0 / 23%);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
[data-theme="dark"] {
|
|
88
|
-
--itf-table-background-color: #{$dark-body-bg};
|
|
89
|
-
--itf-table-border-color: #666;
|
|
90
|
-
--itf-table-hover-color: #111;
|
|
91
|
-
--itf-table-strip-color: #222;
|
|
92
|
-
--itf-table-sorted-color: #444;
|
|
93
|
-
--itf-table-sticky-shadow1: rgb(255 255 255 / 16%);
|
|
94
|
-
--itf-table-sticky-shadow2: rgb(255 255 255 / 23%);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.itf-table {
|
|
98
|
-
width: 100%;
|
|
99
|
-
grid-template-columns: [col-start] auto [col-end];
|
|
100
|
-
grid-template-rows: [header-start] 56px [header-end row-start] auto [row-end];
|
|
101
|
-
|
|
102
|
-
&__wrapper {
|
|
103
|
-
margin-top: 10px;
|
|
104
|
-
margin-right: -30px;
|
|
105
|
-
background-color: var(--itf-table-background-color);
|
|
106
|
-
padding-right: 0;
|
|
107
|
-
//overflow: hidden;
|
|
108
|
-
width: 100%;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&__headers {
|
|
112
|
-
.scroller {
|
|
113
|
-
overflow-x: hidden;
|
|
114
|
-
overflow-y: visible;
|
|
115
|
-
padding-bottom: 1px;
|
|
116
|
-
}
|
|
117
|
-
.itf-table__header-row {
|
|
118
|
-
display: grid;
|
|
119
|
-
grid-template-columns: var(--itf-table-template);
|
|
120
|
-
}
|
|
121
|
-
.itf-table__header.align-left > span {
|
|
122
|
-
justify-content: flex-start;
|
|
123
|
-
text-align: left;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
&__rows {
|
|
127
|
-
display: grid;
|
|
128
|
-
overflow: auto;
|
|
129
|
-
grid-template-columns: var(--itf-table-template);
|
|
130
|
-
padding-bottom: 10px;
|
|
131
|
-
|
|
132
|
-
& > .itf-table__row {
|
|
133
|
-
display: contents;
|
|
134
|
-
|
|
135
|
-
&:not(.itf-table__summary-row) {
|
|
136
|
-
cursor: var(--itf-table-row-cursor);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&--striped &__row:nth-child(even) &__cell {
|
|
142
|
-
background-color: var(--itf-table-strip-color);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&__cell.itf-table__cell--sorted {
|
|
146
|
-
background-color: var(--itf-table-sorted-color);
|
|
147
|
-
}
|
|
148
|
-
&--hoverable &__rows{
|
|
149
|
-
& > .itf-table__row:not(.itf-table__summary-row) {
|
|
150
|
-
&:hover > .itf-table__cell,
|
|
151
|
-
&:hover > .itf-table__cell--sorted {
|
|
152
|
-
background-color: var(--itf-table-hover-color);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.itf-table__sticky-header &__headers {
|
|
158
|
-
position: sticky;
|
|
159
|
-
top: var(--itf-table-sticky-top);
|
|
160
|
-
z-index: 4;
|
|
161
|
-
|
|
162
|
-
.itf-table__header-row:last-child .itf-table__header {
|
|
163
|
-
&:after {
|
|
164
|
-
display: block;
|
|
165
|
-
content: ' ';
|
|
166
|
-
border-top: 1px solid var(--itf-table-border-color);
|
|
167
|
-
left: 0;
|
|
168
|
-
bottom: 0;
|
|
169
|
-
right: 0;
|
|
170
|
-
height: 0;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&__header {
|
|
176
|
-
background-color: var(--itf-table-background-color);
|
|
177
|
-
grid-row: header;
|
|
178
|
-
font-weight: 500;
|
|
179
|
-
&--sortable {
|
|
180
|
-
cursor: pointer;
|
|
181
|
-
}
|
|
182
|
-
&--sorted {
|
|
183
|
-
background-color: var(--itf-table-sorted-color);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
& > span {
|
|
187
|
-
text-overflow: ellipsis;
|
|
188
|
-
overflow: hidden;
|
|
189
|
-
height: 100%;
|
|
190
|
-
display: block;
|
|
191
|
-
padding: 8px 10px;
|
|
192
|
-
text-align: right;
|
|
193
|
-
|
|
194
|
-
&:hover .com-table-sort-btn {
|
|
195
|
-
opacity: 1;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&:first-child > span {
|
|
200
|
-
text-align: left;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
&__small &__header span, &__small &__cell {
|
|
205
|
-
padding: 4px 5px;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
&__summary-row &__cell {
|
|
209
|
-
padding-top: 2rem;
|
|
210
|
-
border-bottom: 1px solid var(--itf-table-border-color);
|
|
211
|
-
|
|
212
|
-
&:first-child {
|
|
213
|
-
font-weight: 500;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
&--borders &__cell {
|
|
218
|
-
border-bottom: 1px solid var(--itf-table-border-color);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
&__cell {
|
|
222
|
-
background-color: var(--itf-table-background-color);
|
|
223
|
-
padding: 8px 10px;
|
|
224
|
-
//border-left: 1px solid var(--itf-table-border-color);
|
|
225
|
-
align-items: center;
|
|
226
|
-
display: flex;
|
|
227
|
-
justify-content: end;
|
|
228
|
-
text-align: right;
|
|
229
|
-
word-break: break-word;
|
|
230
|
-
|
|
231
|
-
&:first-child, &.align-left {
|
|
232
|
-
justify-content: flex-start;
|
|
233
|
-
text-align: left;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
// First column sticky
|
|
238
|
-
&__sticky-column & {
|
|
239
|
-
.itf-table__header:nth-child(1) {
|
|
240
|
-
position: sticky;
|
|
241
|
-
left: 0;
|
|
242
|
-
z-index: 5;
|
|
243
|
-
border-right: solid 1px var(--itf-table-border-color);
|
|
244
|
-
}
|
|
245
|
-
.itf-table__cell:nth-child(1) {
|
|
246
|
-
position: sticky;
|
|
247
|
-
left: 0;
|
|
248
|
-
z-index: 3;
|
|
249
|
-
border-right: solid 1px var(--itf-table-border-color);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
&__sticky-column &__header, &__sticky-column &__cell {
|
|
253
|
-
&:first-child {
|
|
254
|
-
&:before {
|
|
255
|
-
content: " ";
|
|
256
|
-
display: block;
|
|
257
|
-
//background: rgba(0, 0, 0, .1);
|
|
258
|
-
top: 0;
|
|
259
|
-
left: 100%;
|
|
260
|
-
width: 1px;
|
|
261
|
-
box-shadow: var(--itf-table-sticky-shadow1) 2px 0px 3px, var(--itf-table-sticky-shadow2) 2px 0px 3px;
|
|
262
|
-
height: 100%;
|
|
263
|
-
bottom: 0;
|
|
264
|
-
position: absolute;
|
|
265
|
-
opacity: 0;
|
|
266
|
-
transition: opacity .25s ease-in-out;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
.scrolled-x & {
|
|
271
|
-
.itf-table__header, .itf-table__cell {
|
|
272
|
-
&:first-child {
|
|
273
|
-
&:before {
|
|
274
|
-
opacity: 1;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
// Last column sticky
|
|
281
|
-
&__sticky-last-column & {
|
|
282
|
-
.itf-table__header:last-child {
|
|
283
|
-
position: sticky;
|
|
284
|
-
right: 0;
|
|
285
|
-
z-index: 5;
|
|
286
|
-
border-left: solid 1px var(--itf-table-border-color);
|
|
287
|
-
}
|
|
288
|
-
.itf-table__cell:last-child {
|
|
289
|
-
position: sticky;
|
|
290
|
-
right: 0;
|
|
291
|
-
z-index: 3;
|
|
292
|
-
border-left: solid 1px var(--itf-table-border-color);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
&__sticky-last-column &__header, &__sticky-column &__cell {
|
|
296
|
-
&:last-child {
|
|
297
|
-
&:before {
|
|
298
|
-
content: " ";
|
|
299
|
-
display: block;
|
|
300
|
-
//background: rgba(0, 0, 0, .1);
|
|
301
|
-
top: 0;
|
|
302
|
-
left: 0;
|
|
303
|
-
width: 1px;
|
|
304
|
-
box-shadow: var(--itf-table-sticky-shadow1) -2px 0px 3px, var(--itf-table-sticky-shadow2) -2px 0px 3px;
|
|
305
|
-
height: 100%;
|
|
306
|
-
bottom: 0;
|
|
307
|
-
position: absolute;
|
|
308
|
-
opacity: 1;
|
|
309
|
-
transition: opacity .25s ease-in-out;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
.scrolled-right & {
|
|
314
|
-
.itf-table__header, .itf-table__cell {
|
|
315
|
-
&:last-child {
|
|
316
|
-
&:before {
|
|
317
|
-
opacity: 0;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.scrolled-y & {
|
|
324
|
-
.scroller {
|
|
325
|
-
.itf-table__header {
|
|
326
|
-
border-top: 1px solid var(--itf-table-border-color);
|
|
327
|
-
}
|
|
328
|
-
&:after {
|
|
329
|
-
content: " ";
|
|
330
|
-
display: block;
|
|
331
|
-
left: 0;
|
|
332
|
-
right: 0;
|
|
333
|
-
background: rgba(0, 0, 0, .1);
|
|
334
|
-
height: calc(var(--itf-table-shadow-width) - 1px); // subtract 1px border-top
|
|
335
|
-
top: 100%;
|
|
336
|
-
position: absolute;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.table2.table-retrieve tbody tr td.value {
|
|
343
|
-
border: solid 1px transparent; }
|
|
344
|
-
|
|
345
|
-
.table2.table-border-hover tbody tr:hover td.value:hover,
|
|
346
|
-
.table2.table-retrieve tbody tr:hover td.value:hover {
|
|
347
|
-
border: solid 1px #64abdc !important;
|
|
348
|
-
cursor: pointer; }
|
|
349
|
-
</style>
|
|
350
71
|
<script>
|
|
351
72
|
import { Vue, Component, Prop, PropSync } from 'vue-property-decorator';
|
|
352
73
|
import itfButton from '../button/Button.vue';
|
|
@@ -42,21 +42,6 @@
|
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
</template>
|
|
45
|
-
<style lang="scss" scoped>
|
|
46
|
-
@import '../../assets/scss/variables';
|
|
47
|
-
//@import '~bootstrap/scss/button-group';
|
|
48
|
-
@import '../../assets/scss/input-addon';
|
|
49
|
-
|
|
50
|
-
.itf-text-field {
|
|
51
|
-
&__input {
|
|
52
|
-
border-radius: $input-border-radius !important;
|
|
53
|
-
}
|
|
54
|
-
.addon-end {
|
|
55
|
-
pointer-events: all;
|
|
56
|
-
padding-right: 0.25rem;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
</style>
|
|
60
45
|
<script>
|
|
61
46
|
import { Vue, Component, Model, Inject, Prop } from 'vue-property-decorator';
|
|
62
47
|
import itfIcon from '../icon/Icon';
|
|
@@ -26,36 +26,6 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
28
|
</template>
|
|
29
|
-
<style lang="scss" scoped>
|
|
30
|
-
@import '../../assets/scss/variables';
|
|
31
|
-
//@import '~bootstrap/scss/button-group';
|
|
32
|
-
@import '../../assets/scss/input-addon';
|
|
33
|
-
|
|
34
|
-
.itf-textarea {
|
|
35
|
-
position: relative;
|
|
36
|
-
|
|
37
|
-
&__input {
|
|
38
|
-
border-radius: $input-border-radius !important;
|
|
39
|
-
resize: none;
|
|
40
|
-
}
|
|
41
|
-
&__autogrow &__input {
|
|
42
|
-
position: absolute;
|
|
43
|
-
top: 0;
|
|
44
|
-
left: 0;
|
|
45
|
-
right: 0;
|
|
46
|
-
bottom: 0;
|
|
47
|
-
height: 100%;
|
|
48
|
-
width: 100%;
|
|
49
|
-
}
|
|
50
|
-
&__autogrow &__autogrow-text {
|
|
51
|
-
white-space: pre-line;
|
|
52
|
-
visibility: hidden;
|
|
53
|
-
min-height: 4rem;
|
|
54
|
-
max-height: 75vh; // жалувались, що коли багато тексту,
|
|
55
|
-
// то поле за межі вікна виходить і не зручно
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
</style>
|
|
59
29
|
<script>
|
|
60
30
|
import { Vue, Component, Model, Inject, Prop } from 'vue-property-decorator';
|
|
61
31
|
import itfIcon from '../icon/Icon';
|
|
@@ -18,25 +18,6 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
</template>
|
|
21
|
-
<style lang="scss">
|
|
22
|
-
@import '../../assets/scss/variables';
|
|
23
|
-
|
|
24
|
-
.itf-tree-view {
|
|
25
|
-
.itf-button {
|
|
26
|
-
&.depth-0 {
|
|
27
|
-
padding-left: $spacer;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.depth-1 {
|
|
31
|
-
padding-left: $spacer * 2;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.depth-2 {
|
|
35
|
-
padding-left: $spacer * 3;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
</style>
|
|
40
21
|
<script>
|
|
41
22
|
import { Vue, Component, Model, Inject, Prop } from 'vue-property-decorator';
|
|
42
23
|
import itfIcon from '../icon/Icon';
|