aril 1.0.39 → 1.0.41
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/esm2022/http/src/serviceStateMethods.mjs +6 -2
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +211 -0
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +55 -0
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +129 -0
- package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +128 -0
- package/esm2022/theme/layout/app/history/history.service.mjs +146 -0
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +9 -3
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +100 -8
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +142 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +123 -0
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +42 -0
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +161 -0
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +23 -5
- package/esm2022/theme/layout/service/app.layout.service.mjs +13 -1
- package/fesm2022/aril-http.mjs +5 -1
- package/fesm2022/aril-http.mjs.map +1 -1
- package/fesm2022/aril-theme-layout.mjs +1197 -75
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/package.json +84 -83
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +42 -0
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +106 -0
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -0
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +253 -0
- package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +54 -0
- package/theme/layout/app/favorite-pages/favorite-pages.service.ts +87 -0
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.d.ts +36 -0
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -0
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +165 -0
- package/theme/layout/app/history/history-sidebar.component.d.ts +30 -0
- package/theme/layout/app/history/history-sidebar.component.html +88 -0
- package/theme/layout/app/history/history-sidebar.component.scss +191 -0
- package/theme/layout/app/history/history-sidebar.component.ts +139 -0
- package/theme/layout/app/history/history.service.d.ts +36 -0
- package/theme/layout/app/history/history.service.ts +182 -0
- package/theme/layout/app/layout/app.layout.component.html +3 -0
- package/theme/layout/app/layout/app.layout.component.ts +7 -1
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +17 -2
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +107 -135
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +152 -0
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +114 -7
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.d.ts +30 -0
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.html +46 -0
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.scss +28 -0
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.ts +178 -0
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.d.ts +27 -0
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +76 -0
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +141 -0
- package/theme/layout/app/profileSidebar/profile.service.d.ts +67 -0
- package/theme/layout/app/profileSidebar/profile.service.ts +89 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +37 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.html +118 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.scss +189 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +189 -0
- package/theme/layout/app/topbar/app.topbar.component.d.ts +7 -1
- package/theme/layout/app/topbar/app.topbar.component.html +37 -17
- package/theme/layout/app/topbar/app.topbar.component.scss +188 -12
- package/theme/layout/app/topbar/app.topbar.component.ts +29 -7
- package/theme/layout/service/app.layout.service.d.ts +6 -0
- package/theme/layout/service/app.layout.service.ts +19 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aril",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "~17.1.0",
|
|
6
6
|
"@angular/common": "^17.1.0",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"@amcharts/amcharts5": "^5.10.8",
|
|
21
21
|
"highcharts-angular": "^4.0.1",
|
|
22
22
|
"monaco-editor": "^0.44.0",
|
|
23
|
-
"ngx-monaco-editor-v2": "^17.0.1"
|
|
23
|
+
"ngx-monaco-editor-v2": "^17.0.1",
|
|
24
|
+
"jsondiffpatch": "^0.5.0"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"tslib": "^2.3.0"
|
|
@@ -47,11 +48,11 @@
|
|
|
47
48
|
"esm": "./esm2022/boot/aril-boot.mjs",
|
|
48
49
|
"default": "./fesm2022/aril-boot.mjs"
|
|
49
50
|
},
|
|
50
|
-
"./
|
|
51
|
-
"types": "./
|
|
52
|
-
"esm2022": "./esm2022/
|
|
53
|
-
"esm": "./esm2022/
|
|
54
|
-
"default": "./fesm2022/aril-
|
|
51
|
+
"./http": {
|
|
52
|
+
"types": "./http/index.d.ts",
|
|
53
|
+
"esm2022": "./esm2022/http/aril-http.mjs",
|
|
54
|
+
"esm": "./esm2022/http/aril-http.mjs",
|
|
55
|
+
"default": "./fesm2022/aril-http.mjs"
|
|
55
56
|
},
|
|
56
57
|
"./i18n": {
|
|
57
58
|
"types": "./i18n/index.d.ts",
|
|
@@ -59,17 +60,23 @@
|
|
|
59
60
|
"esm": "./esm2022/i18n/aril-i18n.mjs",
|
|
60
61
|
"default": "./fesm2022/aril-i18n.mjs"
|
|
61
62
|
},
|
|
63
|
+
"./keycloak": {
|
|
64
|
+
"types": "./keycloak/index.d.ts",
|
|
65
|
+
"esm2022": "./esm2022/keycloak/aril-keycloak.mjs",
|
|
66
|
+
"esm": "./esm2022/keycloak/aril-keycloak.mjs",
|
|
67
|
+
"default": "./fesm2022/aril-keycloak.mjs"
|
|
68
|
+
},
|
|
62
69
|
"./provider": {
|
|
63
70
|
"types": "./provider/index.d.ts",
|
|
64
71
|
"esm2022": "./esm2022/provider/aril-provider.mjs",
|
|
65
72
|
"esm": "./esm2022/provider/aril-provider.mjs",
|
|
66
73
|
"default": "./fesm2022/aril-provider.mjs"
|
|
67
74
|
},
|
|
68
|
-
"./
|
|
69
|
-
"types": "./
|
|
70
|
-
"esm2022": "./esm2022/
|
|
71
|
-
"esm": "./esm2022/
|
|
72
|
-
"default": "./fesm2022/aril-
|
|
75
|
+
"./theme": {
|
|
76
|
+
"types": "./theme/index.d.ts",
|
|
77
|
+
"esm2022": "./esm2022/theme/aril-theme.mjs",
|
|
78
|
+
"esm": "./esm2022/theme/aril-theme.mjs",
|
|
79
|
+
"default": "./fesm2022/aril-theme.mjs"
|
|
73
80
|
},
|
|
74
81
|
"./ui": {
|
|
75
82
|
"types": "./ui/index.d.ts",
|
|
@@ -77,12 +84,6 @@
|
|
|
77
84
|
"esm": "./esm2022/ui/aril-ui.mjs",
|
|
78
85
|
"default": "./fesm2022/aril-ui.mjs"
|
|
79
86
|
},
|
|
80
|
-
"./theme": {
|
|
81
|
-
"types": "./theme/index.d.ts",
|
|
82
|
-
"esm2022": "./esm2022/theme/aril-theme.mjs",
|
|
83
|
-
"esm": "./esm2022/theme/aril-theme.mjs",
|
|
84
|
-
"default": "./fesm2022/aril-theme.mjs"
|
|
85
|
-
},
|
|
86
87
|
"./ui-business": {
|
|
87
88
|
"types": "./ui-business/index.d.ts",
|
|
88
89
|
"esm2022": "./esm2022/ui-business/aril-ui-business.mjs",
|
|
@@ -107,6 +108,12 @@
|
|
|
107
108
|
"esm": "./esm2022/boot/mfe/aril-boot-mfe.mjs",
|
|
108
109
|
"default": "./fesm2022/aril-boot-mfe.mjs"
|
|
109
110
|
},
|
|
111
|
+
"./theme/layout": {
|
|
112
|
+
"types": "./theme/layout/index.d.ts",
|
|
113
|
+
"esm2022": "./esm2022/theme/layout/aril-theme-layout.mjs",
|
|
114
|
+
"esm": "./esm2022/theme/layout/aril-theme-layout.mjs",
|
|
115
|
+
"default": "./fesm2022/aril-theme-layout.mjs"
|
|
116
|
+
},
|
|
110
117
|
"./ui/autoComplete": {
|
|
111
118
|
"types": "./ui/autoComplete/index.d.ts",
|
|
112
119
|
"esm2022": "./esm2022/ui/autoComplete/aril-ui-autoComplete.mjs",
|
|
@@ -149,6 +156,12 @@
|
|
|
149
156
|
"esm": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
150
157
|
"default": "./fesm2022/aril-ui-chip.mjs"
|
|
151
158
|
},
|
|
159
|
+
"./ui/dxField": {
|
|
160
|
+
"types": "./ui/dxField/index.d.ts",
|
|
161
|
+
"esm2022": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
|
|
162
|
+
"esm": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
|
|
163
|
+
"default": "./fesm2022/aril-ui-dxField.mjs"
|
|
164
|
+
},
|
|
152
165
|
"./ui/dxEditor": {
|
|
153
166
|
"types": "./ui/dxEditor/index.d.ts",
|
|
154
167
|
"esm2022": "./esm2022/ui/dxEditor/aril-ui-dxEditor.mjs",
|
|
@@ -161,12 +174,6 @@
|
|
|
161
174
|
"esm": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
162
175
|
"default": "./fesm2022/aril-ui-editor.mjs"
|
|
163
176
|
},
|
|
164
|
-
"./ui/dxField": {
|
|
165
|
-
"types": "./ui/dxField/index.d.ts",
|
|
166
|
-
"esm2022": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
|
|
167
|
-
"esm": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
|
|
168
|
-
"default": "./fesm2022/aril-ui-dxField.mjs"
|
|
169
|
-
},
|
|
170
177
|
"./ui/field": {
|
|
171
178
|
"types": "./ui/field/index.d.ts",
|
|
172
179
|
"esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
@@ -221,18 +228,18 @@
|
|
|
221
228
|
"esm": "./esm2022/ui/multiSelect/aril-ui-multiSelect.mjs",
|
|
222
229
|
"default": "./fesm2022/aril-ui-multiSelect.mjs"
|
|
223
230
|
},
|
|
224
|
-
"./ui/number": {
|
|
225
|
-
"types": "./ui/number/index.d.ts",
|
|
226
|
-
"esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
227
|
-
"esm": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
228
|
-
"default": "./fesm2022/aril-ui-number.mjs"
|
|
229
|
-
},
|
|
230
231
|
"./ui/operation-types-dialog": {
|
|
231
232
|
"types": "./ui/operation-types-dialog/index.d.ts",
|
|
232
233
|
"esm2022": "./esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs",
|
|
233
234
|
"esm": "./esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs",
|
|
234
235
|
"default": "./fesm2022/aril-ui-operation-types-dialog.mjs"
|
|
235
236
|
},
|
|
237
|
+
"./ui/number": {
|
|
238
|
+
"types": "./ui/number/index.d.ts",
|
|
239
|
+
"esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
240
|
+
"esm": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
241
|
+
"default": "./fesm2022/aril-ui-number.mjs"
|
|
242
|
+
},
|
|
236
243
|
"./ui/overlayPanel": {
|
|
237
244
|
"types": "./ui/overlayPanel/index.d.ts",
|
|
238
245
|
"esm2022": "./esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs",
|
|
@@ -257,18 +264,18 @@
|
|
|
257
264
|
"esm": "./esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs",
|
|
258
265
|
"default": "./fesm2022/aril-ui-pdf-viewer.mjs"
|
|
259
266
|
},
|
|
260
|
-
"./ui/progressbar": {
|
|
261
|
-
"types": "./ui/progressbar/index.d.ts",
|
|
262
|
-
"esm2022": "./esm2022/ui/progressbar/aril-ui-progressbar.mjs",
|
|
263
|
-
"esm": "./esm2022/ui/progressbar/aril-ui-progressbar.mjs",
|
|
264
|
-
"default": "./fesm2022/aril-ui-progressbar.mjs"
|
|
265
|
-
},
|
|
266
267
|
"./ui/radioButton": {
|
|
267
268
|
"types": "./ui/radioButton/index.d.ts",
|
|
268
269
|
"esm2022": "./esm2022/ui/radioButton/aril-ui-radioButton.mjs",
|
|
269
270
|
"esm": "./esm2022/ui/radioButton/aril-ui-radioButton.mjs",
|
|
270
271
|
"default": "./fesm2022/aril-ui-radioButton.mjs"
|
|
271
272
|
},
|
|
273
|
+
"./ui/progressbar": {
|
|
274
|
+
"types": "./ui/progressbar/index.d.ts",
|
|
275
|
+
"esm2022": "./esm2022/ui/progressbar/aril-ui-progressbar.mjs",
|
|
276
|
+
"esm": "./esm2022/ui/progressbar/aril-ui-progressbar.mjs",
|
|
277
|
+
"default": "./fesm2022/aril-ui-progressbar.mjs"
|
|
278
|
+
},
|
|
272
279
|
"./ui/relativeDateSelector": {
|
|
273
280
|
"types": "./ui/relativeDateSelector/index.d.ts",
|
|
274
281
|
"esm2022": "./esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs",
|
|
@@ -305,23 +312,17 @@
|
|
|
305
312
|
"esm": "./esm2022/ui/tag/aril-ui-tag.mjs",
|
|
306
313
|
"default": "./fesm2022/aril-ui-tag.mjs"
|
|
307
314
|
},
|
|
308
|
-
"./ui/tagBox": {
|
|
309
|
-
"types": "./ui/tagBox/index.d.ts",
|
|
310
|
-
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
311
|
-
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
312
|
-
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
313
|
-
},
|
|
314
315
|
"./ui/text": {
|
|
315
316
|
"types": "./ui/text/index.d.ts",
|
|
316
317
|
"esm2022": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
317
318
|
"esm": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
318
319
|
"default": "./fesm2022/aril-ui-text.mjs"
|
|
319
320
|
},
|
|
320
|
-
"./ui/
|
|
321
|
-
"types": "./ui/
|
|
322
|
-
"esm2022": "./esm2022/ui/
|
|
323
|
-
"esm": "./esm2022/ui/
|
|
324
|
-
"default": "./fesm2022/aril-ui-
|
|
321
|
+
"./ui/tagBox": {
|
|
322
|
+
"types": "./ui/tagBox/index.d.ts",
|
|
323
|
+
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
324
|
+
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
325
|
+
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
325
326
|
},
|
|
326
327
|
"./ui/toggle-button": {
|
|
327
328
|
"types": "./ui/toggle-button/index.d.ts",
|
|
@@ -329,6 +330,12 @@
|
|
|
329
330
|
"esm": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
|
|
330
331
|
"default": "./fesm2022/aril-ui-toggle-button.mjs"
|
|
331
332
|
},
|
|
333
|
+
"./ui/textArea": {
|
|
334
|
+
"types": "./ui/textArea/index.d.ts",
|
|
335
|
+
"esm2022": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
|
|
336
|
+
"esm": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
|
|
337
|
+
"default": "./fesm2022/aril-ui-textArea.mjs"
|
|
338
|
+
},
|
|
332
339
|
"./ui/tooltip": {
|
|
333
340
|
"types": "./ui/tooltip/index.d.ts",
|
|
334
341
|
"esm2022": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
|
|
@@ -341,18 +348,18 @@
|
|
|
341
348
|
"esm": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
|
|
342
349
|
"default": "./fesm2022/aril-ui-translate-input.mjs"
|
|
343
350
|
},
|
|
344
|
-
"./ui/treeSelect": {
|
|
345
|
-
"types": "./ui/treeSelect/index.d.ts",
|
|
346
|
-
"esm2022": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
|
|
347
|
-
"esm": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
|
|
348
|
-
"default": "./fesm2022/aril-ui-treeSelect.mjs"
|
|
349
|
-
},
|
|
350
351
|
"./ui/tree": {
|
|
351
352
|
"types": "./ui/tree/index.d.ts",
|
|
352
353
|
"esm2022": "./esm2022/ui/tree/aril-ui-tree.mjs",
|
|
353
354
|
"esm": "./esm2022/ui/tree/aril-ui-tree.mjs",
|
|
354
355
|
"default": "./fesm2022/aril-ui-tree.mjs"
|
|
355
356
|
},
|
|
357
|
+
"./ui/treeSelect": {
|
|
358
|
+
"types": "./ui/treeSelect/index.d.ts",
|
|
359
|
+
"esm2022": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
|
|
360
|
+
"esm": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
|
|
361
|
+
"default": "./fesm2022/aril-ui-treeSelect.mjs"
|
|
362
|
+
},
|
|
356
363
|
"./ui/treeTable": {
|
|
357
364
|
"types": "./ui/treeTable/index.d.ts",
|
|
358
365
|
"esm2022": "./esm2022/ui/treeTable/aril-ui-treeTable.mjs",
|
|
@@ -365,12 +372,6 @@
|
|
|
365
372
|
"esm": "./esm2022/ui/value/aril-ui-value.mjs",
|
|
366
373
|
"default": "./fesm2022/aril-ui-value.mjs"
|
|
367
374
|
},
|
|
368
|
-
"./theme/layout": {
|
|
369
|
-
"types": "./theme/layout/index.d.ts",
|
|
370
|
-
"esm2022": "./esm2022/theme/layout/aril-theme-layout.mjs",
|
|
371
|
-
"esm": "./esm2022/theme/layout/aril-theme-layout.mjs",
|
|
372
|
-
"default": "./fesm2022/aril-theme-layout.mjs"
|
|
373
|
-
},
|
|
374
375
|
"./ui-business/detailed-overlay-panel": {
|
|
375
376
|
"types": "./ui-business/detailed-overlay-panel/index.d.ts",
|
|
376
377
|
"esm2022": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
@@ -383,6 +384,12 @@
|
|
|
383
384
|
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
384
385
|
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
385
386
|
},
|
|
387
|
+
"./ui-business/assetPicker": {
|
|
388
|
+
"types": "./ui-business/assetPicker/index.d.ts",
|
|
389
|
+
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
390
|
+
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
391
|
+
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
392
|
+
},
|
|
386
393
|
"./ui-business/multiple-ref-value": {
|
|
387
394
|
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
388
395
|
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
@@ -431,36 +438,36 @@
|
|
|
431
438
|
"esm": "./esm2022/util/init-event/aril-util-init-event.mjs",
|
|
432
439
|
"default": "./fesm2022/aril-util-init-event.mjs"
|
|
433
440
|
},
|
|
441
|
+
"./util/pipes": {
|
|
442
|
+
"types": "./util/pipes/index.d.ts",
|
|
443
|
+
"esm2022": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
444
|
+
"esm": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
445
|
+
"default": "./fesm2022/aril-util-pipes.mjs"
|
|
446
|
+
},
|
|
434
447
|
"./util/loaders": {
|
|
435
448
|
"types": "./util/loaders/index.d.ts",
|
|
436
449
|
"esm2022": "./esm2022/util/loaders/aril-util-loaders.mjs",
|
|
437
450
|
"esm": "./esm2022/util/loaders/aril-util-loaders.mjs",
|
|
438
451
|
"default": "./fesm2022/aril-util-loaders.mjs"
|
|
439
452
|
},
|
|
453
|
+
"./util/primitive-extensions": {
|
|
454
|
+
"types": "./util/primitive-extensions/index.d.ts",
|
|
455
|
+
"esm2022": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
|
|
456
|
+
"esm": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
|
|
457
|
+
"default": "./fesm2022/aril-util-primitive-extensions.mjs"
|
|
458
|
+
},
|
|
440
459
|
"./util/lib": {
|
|
441
460
|
"types": "./util/lib/index.d.ts",
|
|
442
461
|
"esm2022": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
443
462
|
"esm": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
444
463
|
"default": "./fesm2022/aril-util-lib.mjs"
|
|
445
464
|
},
|
|
446
|
-
"./util/pipes": {
|
|
447
|
-
"types": "./util/pipes/index.d.ts",
|
|
448
|
-
"esm2022": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
449
|
-
"esm": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
450
|
-
"default": "./fesm2022/aril-util-pipes.mjs"
|
|
451
|
-
},
|
|
452
465
|
"./util/pub-sub": {
|
|
453
466
|
"types": "./util/pub-sub/index.d.ts",
|
|
454
467
|
"esm2022": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
455
468
|
"esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
456
469
|
"default": "./fesm2022/aril-util-pub-sub.mjs"
|
|
457
470
|
},
|
|
458
|
-
"./util/primitive-extensions": {
|
|
459
|
-
"types": "./util/primitive-extensions/index.d.ts",
|
|
460
|
-
"esm2022": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
|
|
461
|
-
"esm": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
|
|
462
|
-
"default": "./fesm2022/aril-util-primitive-extensions.mjs"
|
|
463
|
-
},
|
|
464
471
|
"./util/unwrap": {
|
|
465
472
|
"types": "./util/unwrap/index.d.ts",
|
|
466
473
|
"esm2022": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
|
|
@@ -473,29 +480,23 @@
|
|
|
473
480
|
"esm": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
|
|
474
481
|
"default": "./fesm2022/aril-boot-config-api.mjs"
|
|
475
482
|
},
|
|
476
|
-
"./boot/config/apps": {
|
|
477
|
-
"types": "./boot/config/apps/index.d.ts",
|
|
478
|
-
"esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
479
|
-
"esm": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
480
|
-
"default": "./fesm2022/aril-boot-config-apps.mjs"
|
|
481
|
-
},
|
|
482
483
|
"./boot/config/plugins": {
|
|
483
484
|
"types": "./boot/config/plugins/index.d.ts",
|
|
484
485
|
"esm2022": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
|
|
485
486
|
"esm": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
|
|
486
487
|
"default": "./fesm2022/aril-boot-config-plugins.mjs"
|
|
487
488
|
},
|
|
489
|
+
"./boot/config/apps": {
|
|
490
|
+
"types": "./boot/config/apps/index.d.ts",
|
|
491
|
+
"esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
492
|
+
"esm": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
493
|
+
"default": "./fesm2022/aril-boot-config-apps.mjs"
|
|
494
|
+
},
|
|
488
495
|
"./ui/business-components/assetPicker": {
|
|
489
496
|
"types": "./ui/business-components/assetPicker/index.d.ts",
|
|
490
497
|
"esm2022": "./esm2022/ui/business-components/assetPicker/aril-ui-business-components-assetPicker.mjs",
|
|
491
498
|
"esm": "./esm2022/ui/business-components/assetPicker/aril-ui-business-components-assetPicker.mjs",
|
|
492
499
|
"default": "./fesm2022/aril-ui-business-components-assetPicker.mjs"
|
|
493
|
-
},
|
|
494
|
-
"./ui-business/assetPicker": {
|
|
495
|
-
"types": "./ui-business/assetPicker/index.d.ts",
|
|
496
|
-
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
497
|
-
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
498
|
-
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
499
500
|
}
|
|
500
501
|
}
|
|
501
502
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ConfirmationService, MessageService } from 'primeng/api';
|
|
3
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
4
|
+
import { TranslocoService } from '@ngneat/transloco';
|
|
5
|
+
import { LayoutService } from '../../service/app.layout.service';
|
|
6
|
+
import { FavoritePageResponseDTO, FavoritePagesService } from './favorite-pages.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FavoritePagesSidebarComponent implements OnInit {
|
|
9
|
+
layoutService: LayoutService;
|
|
10
|
+
private favoritePagesService;
|
|
11
|
+
private confirmationService;
|
|
12
|
+
private messageService;
|
|
13
|
+
private dialogService;
|
|
14
|
+
private translocoService;
|
|
15
|
+
favoritePages: import("@angular/core").WritableSignal<FavoritePageResponseDTO[]>;
|
|
16
|
+
allFavoritePages: import("@angular/core").WritableSignal<FavoritePageResponseDTO[]>;
|
|
17
|
+
isCurrentPageFavorited: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
currentPage: import("@angular/core").WritableSignal<number>;
|
|
19
|
+
pageSize: import("@angular/core").WritableSignal<number>;
|
|
20
|
+
totalItems: import("@angular/core").WritableSignal<number>;
|
|
21
|
+
totalPages: import("@angular/core").WritableSignal<number>;
|
|
22
|
+
private subjects;
|
|
23
|
+
loadAllFavoritesService: import("@angular/core").Signal<import("../../../../../../dist/http").ServiceResponse<import("./favorite-pages.service").SearchResultDTO<FavoritePageResponseDTO>> | undefined>;
|
|
24
|
+
deleteFavoriteService: import("@angular/core").Signal<import("../../../../../../dist/http").ServiceResponse<boolean> | undefined>;
|
|
25
|
+
constructor(layoutService: LayoutService, favoritePagesService: FavoritePagesService, confirmationService: ConfirmationService, messageService: MessageService, dialogService: DialogService, translocoService: TranslocoService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
private initializeEffects;
|
|
28
|
+
get visible(): boolean;
|
|
29
|
+
set visible(value: boolean);
|
|
30
|
+
private loadFavoritePages;
|
|
31
|
+
private updateClientSidePagination;
|
|
32
|
+
private checkCurrentPageStatus;
|
|
33
|
+
addCurrentPageToFavorites(): void;
|
|
34
|
+
removeCurrentPageFromFavorites(): void;
|
|
35
|
+
editFavorite(favorite: FavoritePageResponseDTO, event: Event): void;
|
|
36
|
+
deleteFavorite(favorite: FavoritePageResponseDTO, event: Event): void;
|
|
37
|
+
navigateToFavorite(favorite: FavoritePageResponseDTO): void;
|
|
38
|
+
trackByFavoriteId(index: number, favorite: FavoritePageResponseDTO): number;
|
|
39
|
+
onPageChange(event: any): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FavoritePagesSidebarComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FavoritePagesSidebarComponent, "app-favorite-pages-sidebar", never, {}, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<p-sidebar
|
|
2
|
+
[(visible)]="visible"
|
|
3
|
+
position="right"
|
|
4
|
+
[transitionOptions]="'.3s cubic-bezier(0, 0, 0.2, 1)'"
|
|
5
|
+
styleClass="layout-favorite-pages-sidebar w-full sm:w-30rem"
|
|
6
|
+
*transloco="let t; read: 'favoritePages'">
|
|
7
|
+
<ng-template pTemplate="header">
|
|
8
|
+
<div class="flex align-items-center justify-content-between w-full">
|
|
9
|
+
<div class="flex align-items-center">
|
|
10
|
+
<i class="pi pi-heart text-primary text-xl"></i>
|
|
11
|
+
<span class="font-bold text-lg">{{ t('favoritePages') }}</span>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</ng-template>
|
|
15
|
+
|
|
16
|
+
<div class="favorite-pages-content">
|
|
17
|
+
@if (isCurrentPageFavorited()) {
|
|
18
|
+
<div class="current-favorited-message">
|
|
19
|
+
<div class="message-content">
|
|
20
|
+
<i class="pi pi-check-circle text-green-500"></i>
|
|
21
|
+
<span>{{ t('currentPageFavorited') }}</span>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
<div class="add-section">
|
|
27
|
+
@if (!isCurrentPageFavorited()) {
|
|
28
|
+
<aril-button
|
|
29
|
+
[label]="t('addCurrentPage')"
|
|
30
|
+
icon="PLUS"
|
|
31
|
+
color="primary"
|
|
32
|
+
size="sm"
|
|
33
|
+
(clickEvent)="addCurrentPageToFavorites()">
|
|
34
|
+
</aril-button>
|
|
35
|
+
} @else {
|
|
36
|
+
<aril-button
|
|
37
|
+
[label]="t('removeCurrentPage')"
|
|
38
|
+
icon="TIMES"
|
|
39
|
+
color="danger"
|
|
40
|
+
size="sm"
|
|
41
|
+
(clickEvent)="removeCurrentPageFromFavorites()">
|
|
42
|
+
</aril-button>
|
|
43
|
+
}
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
@if (favoritePages().length > 0) {
|
|
47
|
+
<div class="favorites-list">
|
|
48
|
+
<p-scrollPanel [style]="{ width: '100%', height: '100%' }">
|
|
49
|
+
<div class="favorites-items">
|
|
50
|
+
@for (favorite of favoritePages(); track trackByFavoriteId($index, favorite)) {
|
|
51
|
+
<div class="favorite-item" [class.default-item]="favorite.id < 0" (click)="navigateToFavorite(favorite)">
|
|
52
|
+
<div class="item-content">
|
|
53
|
+
<div class="item-header">
|
|
54
|
+
<div class="item-title">
|
|
55
|
+
<i class="pi pi-external-link text-primary mr-2"></i>
|
|
56
|
+
<span class="title-text">{{ favorite.label }}</span>
|
|
57
|
+
</div>
|
|
58
|
+
<aril-button
|
|
59
|
+
icon="PENCIL"
|
|
60
|
+
color="warning"
|
|
61
|
+
size="sm"
|
|
62
|
+
class="mr-1"
|
|
63
|
+
[pTooltip]="t('editFavorite')"
|
|
64
|
+
tooltipPosition="left"
|
|
65
|
+
(clickEvent)="editFavorite(favorite, $event)">
|
|
66
|
+
</aril-button>
|
|
67
|
+
<aril-button
|
|
68
|
+
icon="TIMES"
|
|
69
|
+
color="danger"
|
|
70
|
+
size="sm"
|
|
71
|
+
[pTooltip]="t('deleteFavorite')"
|
|
72
|
+
tooltipPosition="left"
|
|
73
|
+
(clickEvent)="deleteFavorite(favorite, $event)">
|
|
74
|
+
</aril-button>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
}
|
|
79
|
+
</div>
|
|
80
|
+
</p-scrollPanel>
|
|
81
|
+
</div>
|
|
82
|
+
} @else {
|
|
83
|
+
<div class="empty-state">
|
|
84
|
+
<div class="empty-content">
|
|
85
|
+
<i class="pi pi-heart empty-icon"></i>
|
|
86
|
+
<h3 class="empty-title">{{ t('noFavorites') }}</h3>
|
|
87
|
+
<p class="empty-message">{{ t('startAddingFavorites') }}</p>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
}
|
|
91
|
+
<div>
|
|
92
|
+
<p-paginator
|
|
93
|
+
[first]="(currentPage() - 1) * pageSize()"
|
|
94
|
+
[rows]="pageSize()"
|
|
95
|
+
[totalRecords]="totalItems()"
|
|
96
|
+
[showCurrentPageReport]="true"
|
|
97
|
+
[currentPageReportTemplate]="t('paginatorTemplate')"
|
|
98
|
+
[showFirstLastIcon]="false"
|
|
99
|
+
[showPageLinks]="false"
|
|
100
|
+
(onPageChange)="onPageChange($event)">
|
|
101
|
+
</p-paginator>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<p-confirmDialog></p-confirmDialog>
|
|
106
|
+
</p-sidebar>
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
:host ::ng-deep {
|
|
2
|
+
.layout-favorite-pages-sidebar {
|
|
3
|
+
.p-sidebar-content {
|
|
4
|
+
padding: 0;
|
|
5
|
+
background: var(--surface-ground);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-sidebar-header {
|
|
9
|
+
background: var(--primary-color);
|
|
10
|
+
color: var(--primary-color-text);
|
|
11
|
+
border-bottom: 1px solid var(--primary-600);
|
|
12
|
+
padding: 1rem 1.5rem;
|
|
13
|
+
|
|
14
|
+
span {
|
|
15
|
+
font-size: 1.1rem;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.favorite-pages-content {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
height: 92vh;
|
|
26
|
+
background: var(--surface-0);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.current-favorited-message {
|
|
30
|
+
padding: 1rem;
|
|
31
|
+
border-bottom: 1px solid var(--surface-border);
|
|
32
|
+
background: var(--green-50);
|
|
33
|
+
|
|
34
|
+
.message-content {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 0.5rem;
|
|
38
|
+
color: var(--green-700);
|
|
39
|
+
font-size: 0.9rem;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.add-section {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
gap: 0.5rem;
|
|
48
|
+
padding: 1rem;
|
|
49
|
+
border-bottom: 1px solid var(--surface-border);
|
|
50
|
+
background: var(--surface-0);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.favorites-list {
|
|
54
|
+
flex: 1;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.favorites-items {
|
|
59
|
+
padding: 0.5rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.favorite-item {
|
|
63
|
+
background: var(--surface-0);
|
|
64
|
+
border: 1px solid var(--surface-border);
|
|
65
|
+
border-radius: 8px;
|
|
66
|
+
margin-bottom: 0.5rem;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
transition: all 0.2s ease;
|
|
69
|
+
position: relative;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
border-color: var(--primary-200);
|
|
74
|
+
background: var(--primary-50);
|
|
75
|
+
transform: translateY(-1px);
|
|
76
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
77
|
+
|
|
78
|
+
.action-btn {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&:last-child {
|
|
84
|
+
margin-bottom: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.default-item {
|
|
88
|
+
background: var(--blue-50);
|
|
89
|
+
border-left: 3px solid var(--blue-500);
|
|
90
|
+
|
|
91
|
+
&:hover {
|
|
92
|
+
background: var(--blue-100);
|
|
93
|
+
border-color: var(--blue-300);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.title-text {
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
color: var(--blue-700);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.item-content {
|
|
104
|
+
padding: 0.5rem 0.75rem;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.item-header {
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.item-title {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
flex: 1;
|
|
117
|
+
min-width: 0;
|
|
118
|
+
|
|
119
|
+
.title-text {
|
|
120
|
+
font-weight: 600;
|
|
121
|
+
color: var(--text-color);
|
|
122
|
+
font-size: 1rem;
|
|
123
|
+
line-height: 1.3;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
text-overflow: ellipsis;
|
|
126
|
+
white-space: nowrap;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.empty-state {
|
|
131
|
+
flex: 1;
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
padding: 2rem;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.empty-content {
|
|
139
|
+
text-align: center;
|
|
140
|
+
max-width: 300px;
|
|
141
|
+
|
|
142
|
+
.empty-icon {
|
|
143
|
+
font-size: 3rem;
|
|
144
|
+
color: var(--text-color-secondary);
|
|
145
|
+
margin-bottom: 1rem;
|
|
146
|
+
opacity: 0.5;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.empty-title {
|
|
150
|
+
font-size: 1.1rem;
|
|
151
|
+
font-weight: 600;
|
|
152
|
+
color: var(--text-color);
|
|
153
|
+
margin-bottom: 0.5rem;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.empty-message {
|
|
157
|
+
font-size: 0.9rem;
|
|
158
|
+
color: var(--text-color-secondary);
|
|
159
|
+
line-height: 1.4;
|
|
160
|
+
margin-bottom: 1.5rem;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Responsive Design
|
|
165
|
+
@media (max-width: 768px) {
|
|
166
|
+
.add-section {
|
|
167
|
+
padding: 0.75rem;
|
|
168
|
+
|
|
169
|
+
.button-label {
|
|
170
|
+
font-size: 0.8rem;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.item-content {
|
|
175
|
+
padding: 0.5rem;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.item-title .title-text {
|
|
179
|
+
font-size: 0.85rem;
|
|
180
|
+
}
|
|
181
|
+
}
|