@itfin/components 1.2.31 → 1.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ITFComponents.common.js +0 -2
- package/dist/ITFComponents.common.js.map +1 -1
- package/dist/ITFComponents.umd.js +0 -2
- package/dist/ITFComponents.umd.js.map +1 -1
- package/package.json +16 -20
- 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/_css_variables.scss +17 -0
- package/src/assets/scss/_input-addon.scss +1 -1
- 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} +314 -1
- package/src/assets/scss/components/_dropdown.scss +78 -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 +7 -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 +24 -2
- package/src/components/alert/Alert.vue +0 -4
- 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/DatePickerInline.vue +11 -43
- package/src/components/datepicker/DateRangePicker.vue +0 -58
- package/src/components/datepicker/DateRangePickerInline.vue +10 -39
- package/src/components/datepicker/MonthPicker.vue +0 -34
- package/src/components/datepicker/PeriodPicker.vue +0 -97
- package/src/components/datepicker/index.stories.js +6 -6
- 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 +0 -70
- 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/directives/visible.js +1 -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
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--itf-table-background-color: #fff;
|
|
5
|
+
--itf-table-sticky-top: 0;
|
|
6
|
+
--itf-table-border-color: #e1e4e7;
|
|
7
|
+
--itf-table-hover-color: #f0f0f0;
|
|
8
|
+
--itf-table-strip-color: #f8f8f8;//#dadce033;
|
|
9
|
+
--itf-table-sorted-color: #f8f8f8;//#dadce033;
|
|
10
|
+
--itf-table-shadow-width: 3px;
|
|
11
|
+
--itf-table-row-cursor: default;
|
|
12
|
+
--itf-table-sticky-shadow1: rgb(0 0 0 / 16%);
|
|
13
|
+
--itf-table-sticky-shadow2: rgb(0 0 0 / 23%);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[data-theme="dark"] {
|
|
17
|
+
--itf-table-background-color: #{$dark-body-bg};
|
|
18
|
+
--itf-table-border-color: #666;
|
|
19
|
+
--itf-table-hover-color: #111;
|
|
20
|
+
--itf-table-strip-color: #222;
|
|
21
|
+
--itf-table-sorted-color: #444;
|
|
22
|
+
--itf-table-sticky-shadow1: rgb(255 255 255 / 16%);
|
|
23
|
+
--itf-table-sticky-shadow2: rgb(255 255 255 / 23%);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.itf-table {
|
|
27
|
+
width: 100%;
|
|
28
|
+
grid-template-columns: [col-start] auto [col-end];
|
|
29
|
+
grid-template-rows: [header-start] 56px [header-end row-start] auto [row-end];
|
|
30
|
+
|
|
31
|
+
&__wrapper {
|
|
32
|
+
margin-top: 10px;
|
|
33
|
+
margin-right: -30px;
|
|
34
|
+
background-color: var(--itf-table-background-color);
|
|
35
|
+
padding-right: 0;
|
|
36
|
+
//overflow: hidden;
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__headers {
|
|
41
|
+
.scroller {
|
|
42
|
+
overflow-x: hidden;
|
|
43
|
+
overflow-y: visible;
|
|
44
|
+
padding-bottom: 1px;
|
|
45
|
+
}
|
|
46
|
+
.itf-table__header-row {
|
|
47
|
+
display: grid;
|
|
48
|
+
grid-template-columns: var(--itf-table-template);
|
|
49
|
+
}
|
|
50
|
+
.itf-table__header.align-left > span {
|
|
51
|
+
justify-content: flex-start;
|
|
52
|
+
text-align: left;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
&__rows {
|
|
56
|
+
display: grid;
|
|
57
|
+
overflow: auto;
|
|
58
|
+
grid-template-columns: var(--itf-table-template);
|
|
59
|
+
padding-bottom: 10px;
|
|
60
|
+
|
|
61
|
+
& > .itf-table__row {
|
|
62
|
+
display: contents;
|
|
63
|
+
|
|
64
|
+
&:not(.itf-table__summary-row) {
|
|
65
|
+
cursor: var(--itf-table-row-cursor);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&--striped &__row:nth-child(even) &__cell {
|
|
71
|
+
background-color: var(--itf-table-strip-color);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__cell.itf-table__cell--sorted {
|
|
75
|
+
background-color: var(--itf-table-sorted-color);
|
|
76
|
+
}
|
|
77
|
+
&--hoverable &__rows{
|
|
78
|
+
& > .itf-table__row:not(.itf-table__summary-row) {
|
|
79
|
+
&:hover > .itf-table__cell,
|
|
80
|
+
&:hover > .itf-table__cell--sorted {
|
|
81
|
+
background-color: var(--itf-table-hover-color);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.itf-table__sticky-header &__headers {
|
|
87
|
+
position: sticky;
|
|
88
|
+
top: var(--itf-table-sticky-top);
|
|
89
|
+
z-index: 4;
|
|
90
|
+
|
|
91
|
+
.itf-table__header-row:last-child .itf-table__header {
|
|
92
|
+
&:after {
|
|
93
|
+
display: block;
|
|
94
|
+
content: ' ';
|
|
95
|
+
border-top: 1px solid var(--itf-table-border-color);
|
|
96
|
+
left: 0;
|
|
97
|
+
bottom: 0;
|
|
98
|
+
right: 0;
|
|
99
|
+
height: 0;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&__header {
|
|
105
|
+
background-color: var(--itf-table-background-color);
|
|
106
|
+
grid-row: header;
|
|
107
|
+
font-weight: 500;
|
|
108
|
+
&--sortable {
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
}
|
|
111
|
+
&--sorted {
|
|
112
|
+
background-color: var(--itf-table-sorted-color);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
& > span {
|
|
116
|
+
text-overflow: ellipsis;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
height: 100%;
|
|
119
|
+
display: block;
|
|
120
|
+
padding: 8px 10px;
|
|
121
|
+
text-align: right;
|
|
122
|
+
|
|
123
|
+
&:hover .com-table-sort-btn {
|
|
124
|
+
opacity: 1;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&:first-child > span {
|
|
129
|
+
text-align: left;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&__small &__header span, &__small &__cell {
|
|
134
|
+
padding: 4px 5px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&__summary-row &__cell {
|
|
138
|
+
padding-top: 2rem;
|
|
139
|
+
border-bottom: 1px solid var(--itf-table-border-color);
|
|
140
|
+
|
|
141
|
+
&:first-child {
|
|
142
|
+
font-weight: 500;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&--borders &__cell {
|
|
147
|
+
border-bottom: 1px solid var(--itf-table-border-color);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&__cell {
|
|
151
|
+
background-color: var(--itf-table-background-color);
|
|
152
|
+
padding: 8px 10px;
|
|
153
|
+
//border-left: 1px solid var(--itf-table-border-color);
|
|
154
|
+
align-items: center;
|
|
155
|
+
display: flex;
|
|
156
|
+
justify-content: end;
|
|
157
|
+
text-align: right;
|
|
158
|
+
word-break: break-word;
|
|
159
|
+
|
|
160
|
+
&:first-child, &.align-left {
|
|
161
|
+
justify-content: flex-start;
|
|
162
|
+
text-align: left;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// First column sticky
|
|
167
|
+
&__sticky-column & {
|
|
168
|
+
.itf-table__header:nth-child(1) {
|
|
169
|
+
position: sticky;
|
|
170
|
+
left: 0;
|
|
171
|
+
z-index: 5;
|
|
172
|
+
border-right: solid 1px var(--itf-table-border-color);
|
|
173
|
+
}
|
|
174
|
+
.itf-table__cell:nth-child(1) {
|
|
175
|
+
position: sticky;
|
|
176
|
+
left: 0;
|
|
177
|
+
z-index: 3;
|
|
178
|
+
border-right: solid 1px var(--itf-table-border-color);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
&__sticky-column &__header, &__sticky-column &__cell {
|
|
182
|
+
&:first-child {
|
|
183
|
+
&:before {
|
|
184
|
+
content: " ";
|
|
185
|
+
display: block;
|
|
186
|
+
//background: rgba(0, 0, 0, .1);
|
|
187
|
+
top: 0;
|
|
188
|
+
left: 100%;
|
|
189
|
+
width: 1px;
|
|
190
|
+
box-shadow: var(--itf-table-sticky-shadow1) 2px 0px 3px, var(--itf-table-sticky-shadow2) 2px 0px 3px;
|
|
191
|
+
height: 100%;
|
|
192
|
+
bottom: 0;
|
|
193
|
+
position: absolute;
|
|
194
|
+
opacity: 0;
|
|
195
|
+
transition: opacity .25s ease-in-out;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
.scrolled-x & {
|
|
200
|
+
.itf-table__header, .itf-table__cell {
|
|
201
|
+
&:first-child {
|
|
202
|
+
&:before {
|
|
203
|
+
opacity: 1;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// Last column sticky
|
|
210
|
+
&__sticky-last-column & {
|
|
211
|
+
.itf-table__header:last-child {
|
|
212
|
+
position: sticky;
|
|
213
|
+
right: 0;
|
|
214
|
+
z-index: 5;
|
|
215
|
+
border-left: solid 1px var(--itf-table-border-color);
|
|
216
|
+
}
|
|
217
|
+
.itf-table__cell:last-child {
|
|
218
|
+
position: sticky;
|
|
219
|
+
right: 0;
|
|
220
|
+
z-index: 3;
|
|
221
|
+
border-left: solid 1px var(--itf-table-border-color);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
&__sticky-last-column &__header, &__sticky-column &__cell {
|
|
225
|
+
&:last-child {
|
|
226
|
+
&:before {
|
|
227
|
+
content: " ";
|
|
228
|
+
display: block;
|
|
229
|
+
//background: rgba(0, 0, 0, .1);
|
|
230
|
+
top: 0;
|
|
231
|
+
left: 0;
|
|
232
|
+
width: 1px;
|
|
233
|
+
box-shadow: var(--itf-table-sticky-shadow1) -2px 0px 3px, var(--itf-table-sticky-shadow2) -2px 0px 3px;
|
|
234
|
+
height: 100%;
|
|
235
|
+
bottom: 0;
|
|
236
|
+
position: absolute;
|
|
237
|
+
opacity: 1;
|
|
238
|
+
transition: opacity .25s ease-in-out;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
.scrolled-right & {
|
|
243
|
+
.itf-table__header, .itf-table__cell {
|
|
244
|
+
&:last-child {
|
|
245
|
+
&:before {
|
|
246
|
+
opacity: 0;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.scrolled-y & {
|
|
253
|
+
.scroller {
|
|
254
|
+
.itf-table__header {
|
|
255
|
+
border-top: 1px solid var(--itf-table-border-color);
|
|
256
|
+
}
|
|
257
|
+
&:after {
|
|
258
|
+
content: " ";
|
|
259
|
+
display: block;
|
|
260
|
+
left: 0;
|
|
261
|
+
right: 0;
|
|
262
|
+
background: rgba(0, 0, 0, .1);
|
|
263
|
+
height: calc(var(--itf-table-shadow-width) - 1px); // subtract 1px border-top
|
|
264
|
+
top: 100%;
|
|
265
|
+
position: absolute;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.table2.table-retrieve tbody tr td.value {
|
|
272
|
+
border: solid 1px transparent; }
|
|
273
|
+
|
|
274
|
+
.table2.table-border-hover tbody tr:hover td.value:hover,
|
|
275
|
+
.table2.table-retrieve tbody tr:hover td.value:hover {
|
|
276
|
+
border: solid 1px #64abdc !important;
|
|
277
|
+
cursor: pointer;
|
|
278
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
3
|
+
.itf-text-field {
|
|
4
|
+
&__input {
|
|
5
|
+
border-radius: $input-border-radius !important;
|
|
6
|
+
}
|
|
7
|
+
.addon-end {
|
|
8
|
+
pointer-events: all;
|
|
9
|
+
padding-right: 0.25rem;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.itf-textarea {
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
&__input {
|
|
17
|
+
border-radius: $input-border-radius !important;
|
|
18
|
+
resize: none;
|
|
19
|
+
}
|
|
20
|
+
&__autogrow &__input {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
height: 100%;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
&__autogrow &__autogrow-text {
|
|
30
|
+
white-space: pre-line;
|
|
31
|
+
visibility: hidden;
|
|
32
|
+
min-height: 4rem;
|
|
33
|
+
max-height: 75vh; // жалувались, що коли багато тексту,
|
|
34
|
+
// то поле за межі вікна виходить і не зручно
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
3
|
+
.itf-toast-container.toast-container {
|
|
4
|
+
position: fixed;
|
|
5
|
+
z-index: $zindex-tooltip;
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
padding: 15px;
|
|
11
|
+
|
|
12
|
+
&.is-top-left,
|
|
13
|
+
&.is-top-center,
|
|
14
|
+
&.is-top-right {
|
|
15
|
+
width: 100%;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
}
|
|
19
|
+
&.is-top-left {
|
|
20
|
+
align-items: flex-start;
|
|
21
|
+
}
|
|
22
|
+
&.is-top-center {
|
|
23
|
+
align-items: center;
|
|
24
|
+
}
|
|
25
|
+
&.is-top-right {
|
|
26
|
+
align-items: flex-end;
|
|
27
|
+
}
|
|
28
|
+
&.is-center {
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
left: 0;
|
|
32
|
+
top: 0;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
}
|
|
36
|
+
&.is-bottom-left,
|
|
37
|
+
&.is-bottom-center,
|
|
38
|
+
&.is-bottom-right {
|
|
39
|
+
bottom: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
justify-content: flex-end;
|
|
43
|
+
}
|
|
44
|
+
&.is-bottom-left {
|
|
45
|
+
align-items: flex-start;
|
|
46
|
+
}
|
|
47
|
+
&.is-bottom-center {
|
|
48
|
+
align-items: center;
|
|
49
|
+
}
|
|
50
|
+
&.is-bottom-right {
|
|
51
|
+
align-items: flex-end;
|
|
52
|
+
}
|
|
53
|
+
&.has-mask {
|
|
54
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
pointer-events: all;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
.itf-toast-wrapper {
|
|
63
|
+
max-width: 100%;
|
|
64
|
+
}
|
|
65
|
+
.itf-toast-fade-enter-active {
|
|
66
|
+
animation: itf-toast-fade-in-down 0.3s;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.itf-toast-fade-leave-active {
|
|
70
|
+
animation: itf-toast-fade-out 0.3s;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@keyframes itf-toast-fade-in-down {
|
|
74
|
+
0% {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
transform: translateY(-20px);
|
|
77
|
+
}
|
|
78
|
+
100% {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
transform: translateY(0px);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@keyframes itf-toast-fade-out {
|
|
85
|
+
0% {
|
|
86
|
+
opacity: 1;
|
|
87
|
+
margin-top: 0;
|
|
88
|
+
}
|
|
89
|
+
100% {
|
|
90
|
+
opacity: 0;
|
|
91
|
+
margin-top: -45px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.itf-toast-message {
|
|
96
|
+
z-index: $zindex-toaster;
|
|
97
|
+
}
|
|
File without changes
|
package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_pdf_viewer.scss
RENAMED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
overflow: visible;
|
|
26
26
|
border: 9px solid transparent;
|
|
27
27
|
background-clip: content-box;
|
|
28
|
-
border-image: url(
|
|
28
|
+
border-image: url(/3rdparty/pdf-viewer/shadow.png) 9 9 repeat;
|
|
29
29
|
background-color: rgba(255, 255, 255, 1);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
top: 0;
|
|
103
103
|
right: 0;
|
|
104
104
|
bottom: 0;
|
|
105
|
-
background: url(
|
|
105
|
+
background: url(/3rdparty/pdf-viewer/loading-icon.svg) center no-repeat;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.pdf-app .pdfPresentationMode .pdfViewer {
|
|
File without changes
|
package/src/{components/pdf-viewer/styles → assets/scss/components/pdf-viewer}/_variables.scss
RENAMED
|
File without changes
|
|
@@ -371,7 +371,7 @@ html[dir="rtl"] .pdf-app .findbar {
|
|
|
371
371
|
}
|
|
372
372
|
.pdf-app #findInput[data-status="pending"] {
|
|
373
373
|
background-size: 16px;
|
|
374
|
-
background-image: url(
|
|
374
|
+
background-image: url(/3rdparty/pdf-viewer/loading-icon.svg);
|
|
375
375
|
background-repeat: no-repeat;
|
|
376
376
|
background-position: right;
|
|
377
377
|
}
|
|
@@ -791,10 +791,11 @@ html[dir="rtl"] .pdf-app .verticalToolbarSeparator {
|
|
|
791
791
|
min-width: 16px;
|
|
792
792
|
text-align: right;
|
|
793
793
|
width: 40px;
|
|
794
|
+
min-height: auto;
|
|
794
795
|
}
|
|
795
796
|
|
|
796
797
|
.pdf-app .toolbarField.pageNumber.visiblePageIsLoading {
|
|
797
|
-
background-image: url(
|
|
798
|
+
background-image: url(/3rdparty/pdf-viewer/loading-icon.svg);
|
|
798
799
|
background-repeat: no-repeat;
|
|
799
800
|
background-position: 1px;
|
|
800
801
|
background-size: 16px;
|
|
@@ -952,12 +953,12 @@ html[dir="rtl"] .pdf-app .attachmentsItem > button {
|
|
|
952
953
|
color: rgba(255, 255, 255, 0.5);
|
|
953
954
|
}
|
|
954
955
|
.pdf-app .outlineItemToggler::before {
|
|
955
|
-
content: url(
|
|
956
|
+
content: url(/3rdparty/pdf-viewer/treeitem-expanded.png);
|
|
956
957
|
display: inline-block;
|
|
957
958
|
position: absolute;
|
|
958
959
|
}
|
|
959
960
|
.pdf-app .outlineItemToggler.outlineItemsHidden::before {
|
|
960
|
-
content: url(
|
|
961
|
+
content: url(/3rdparty/pdf-viewer/treeitem-collapsed.png);
|
|
961
962
|
}
|
|
962
963
|
html[dir="rtl"] .pdf-app .outlineItemToggler.outlineItemsHidden::before {
|
|
963
964
|
transform: scaleX(-1);
|
|
@@ -1253,10 +1254,10 @@ html[dir="rtl"] .pdf-app #documentPropertiesOverlay .row > * {
|
|
|
1253
1254
|
.pdf-app .outlineItemToggler::before {
|
|
1254
1255
|
transform: scale(0.5);
|
|
1255
1256
|
top: -1px;
|
|
1256
|
-
content: url(
|
|
1257
|
+
content: url(/3rdparty/pdf-viewer/treeitem-expanded@2x.png);
|
|
1257
1258
|
}
|
|
1258
1259
|
.pdf-app .outlineItemToggler.outlineItemsHidden::before {
|
|
1259
|
-
content: url(
|
|
1260
|
+
content: url(/3rdparty/pdf-viewer/treeitem-collapsed@2x.png);
|
|
1260
1261
|
}
|
|
1261
1262
|
html[dir="rtl"] .pdf-app .outlineItemToggler.outlineItemsHidden::before {
|
|
1262
1263
|
transform: scaleX(-1) scale(0.5);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
@import './
|
|
1
|
+
@import './css_variables.scss';
|
|
2
2
|
@import './fonts.scss';
|
|
3
3
|
@import './dark-theme.scss';
|
|
4
4
|
@import './scrollbar';
|
|
5
|
+
@import './components/toaster';
|
|
6
|
+
@import './components/avatar';
|
|
7
|
+
@import './components/button';
|
|
8
|
+
@import './components/card';
|
|
9
|
+
@import './components/checkbox';
|
|
10
|
+
@import './components/datepicker';
|
|
11
|
+
@import './components/dropdown';
|
|
12
|
+
@import './components/form';
|
|
13
|
+
@import './components/icon';
|
|
14
|
+
@import './components/modal';
|
|
15
|
+
@import './components/pagination';
|
|
16
|
+
@import './components/pdf-viewer';
|
|
17
|
+
@import './components/popover';
|
|
18
|
+
@import './components/segmeneted-control';
|
|
19
|
+
@import './components/select';
|
|
20
|
+
@import './components/table';
|
|
21
|
+
@import './components/tabs';
|
|
22
|
+
@import './components/text-field';
|
|
23
|
+
@import './components/tree-view';
|
|
24
|
+
@import './components/wizard';
|
|
25
|
+
@import './directives/loading';
|
|
26
|
+
@import './directives/tooltip';
|
|
5
27
|
|
|
6
28
|
.form-control {
|
|
7
29
|
min-height: 2.5rem;
|
|
@@ -18,7 +40,7 @@
|
|
|
18
40
|
}
|
|
19
41
|
|
|
20
42
|
.color-income {
|
|
21
|
-
color:
|
|
43
|
+
color: var(--color-income) !important;
|
|
22
44
|
}
|
|
23
45
|
|
|
24
46
|
.color-outcome {
|
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
</template>
|
|
12
|
-
<style lang="scss">
|
|
13
|
-
@import '../../assets/scss/variables';
|
|
14
|
-
//@import '~bootstrap/scss/alert';
|
|
15
|
-
</style>
|
|
16
12
|
<script>
|
|
17
13
|
import { Vue, Component, Prop } from 'vue-property-decorator';
|
|
18
14
|
import itfIcon from '../icon/Icon';
|
|
@@ -3,72 +3,6 @@
|
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
6
|
-
<style lang="scss">
|
|
7
|
-
@import '../../assets/scss/main';
|
|
8
|
-
//@import '~bootstrap/scss/reboot';
|
|
9
|
-
//@import '~bootstrap/scss/type';
|
|
10
|
-
//@import '~bootstrap/scss/root';
|
|
11
|
-
//@import '~bootstrap/scss/toasts';
|
|
12
|
-
//@import '~bootstrap/scss/close';
|
|
13
|
-
|
|
14
|
-
.itf-toast-container.toast-container {
|
|
15
|
-
position: fixed;
|
|
16
|
-
z-index: $zindex-tooltip;
|
|
17
|
-
pointer-events: none;
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
padding: 15px;
|
|
22
|
-
|
|
23
|
-
&.is-top-left,
|
|
24
|
-
&.is-top-center,
|
|
25
|
-
&.is-top-right {
|
|
26
|
-
width: 100%;
|
|
27
|
-
top: 0;
|
|
28
|
-
left: 0;
|
|
29
|
-
}
|
|
30
|
-
&.is-top-left {
|
|
31
|
-
align-items: flex-start;
|
|
32
|
-
}
|
|
33
|
-
&.is-top-center {
|
|
34
|
-
align-items: center;
|
|
35
|
-
}
|
|
36
|
-
&.is-top-right {
|
|
37
|
-
align-items: flex-end;
|
|
38
|
-
}
|
|
39
|
-
&.is-center {
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: 100%;
|
|
42
|
-
left: 0;
|
|
43
|
-
top: 0;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
}
|
|
47
|
-
&.is-bottom-left,
|
|
48
|
-
&.is-bottom-center,
|
|
49
|
-
&.is-bottom-right {
|
|
50
|
-
bottom: 0;
|
|
51
|
-
left: 0;
|
|
52
|
-
width: 100%;
|
|
53
|
-
justify-content: flex-end;
|
|
54
|
-
}
|
|
55
|
-
&.is-bottom-left {
|
|
56
|
-
align-items: flex-start;
|
|
57
|
-
}
|
|
58
|
-
&.is-bottom-center {
|
|
59
|
-
align-items: center;
|
|
60
|
-
}
|
|
61
|
-
&.is-bottom-right {
|
|
62
|
-
align-items: flex-end;
|
|
63
|
-
}
|
|
64
|
-
&.has-mask {
|
|
65
|
-
background-color: rgba(255, 255, 255, 0.5);
|
|
66
|
-
width: 100%;
|
|
67
|
-
height: 100%;
|
|
68
|
-
pointer-events: all;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
</style>
|
|
72
6
|
<script>
|
|
73
7
|
import { Vue, Component } from 'vue-property-decorator';
|
|
74
8
|
import Message from './message';
|