@arsedizioni/ars-utils 18.1.74 → 18.1.76
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/clipper.common/common/common.module.d.ts +1 -2
- package/clipper.common/common/definitions.d.ts +317 -0
- package/clipper.common/common/interceptors/auth.interceptor.d.ts +2 -5
- package/clipper.common/common/messages.d.ts +4 -0
- package/clipper.common/common/services/clipper.service.d.ts +12 -36
- package/clipper.ui/{ui/document/documents.d.ts → documents.d.ts} +2 -6
- package/clipper.ui/public_api.d.ts +6 -5
- package/clipper.ui/ui/browser-dialog/browser-dialog.component.d.ts +30 -143
- package/clipper.ui/ui/clipper.scss +270 -106
- package/clipper.ui/ui/document/document.component.d.ts +64 -118
- package/clipper.ui/ui/document-index/document-index.component.d.ts +34 -0
- package/clipper.ui/ui/document-manager/document-manager.d.ts +126 -0
- package/clipper.ui/ui/document-menu/document-menu.component.d.ts +28 -0
- package/clipper.ui/ui/references/references.component.d.ts +39 -73
- package/clipper.ui/ui/search-calendar/search-calendar.component.d.ts +40 -0
- package/clipper.ui/ui/search-dialog/search-dialog.component.d.ts +37 -40
- package/clipper.ui/ui/search-facets/search-facets.component.d.ts +22 -70
- package/clipper.ui/ui/search-free-text-help/search-free-text-help.component.d.ts +0 -1
- package/clipper.ui/ui/search-free-text-query-builder/search-free-text-query-builder.component.d.ts +8 -12
- package/clipper.ui/ui/search-result-item/search-result-item.component.d.ts +6 -4
- package/clipper.ui/ui/search-result-manager/search-result-manager.d.ts +147 -0
- package/esm2022/clipper.common/common/common.module.mjs +2 -3
- package/esm2022/clipper.common/common/definitions.mjs +1536 -0
- package/esm2022/clipper.common/common/interceptors/auth.interceptor.mjs +15 -15
- package/esm2022/clipper.common/common/messages.mjs +6 -1
- package/esm2022/clipper.common/common/services/clipper.service.mjs +65 -65
- package/esm2022/clipper.ui/documents.mjs +51 -0
- package/esm2022/clipper.ui/public_api.mjs +7 -6
- package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +320 -785
- package/esm2022/clipper.ui/ui/document/document.component.mjs +213 -320
- package/esm2022/clipper.ui/ui/document-index/document-index.component.mjs +121 -0
- package/esm2022/clipper.ui/ui/document-manager/document-manager.mjs +431 -0
- package/esm2022/clipper.ui/ui/document-menu/document-menu.component.mjs +56 -0
- package/esm2022/clipper.ui/ui/references/references.component.mjs +244 -438
- package/esm2022/clipper.ui/ui/search-calendar/search-calendar.component.mjs +116 -0
- package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +216 -205
- package/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +157 -209
- package/esm2022/clipper.ui/ui/search-free-text-help/search-free-text-help.component.mjs +7 -8
- package/esm2022/clipper.ui/ui/search-free-text-query-builder/search-free-text-query-builder.component.mjs +22 -23
- package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +12 -10
- package/esm2022/clipper.ui/ui/search-result-manager/search-result-manager.mjs +462 -0
- package/esm2022/help/components/help-viewer/help-viewer.component.mjs +25 -28
- package/esm2022/support.common/common/definitions.mjs +21 -0
- package/esm2022/support.common/common/services/support.service.mjs +9 -7
- package/esm2022/support.common/public_api.mjs +2 -2
- package/esm2022/support.ui/ui/notifications-browser/notification/notification.component.mjs +3 -3
- package/esm2022/support.ui/ui/notifications-browser/notifications-browser.component.mjs +4 -5
- package/esm2022/ui/ui/dialogs/busy/busy-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/confirm/confirm-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/credentials/credentials-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/info/info-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/recover-password/recover-password-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/reset-password/reset-password-dialog.component.mjs +3 -3
- package/esm2022/ui.application/public_api.mjs +4 -1
- package/esm2022/ui.application/ui/components/button-selector/button-selector.component.mjs +163 -0
- package/esm2022/ui.application/ui/components/button-toggle/button-toggle.component.mjs +47 -0
- package/esm2022/ui.application/ui/components/chips-selector/chips-selector.component.mjs +239 -0
- package/esm2022/ui.application/ui/components/file-preview/file-preview.component.mjs +23 -24
- package/esm2022/ui.application/ui/components/filter-bar/filter-bar.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select-file/select-file-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select-tree/select-tree-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/send-to/send-to-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/messages.mjs +3 -3
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +1608 -1507
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +2283 -2407
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +25 -28
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +8 -6
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +5 -6
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +450 -47
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +12 -12
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/help/components/help-viewer/help-viewer.component.d.ts +6 -10
- package/package.json +13 -13
- package/styles/ui.scss +140 -0
- package/support.common/common/services/support.service.d.ts +2 -2
- package/support.common/public_api.d.ts +1 -1
- package/ui.application/public_api.d.ts +3 -0
- package/ui.application/ui/components/button-selector/button-selector.component.d.ts +49 -0
- package/ui.application/ui/components/button-toggle/button-toggle.component.d.ts +26 -0
- package/ui.application/ui/components/chips-selector/chips-selector.component.d.ts +70 -0
- package/ui.application/ui/components/file-preview/file-preview.component.d.ts +4 -8
- package/ui.application/ui/messages.d.ts +2 -2
- package/clipper.common/common/clipper.d.ts +0 -119
- package/clipper.common/common/search.d.ts +0 -49
- package/clipper.ui/ui/document/base/document-base.component.d.ts +0 -38
- package/clipper.ui/ui/document/document-index/document-index.component.d.ts +0 -38
- package/clipper.ui/ui/document/document-menu/document-menu.component.d.ts +0 -30
- package/clipper.ui/ui/last-15-days/last-15-days.component.d.ts +0 -41
- package/esm2022/clipper.common/common/clipper.mjs +0 -1371
- package/esm2022/clipper.common/common/search.mjs +0 -69
- package/esm2022/clipper.ui/ui/document/base/document-base.component.mjs +0 -194
- package/esm2022/clipper.ui/ui/document/document-index/document-index.component.mjs +0 -121
- package/esm2022/clipper.ui/ui/document/document-menu/document-menu.component.mjs +0 -88
- package/esm2022/clipper.ui/ui/document/documents.mjs +0 -49
- package/esm2022/clipper.ui/ui/last-15-days/last-15-days.component.mjs +0 -107
- package/esm2022/help/components/help-search-query-builder/help-search-query-builder.component.mjs +0 -114
- package/esm2022/support.common/common/support.mjs +0 -21
- package/esm2022/ui.oauth/ui/components/login/loginOAuth.component.mjs +0 -198
- package/help/components/help-search-query-builder/help-search-query-builder.component.d.ts +0 -29
- package/help/help.scss +0 -72
- package/ui.oauth/ui/components/login/loginOAuth.component.d.ts +0 -38
- /package/support.common/common/{support.d.ts → definitions.d.ts} +0 -0
|
@@ -1,153 +1,317 @@
|
|
|
1
1
|
@import '../../styles/ui.scss';
|
|
2
2
|
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
line-height: 18px;
|
|
3
|
+
.expired,
|
|
4
|
+
.unread {
|
|
5
|
+
color: var(--ars-error, #ff5449) !important;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
.
|
|
10
|
-
|
|
8
|
+
.expiring {
|
|
9
|
+
color: var(--ars-warning, #FFC107) !important;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
.
|
|
15
|
-
|
|
12
|
+
.error-bg,
|
|
13
|
+
.expired-bg,
|
|
14
|
+
.unread-bg {
|
|
15
|
+
background-color: var(--ars-error, #ff5449);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.command a {
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
color: #2a91e0;
|
|
25
|
-
font-weight: 500;
|
|
26
|
-
cursor: pointer !important;
|
|
27
|
-
}
|
|
18
|
+
.expiring-bg {
|
|
19
|
+
background-color: var(--ars-warning, #FFC107);
|
|
20
|
+
}
|
|
28
21
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
22
|
+
.popular-bg {
|
|
23
|
+
background-color: #388E3C;
|
|
32
24
|
}
|
|
33
25
|
|
|
34
|
-
.
|
|
35
|
-
color: #
|
|
36
|
-
opacity: 1 !important;
|
|
37
|
-
cursor: pointer;
|
|
26
|
+
.very-popular-bg {
|
|
27
|
+
background-color: #4CAF50;
|
|
38
28
|
}
|
|
39
29
|
|
|
40
|
-
.item-
|
|
41
|
-
|
|
30
|
+
.item-selected {
|
|
31
|
+
background-color: var(--ars-item-selected-background-color, #ced1d2);
|
|
32
|
+
border-radius: 0 !important;
|
|
42
33
|
}
|
|
43
34
|
|
|
44
|
-
.item-
|
|
45
|
-
font-weight:
|
|
46
|
-
font-size: 1em;
|
|
47
|
-
color: black;
|
|
35
|
+
.item-unread {
|
|
36
|
+
font-weight: bolder;
|
|
48
37
|
}
|
|
49
38
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
color:
|
|
39
|
+
|
|
40
|
+
.items-group-title {
|
|
41
|
+
color: var(--ars-accent, #7894ae);
|
|
42
|
+
font-size: large;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
padding-left: 25px;
|
|
45
|
+
padding-bottom: 10px;
|
|
46
|
+
padding-top: 10px;
|
|
47
|
+
|
|
48
|
+
.spaced {
|
|
49
|
+
padding-top: 10px;
|
|
50
|
+
}
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
|
|
54
|
+
.items-footer {
|
|
55
|
+
padding-top: 10px;
|
|
56
|
+
|
|
58
57
|
}
|
|
59
58
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
.item {
|
|
62
|
+
border-radius: 12px;
|
|
63
|
+
padding: 10px 0 10px 0;
|
|
64
|
+
min-height: 60px !important;
|
|
65
|
+
margin-bottom: 2px;
|
|
66
|
+
|
|
67
|
+
.item-content {
|
|
68
|
+
.info-1 {
|
|
69
|
+
font-size: x-small;
|
|
70
|
+
font-weight: 700;
|
|
71
|
+
text-transform: uppercase;
|
|
72
|
+
color: var(--ars-accent, #7894ae);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
.info-2 {
|
|
77
|
+
font-size: x-small;
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
text-transform: uppercase;
|
|
80
|
+
color: var(--ars-accent-low, #456179);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.title {
|
|
84
|
+
font-size: small;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
.details {
|
|
89
|
+
margin-top: 4px;
|
|
90
|
+
font-size: x-small;
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
color: var(--ars-accent-low, #456179);
|
|
93
|
+
text-transform: uppercase;
|
|
94
|
+
border-left: 4px solid var(--ars-accent-low, #456179);
|
|
95
|
+
padding-left: 10px;
|
|
96
|
+
|
|
97
|
+
.links {
|
|
98
|
+
text-transform: none;
|
|
99
|
+
text-decoration: none;
|
|
100
|
+
|
|
101
|
+
a,
|
|
102
|
+
span,
|
|
103
|
+
div {
|
|
104
|
+
margin-right: 8px;
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
color: var(--ars-color-text, #191c1b);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
a {
|
|
110
|
+
cursor: pointer !important;
|
|
111
|
+
color: var(--ars-link, #03A9F4);
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
a.link {
|
|
118
|
+
color: var(--ars-link, #03A9F4);
|
|
119
|
+
cursor: pointer !important;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
63
122
|
}
|
|
64
123
|
|
|
65
|
-
.item
|
|
66
|
-
|
|
67
|
-
|
|
124
|
+
.item:hover {
|
|
125
|
+
background-color: var(--ars-item-hover-background-color, #eaecef);
|
|
126
|
+
|
|
127
|
+
.item-content {
|
|
128
|
+
-webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
|
|
129
|
+
mask-image: linear-gradient(to right, black 85%, transparent 100%);
|
|
130
|
+
}
|
|
131
|
+
|
|
68
132
|
}
|
|
69
133
|
|
|
70
|
-
.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
margin-left: 10px;
|
|
74
|
-
padding-left: 10px;
|
|
75
|
-
border-left: 2px solid #009688;
|
|
134
|
+
.tile:hover {
|
|
135
|
+
background-color: var(--ars-item-hover-background-color, #eaecef);
|
|
136
|
+
border-radius: 12px;
|
|
76
137
|
}
|
|
77
138
|
|
|
78
|
-
.
|
|
79
|
-
|
|
139
|
+
.tile {
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
padding: 10px 13px 10px 13px;
|
|
142
|
+
margin-bottom: 2px;
|
|
80
143
|
|
|
81
|
-
.
|
|
82
|
-
|
|
83
|
-
color: #2a91e0;
|
|
84
|
-
cursor: pointer !important;
|
|
85
|
-
opacity: 1 !important;
|
|
144
|
+
.body {
|
|
145
|
+
padding: 4px 6px;
|
|
86
146
|
}
|
|
87
147
|
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
|
|
148
|
+
.image-mark {
|
|
149
|
+
border-top: 6px solid transparent;
|
|
150
|
+
margin: 0 8px;
|
|
151
|
+
|
|
91
152
|
}
|
|
92
|
-
}
|
|
93
153
|
|
|
94
|
-
.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
154
|
+
.image-mark-unread {
|
|
155
|
+
border-top-color: var(--ars-error, #ff5449);
|
|
156
|
+
margin: 0 8px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.image {
|
|
160
|
+
height: 180px;
|
|
161
|
+
position: relative;
|
|
162
|
+
background-color: transparent;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
display: flex;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
align-items: center;
|
|
167
|
+
border-radius: 8px;
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
.img {
|
|
171
|
+
object-fit: cover;
|
|
172
|
+
width: 100%;
|
|
173
|
+
height: 100%;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
.info-1 {
|
|
179
|
+
position: absolute;
|
|
180
|
+
left: 0;
|
|
181
|
+
bottom: 0;
|
|
182
|
+
padding: 4px 8px;
|
|
183
|
+
background-color: var(--ars-item-opaque-background-color, rgba(255, 255, 255, 0.75));
|
|
184
|
+
color: var(--ars-color-text, #191c1b);
|
|
185
|
+
font-size: small;
|
|
186
|
+
font-weight: 700;
|
|
187
|
+
text-transform: uppercase;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.info-2 {
|
|
191
|
+
position: absolute;
|
|
192
|
+
right: 0;
|
|
193
|
+
top: 0;
|
|
194
|
+
padding: 4px 8px;
|
|
195
|
+
background-color: var(--ars-item-opaque-background-color, rgba(255, 255, 255, 0.75));
|
|
196
|
+
color: var(--ars-accent, #7894ae);
|
|
197
|
+
font-size: small;
|
|
198
|
+
font-weight: 700;
|
|
199
|
+
text-transform: uppercase;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
.check {
|
|
204
|
+
position: absolute;
|
|
205
|
+
left: 0;
|
|
206
|
+
top: 0;
|
|
207
|
+
height: 42px;
|
|
208
|
+
width: 42px;
|
|
209
|
+
background-color: var(--ars-primary, #00a293);
|
|
210
|
+
color: var(--ars-color-text-low, #e0e2e5);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.check-selected {
|
|
214
|
+
background-color: var(--ars-primary-hi, #12c0ae);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.read {
|
|
218
|
+
position: absolute;
|
|
219
|
+
right: 0;
|
|
220
|
+
top: 0;
|
|
221
|
+
height: 42px;
|
|
222
|
+
width: 42px;
|
|
223
|
+
background-color: var(--ars-primary, #00a293);
|
|
224
|
+
color: var(--ars-color-text-low, #e0e2e5);
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.badge,
|
|
231
|
+
.badge-red {
|
|
232
|
+
margin-left: 10px;
|
|
233
|
+
padding: 1px 4px;
|
|
234
|
+
border-radius: 3px;
|
|
235
|
+
font-size: x-small;
|
|
236
|
+
font-weight: 700;
|
|
237
|
+
text-align: center;
|
|
238
|
+
background-color: var(--ars-accent, #7894ae);
|
|
239
|
+
text-transform: uppercase;
|
|
240
|
+
white-space: nowrap;
|
|
241
|
+
color: var(--ars-color-text-low, #e0e2e5);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.badge-red {
|
|
245
|
+
background-color: var(--ars-error, #ff5449);
|
|
246
|
+
color: var(--ars-color-text-low, #e0e2e5);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.date {
|
|
250
|
+
padding: 8px 0 6px 0;
|
|
251
|
+
font-weight: 700;
|
|
252
|
+
text-transform: uppercase;
|
|
253
|
+
|
|
254
|
+
.date-day {
|
|
255
|
+
color: var(--ars-accent, #7894ae);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.date-divider {
|
|
259
|
+
width: 1px;
|
|
260
|
+
margin: 0 8px;
|
|
261
|
+
border-left: 1px solid var(--ars-color-divider, #757d87);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.time {
|
|
266
|
+
font-size: small;
|
|
267
|
+
font-weight: 700;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.title {
|
|
271
|
+
text-decoration: none;
|
|
272
|
+
font-size: small;
|
|
273
|
+
min-height: 72px; // 4 lines;
|
|
274
|
+
overflow: hidden;
|
|
275
|
+
}
|
|
101
276
|
|
|
102
|
-
.items-group-title {
|
|
103
|
-
line-height: 24px;
|
|
104
|
-
padding: 20px 10px 10px 20px;
|
|
105
|
-
font-weight: 500;
|
|
106
|
-
font-size: 19.2px;
|
|
107
|
-
}
|
|
108
277
|
|
|
109
|
-
.items-footer {
|
|
110
|
-
padding-top: 10px;
|
|
111
278
|
}
|
|
112
279
|
|
|
113
|
-
.
|
|
114
|
-
|
|
115
|
-
padding-left: 15px;
|
|
116
|
-
margin-bottom: 4px;
|
|
280
|
+
.busy-backdrop {
|
|
281
|
+
background-color: rgba(0, 0, 0, 0.32) !important;
|
|
117
282
|
}
|
|
118
283
|
|
|
119
|
-
|
|
120
|
-
|
|
284
|
+
|
|
285
|
+
.legend-container {
|
|
286
|
+
display: flex;
|
|
287
|
+
flex-direction: row;
|
|
288
|
+
align-items: center;
|
|
289
|
+
font-size: x-small;
|
|
290
|
+
text-transform: uppercase;
|
|
121
291
|
font-weight: 500;
|
|
122
|
-
|
|
123
|
-
}
|
|
292
|
+
margin-left: 10px;
|
|
124
293
|
|
|
125
|
-
.item-greyed-1 {
|
|
126
|
-
color: #607d8b;
|
|
127
|
-
}
|
|
128
294
|
|
|
129
|
-
.
|
|
130
|
-
|
|
131
|
-
|
|
295
|
+
.legend {
|
|
296
|
+
display: inline-block;
|
|
297
|
+
height: 8px;
|
|
298
|
+
width: 8px;
|
|
299
|
+
margin-right: 4px;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.next {
|
|
303
|
+
margin-left: 8px;
|
|
304
|
+
}
|
|
132
305
|
|
|
133
|
-
.item-accent {
|
|
134
|
-
color: #0d7066;
|
|
135
306
|
}
|
|
136
307
|
|
|
137
|
-
.
|
|
138
|
-
|
|
308
|
+
.special-date,
|
|
309
|
+
.special-date-expired {
|
|
310
|
+
border: 2px var(--ars-accent, #7894ae) solid !important;
|
|
311
|
+
border-radius: 100% !important;
|
|
139
312
|
}
|
|
140
313
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
padding: 0 4px;
|
|
145
|
-
height: 12px;
|
|
146
|
-
line-height: 12px;
|
|
147
|
-
border-radius: 3px;
|
|
148
|
-
font-size: x-small;
|
|
149
|
-
font-weight: 500;
|
|
150
|
-
text-align: center;
|
|
151
|
-
background-color: orange;
|
|
152
|
-
color: black;
|
|
314
|
+
|
|
315
|
+
.special-date-expired {
|
|
316
|
+
border: 2px var(--ars-error, #ff5449) solid !important;
|
|
153
317
|
}
|
|
@@ -1,56 +1,58 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
-
import { Router } from '@angular/router';
|
|
7
|
-
import { BroadcastService } from '@arsedizioni/ars-utils/core';
|
|
8
|
-
import { ClipperService } from '@arsedizioni/ars-utils/clipper.common';
|
|
9
|
-
import { ClipperDocumentBaseComponent } from './base/document-base.component';
|
|
10
|
-
import { DialogService } from '@arsedizioni/ars-utils/ui';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDrawer } from '@angular/material/sidenav';
|
|
3
|
+
import { ClipperDocumentInfo, ClipperDocumentRelevants } from '@arsedizioni/ars-utils/clipper.common';
|
|
4
|
+
import { ClipperDocumentManager } from '../document-manager/document-manager';
|
|
11
5
|
import * as i0 from "@angular/core";
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
sanitizer: DomSanitizer;
|
|
20
|
-
dialogRef: MatDialogRef<ClipperDocumentComponent>;
|
|
21
|
-
relevantsSidenav: MatSidenav;
|
|
6
|
+
export interface ClipperDocumentDialogData {
|
|
7
|
+
selectionMode: number;
|
|
8
|
+
id: string;
|
|
9
|
+
query?: string | null;
|
|
10
|
+
}
|
|
11
|
+
export declare class ClipperDocumentComponent extends ClipperDocumentManager implements OnInit, OnDestroy {
|
|
12
|
+
relevantsPane: MatDrawer;
|
|
22
13
|
closing: EventEmitter<any>;
|
|
23
14
|
opening: EventEmitter<any>;
|
|
24
15
|
onComplianceAnalysis: EventEmitter<any>;
|
|
25
16
|
onCompliancePlanning: EventEmitter<any>;
|
|
26
17
|
onComplianceUsageReport: EventEmitter<any>;
|
|
27
|
-
private
|
|
18
|
+
private unsubscribe;
|
|
19
|
+
private changeDetector;
|
|
20
|
+
private breakpointObserver;
|
|
21
|
+
private renderer;
|
|
28
22
|
private rendererListener1;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
mq: string;
|
|
45
|
-
isDeadline: boolean;
|
|
46
|
-
isLawInForce: boolean;
|
|
47
|
-
constructor($broadcast: BroadcastService, $dialog: DialogService, $clipper: ClipperService, media: MediaObserver, renderer: Renderer2, router: Router, sanitizer: DomSanitizer, dialogRef: MatDialogRef<ClipperDocumentComponent>, _data: any);
|
|
23
|
+
private router;
|
|
24
|
+
private dialogRef;
|
|
25
|
+
protected dialogData: ClipperDocumentDialogData;
|
|
26
|
+
private height;
|
|
27
|
+
protected url: import("@angular/core").WritableSignal<string>;
|
|
28
|
+
protected title: import("@angular/core").WritableSignal<string>;
|
|
29
|
+
protected busy: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
+
protected lastQuery?: string | null;
|
|
31
|
+
protected lastDocument?: ClipperDocumentInfo | null;
|
|
32
|
+
protected relevants: ClipperDocumentRelevants;
|
|
33
|
+
protected relevantsPaneHasBackdrop: boolean;
|
|
34
|
+
protected relevantsPaneClosed: boolean;
|
|
35
|
+
protected relevantsBusy: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
private relevantDocumentId;
|
|
37
|
+
protected selectionMode?: number | null;
|
|
48
38
|
ngOnInit(): void;
|
|
49
39
|
ngOnDestroy(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Resize
|
|
42
|
+
*/
|
|
43
|
+
private resize;
|
|
44
|
+
/**
|
|
45
|
+
* Show hide relevants pane manually
|
|
46
|
+
*/
|
|
47
|
+
protected toggleRelevantsPane(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Handle filter pane visibility
|
|
50
|
+
*/
|
|
51
|
+
private handleRelevantsPaneVisibility;
|
|
50
52
|
/**
|
|
51
53
|
* Close dialog
|
|
52
54
|
*/
|
|
53
|
-
close(): void;
|
|
55
|
+
protected close(): void;
|
|
54
56
|
/**
|
|
55
57
|
* Navigate to a new document
|
|
56
58
|
* @param id : the document id
|
|
@@ -61,86 +63,51 @@ export declare class ClipperDocumentComponent extends ClipperDocumentBaseCompone
|
|
|
61
63
|
* @param url : the url to navigate to
|
|
62
64
|
*/
|
|
63
65
|
navigateByUrl(url: string): void;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
moduleId: number, // Module
|
|
69
|
-
moduleName: string, // Module name
|
|
70
|
-
date: string, // Date
|
|
71
|
-
number: string, // Number
|
|
72
|
-
author: string, // Author
|
|
73
|
-
origin: string, // Origin
|
|
74
|
-
originDescription: string, // Origin description
|
|
75
|
-
bag: string, // Flags
|
|
76
|
-
validityInfo: string, // Info about validity
|
|
77
|
-
expiringInfo: string, // Info about expiring date
|
|
78
|
-
primaryId: string, // Primary document id
|
|
79
|
-
primaryModel: number, // Primary document model
|
|
80
|
-
secondaryId: string, // Secondary document id
|
|
81
|
-
isTrial: boolean): void;
|
|
66
|
+
/**
|
|
67
|
+
* Navigated callback
|
|
68
|
+
*/
|
|
69
|
+
private navigated;
|
|
82
70
|
/**
|
|
83
71
|
* goto previous document in history
|
|
84
72
|
*/
|
|
85
|
-
back(): void;
|
|
73
|
+
protected back(): void;
|
|
86
74
|
/**
|
|
87
75
|
* Goto next document in history
|
|
88
76
|
*/
|
|
89
|
-
forward(): void;
|
|
77
|
+
protected forward(): void;
|
|
90
78
|
/**
|
|
91
79
|
* Print current document
|
|
92
80
|
*/
|
|
93
|
-
print(): void;
|
|
81
|
+
protected print(): void;
|
|
94
82
|
/**
|
|
95
83
|
* Find in current document
|
|
96
84
|
*/
|
|
97
|
-
find(): void;
|
|
85
|
+
protected find(): void;
|
|
98
86
|
/**
|
|
99
87
|
* Goto next relevant item
|
|
100
88
|
*/
|
|
101
|
-
nextRelevant(): void;
|
|
89
|
+
protected nextRelevant(): void;
|
|
102
90
|
/**
|
|
103
91
|
* Goto previous relevant item
|
|
104
92
|
*/
|
|
105
|
-
previousRelevant(): void;
|
|
93
|
+
protected previousRelevant(): void;
|
|
106
94
|
/**
|
|
107
95
|
* Check if current document should show relevants
|
|
108
96
|
*/
|
|
109
|
-
hasRelevants():
|
|
97
|
+
protected hasRelevants(): ClipperDocumentRelevants;
|
|
110
98
|
/**
|
|
111
99
|
* Goto a relevant item
|
|
112
100
|
* @param item : the item to go to
|
|
113
101
|
*/
|
|
114
|
-
gotoRelevant(item: any): void;
|
|
115
|
-
/**
|
|
116
|
-
* Adjust view
|
|
117
|
-
*/
|
|
118
|
-
adjustView(): void;
|
|
119
|
-
/**
|
|
120
|
-
* Update view
|
|
121
|
-
*/
|
|
122
|
-
updateView(): void;
|
|
102
|
+
protected gotoRelevant(item: any): void;
|
|
123
103
|
/**
|
|
124
104
|
* Update relevant items
|
|
125
105
|
*/
|
|
126
|
-
updateRelevants
|
|
127
|
-
/**
|
|
128
|
-
* Update relevants sidenav visibility
|
|
129
|
-
*/
|
|
130
|
-
updateRelevantsVisibility(): void;
|
|
131
|
-
/**
|
|
132
|
-
* Open relevant items sidebar
|
|
133
|
-
*/
|
|
134
|
-
relevantsOpen(): void;
|
|
135
|
-
/**
|
|
136
|
-
* Close facets sidebar
|
|
137
|
-
* @param closedManually : ture if facets has been closed manually by clicking the button
|
|
138
|
-
*/
|
|
139
|
-
relevantsClose(closedManually?: boolean): void;
|
|
106
|
+
private updateRelevants;
|
|
140
107
|
/**
|
|
141
108
|
* Display document structure
|
|
142
109
|
*/
|
|
143
|
-
index(documentId: string): void;
|
|
110
|
+
protected index(documentId: string): void;
|
|
144
111
|
/**
|
|
145
112
|
* Get the id in a query string
|
|
146
113
|
* @param url : the url to process
|
|
@@ -152,17 +119,17 @@ export declare class ClipperDocumentComponent extends ClipperDocumentBaseCompone
|
|
|
152
119
|
* Preview a file if possible
|
|
153
120
|
* @param url : the url to preview
|
|
154
121
|
*/
|
|
155
|
-
previewFile
|
|
122
|
+
private previewFile;
|
|
156
123
|
/**
|
|
157
124
|
* Show document comment
|
|
158
125
|
*/
|
|
159
|
-
showComment(): void;
|
|
126
|
+
protected showComment(): void;
|
|
160
127
|
/**
|
|
161
128
|
* Open an item
|
|
162
129
|
* @param documentId : the document id
|
|
163
130
|
* @param newWindow: true if the document must be open into a new window
|
|
164
131
|
*/
|
|
165
|
-
open(
|
|
132
|
+
open(documentId: string, newWindow?: boolean): void;
|
|
166
133
|
/**
|
|
167
134
|
* Open a document
|
|
168
135
|
* @param documentId : the document id
|
|
@@ -173,41 +140,20 @@ export declare class ClipperDocumentComponent extends ClipperDocumentBaseCompone
|
|
|
173
140
|
* @param documentId : the document id
|
|
174
141
|
* @param mode : the mode
|
|
175
142
|
*/
|
|
176
|
-
openReferences(documentId: string, mode?: number, model?: number, anchor?: string, anchorTitle?: string, update?: boolean): void;
|
|
143
|
+
protected openReferences(documentId: string, mode?: number, model?: number, anchor?: string, anchorTitle?: string, update?: boolean): void;
|
|
177
144
|
/**
|
|
178
145
|
* Display a report
|
|
179
146
|
* @param item
|
|
180
147
|
*/
|
|
181
|
-
displayReport(item: any): void;
|
|
148
|
+
protected displayReport(item: any): void;
|
|
182
149
|
/**
|
|
183
150
|
* Checks if documents can be selected and returned as message
|
|
184
151
|
*/
|
|
185
|
-
canSelect(): boolean;
|
|
152
|
+
protected canSelect(): boolean;
|
|
186
153
|
/**
|
|
187
154
|
* Send a message with current selection and close dialog
|
|
188
155
|
*/
|
|
189
|
-
select(): void;
|
|
190
|
-
/**
|
|
191
|
-
* Checks if all documents are supported by RS
|
|
192
|
-
* @param documents : the list of documens
|
|
193
|
-
* @returns: true if all documents supports RS
|
|
194
|
-
*/
|
|
195
|
-
RS_enabled(documents: any): boolean;
|
|
196
|
-
/**
|
|
197
|
-
* New law
|
|
198
|
-
* @param document: the law
|
|
199
|
-
*/
|
|
200
|
-
RS_newLaw(document: any): boolean;
|
|
201
|
-
/**
|
|
202
|
-
* New activity
|
|
203
|
-
* @param document: the law
|
|
204
|
-
*/
|
|
205
|
-
RS_newActivity(document: any): boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Document usage report
|
|
208
|
-
* @param document: the law
|
|
209
|
-
*/
|
|
210
|
-
RS_usageReport(document: any): boolean;
|
|
156
|
+
protected select(): void;
|
|
211
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClipperDocumentComponent, never>;
|
|
212
158
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClipperDocumentComponent, "ng-component", never, {}, { "closing": "closing"; "opening": "opening"; "onComplianceAnalysis": "onComplianceAnalysis"; "onCompliancePlanning": "onCompliancePlanning"; "onComplianceUsageReport": "onComplianceUsageReport"; }, never, never, true, never>;
|
|
213
159
|
}
|