@acorex/components 18.5.17 → 18.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/audio-wave/lib/audio-wave.component.d.ts +5 -0
- package/button-group/lib/button-group.component.d.ts +5 -2
- package/circular-progress/lib/circular-progress.component.d.ts +21 -57
- package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +28 -0
- package/data-pager/lib/data-pager-prev-buttons.component.d.ts +20 -0
- package/data-pager/lib/data-pager.component.d.ts +111 -0
- package/data-table/lib/columns/data-text-column.component.d.ts +58 -0
- package/data-table/lib/columns/row-command-column.component.d.ts +83 -0
- package/data-table/lib/columns/row-index-column.component.d.ts +51 -0
- package/data-table/lib/columns/row-select-column.component.d.ts +47 -0
- package/data-table/lib/data-table/data-table.component.d.ts +200 -0
- package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +185 -0
- package/datetime-box/lib/datetime-box.component.d.ts +59 -1
- package/datetime-input/lib/datetime-input.component.d.ts +133 -0
- package/datetime-picker/lib/datetime-picker.component.d.ts +95 -0
- package/decorators/lib/components/clear-button.component.d.ts +25 -0
- package/decorators/lib/components/close-button.component.d.ts +22 -0
- package/decorators/lib/components/generic-content.component.d.ts +4 -0
- package/decorators/lib/components/icon.component.d.ts +12 -0
- package/dialog/lib/dialog.component.d.ts +20 -0
- package/drawer/lib/drawer-container.component.d.ts +7 -0
- package/drawer/lib/drawer.component.d.ts +104 -0
- package/dropdown/lib/dropdown-box.component.d.ts +66 -0
- package/dropdown/lib/dropdown-panel.component.d.ts +85 -0
- package/dropdown-button/lib/dropdown-button.component.d.ts +38 -0
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +6 -1
- package/esm2022/button-group/lib/button-group.component.mjs +6 -3
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +45 -114
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +23 -1
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager.component.mjs +109 -1
- package/esm2022/data-table/lib/columns/data-text-column.component.mjs +32 -1
- package/esm2022/data-table/lib/columns/row-command-column.component.mjs +63 -1
- package/esm2022/data-table/lib/columns/row-index-column.component.mjs +40 -1
- package/esm2022/data-table/lib/columns/row-select-column.component.mjs +39 -1
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +183 -1
- package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +159 -1
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +51 -2
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +122 -1
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +90 -1
- package/esm2022/decorators/lib/components/clear-button.component.mjs +26 -1
- package/esm2022/decorators/lib/components/close-button.component.mjs +23 -1
- package/esm2022/decorators/lib/components/generic-content.component.mjs +5 -1
- package/esm2022/decorators/lib/components/icon.component.mjs +13 -1
- package/esm2022/dialog/lib/dialog.component.mjs +18 -1
- package/esm2022/drawer/lib/drawer-container.component.mjs +8 -1
- package/esm2022/drawer/lib/drawer.component.mjs +102 -1
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +58 -1
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +77 -1
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +36 -1
- package/esm2022/form/lib/form-field.component.mjs +40 -1
- package/esm2022/form/lib/form.component.mjs +59 -1
- package/esm2022/form/lib/validation-summary.component.mjs +41 -1
- package/esm2022/image/lib/image.component.mjs +47 -1
- package/esm2022/label/lib/label.component.mjs +32 -1
- package/esm2022/list/lib/list.component.mjs +84 -1
- package/esm2022/loading/lib/loading-spinner.component.mjs +17 -1
- package/esm2022/loading/lib/loading.component.mjs +27 -1
- package/esm2022/popup/lib/popup.component.mjs +2 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
- package/esm2022/uploader/index.mjs +5 -5
- package/esm2022/uploader/lib/{uploader-dialog-container.component.mjs → uploader-dialog-container/uploader-dialog-container.component.mjs} +2 -2
- package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +27 -0
- package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +26 -0
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +23 -16
- package/esm2022/uploader/lib/uploader.models.mjs +6 -1
- package/esm2022/uploader/lib/uploader.module.mjs +18 -13
- package/esm2022/uploader/lib/uploader.service.mjs +14 -7
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +50 -10
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +8 -16
- package/fesm2022/acorex-components-audio-wave.mjs +5 -0
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +5 -2
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +44 -113
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +147 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +510 -0
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +50 -1
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +121 -0
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +89 -0
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +63 -0
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +17 -0
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +108 -0
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +35 -0
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +133 -0
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +137 -0
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +46 -0
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +31 -0
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +83 -0
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +42 -0
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +63 -32
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +55 -25
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/lib/form-field.component.d.ts +45 -0
- package/form/lib/form.component.d.ts +58 -0
- package/form/lib/validation-summary.component.d.ts +49 -0
- package/image/lib/image.component.d.ts +61 -0
- package/label/lib/label.component.d.ts +34 -0
- package/list/lib/list.component.d.ts +98 -0
- package/loading/lib/loading-spinner.component.d.ts +20 -0
- package/loading/lib/loading.component.d.ts +35 -0
- package/package.json +66 -66
- package/progress-bar/lib/progress-bar.component.d.ts +0 -1
- package/uploader/index.d.ts +4 -4
- package/uploader/lib/{uploader-drop-zone.component.d.ts → uploader-drop-zone/uploader-drop-zone.component.d.ts} +3 -1
- package/uploader/lib/{uploader-list.component.d.ts → uploader-list/uploader-list.component.d.ts} +1 -1
- package/uploader/lib/uploader-zone.directive.d.ts +1 -0
- package/uploader/lib/uploader.models.d.ts +5 -0
- package/uploader/lib/uploader.module.d.ts +4 -4
- package/uploader/lib/uploader.service.d.ts +2 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +16 -3
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +3 -4
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +0 -18
- package/esm2022/uploader/lib/uploader-list.component.mjs +0 -26
- /package/uploader/lib/{uploader-dialog-container.component.d.ts → uploader-dialog-container/uploader-dialog-container.component.d.ts} +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.
|
3
|
+
"version": "18.6.0",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.0.0",
|
6
6
|
"@angular/core": ">=18.0.0",
|
@@ -31,24 +31,12 @@
|
|
31
31
|
"esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
|
32
32
|
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
33
33
|
},
|
34
|
-
"./alert": {
|
35
|
-
"types": "./alert/index.d.ts",
|
36
|
-
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
37
|
-
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
38
|
-
"default": "./fesm2022/acorex-components-alert.mjs"
|
39
|
-
},
|
40
34
|
"./avatar": {
|
41
35
|
"types": "./avatar/index.d.ts",
|
42
36
|
"esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
|
43
37
|
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
44
38
|
"default": "./fesm2022/acorex-components-avatar.mjs"
|
45
39
|
},
|
46
|
-
"./audio-wave": {
|
47
|
-
"types": "./audio-wave/index.d.ts",
|
48
|
-
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
49
|
-
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
50
|
-
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
51
|
-
},
|
52
40
|
"./badge": {
|
53
41
|
"types": "./badge/index.d.ts",
|
54
42
|
"esm2022": "./esm2022/badge/acorex-components-badge.mjs",
|
@@ -61,6 +49,18 @@
|
|
61
49
|
"esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
|
62
50
|
"default": "./fesm2022/acorex-components-bottom-navigation.mjs"
|
63
51
|
},
|
52
|
+
"./alert": {
|
53
|
+
"types": "./alert/index.d.ts",
|
54
|
+
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
55
|
+
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
56
|
+
"default": "./fesm2022/acorex-components-alert.mjs"
|
57
|
+
},
|
58
|
+
"./audio-wave": {
|
59
|
+
"types": "./audio-wave/index.d.ts",
|
60
|
+
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
61
|
+
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
62
|
+
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
63
|
+
},
|
64
64
|
"./breadcrumbs": {
|
65
65
|
"types": "./breadcrumbs/index.d.ts",
|
66
66
|
"esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
@@ -85,18 +85,18 @@
|
|
85
85
|
"esm": "./esm2022/calendar/acorex-components-calendar.mjs",
|
86
86
|
"default": "./fesm2022/acorex-components-calendar.mjs"
|
87
87
|
},
|
88
|
-
"./check-box": {
|
89
|
-
"types": "./check-box/index.d.ts",
|
90
|
-
"esm2022": "./esm2022/check-box/acorex-components-check-box.mjs",
|
91
|
-
"esm": "./esm2022/check-box/acorex-components-check-box.mjs",
|
92
|
-
"default": "./fesm2022/acorex-components-check-box.mjs"
|
93
|
-
},
|
94
88
|
"./chips": {
|
95
89
|
"types": "./chips/index.d.ts",
|
96
90
|
"esm2022": "./esm2022/chips/acorex-components-chips.mjs",
|
97
91
|
"esm": "./esm2022/chips/acorex-components-chips.mjs",
|
98
92
|
"default": "./fesm2022/acorex-components-chips.mjs"
|
99
93
|
},
|
94
|
+
"./check-box": {
|
95
|
+
"types": "./check-box/index.d.ts",
|
96
|
+
"esm2022": "./esm2022/check-box/acorex-components-check-box.mjs",
|
97
|
+
"esm": "./esm2022/check-box/acorex-components-check-box.mjs",
|
98
|
+
"default": "./fesm2022/acorex-components-check-box.mjs"
|
99
|
+
},
|
100
100
|
"./circular-progress": {
|
101
101
|
"types": "./circular-progress/index.d.ts",
|
102
102
|
"esm2022": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
|
@@ -139,18 +139,18 @@
|
|
139
139
|
"esm": "./esm2022/conversation/acorex-components-conversation.mjs",
|
140
140
|
"default": "./fesm2022/acorex-components-conversation.mjs"
|
141
141
|
},
|
142
|
-
"./data-table": {
|
143
|
-
"types": "./data-table/index.d.ts",
|
144
|
-
"esm2022": "./esm2022/data-table/acorex-components-data-table.mjs",
|
145
|
-
"esm": "./esm2022/data-table/acorex-components-data-table.mjs",
|
146
|
-
"default": "./fesm2022/acorex-components-data-table.mjs"
|
147
|
-
},
|
148
142
|
"./data-pager": {
|
149
143
|
"types": "./data-pager/index.d.ts",
|
150
144
|
"esm2022": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
151
145
|
"esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
152
146
|
"default": "./fesm2022/acorex-components-data-pager.mjs"
|
153
147
|
},
|
148
|
+
"./data-table": {
|
149
|
+
"types": "./data-table/index.d.ts",
|
150
|
+
"esm2022": "./esm2022/data-table/acorex-components-data-table.mjs",
|
151
|
+
"esm": "./esm2022/data-table/acorex-components-data-table.mjs",
|
152
|
+
"default": "./fesm2022/acorex-components-data-table.mjs"
|
153
|
+
},
|
154
154
|
"./datetime-box": {
|
155
155
|
"types": "./datetime-box/index.d.ts",
|
156
156
|
"esm2022": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
|
@@ -205,18 +205,18 @@
|
|
205
205
|
"esm": "./esm2022/form/acorex-components-form.mjs",
|
206
206
|
"default": "./fesm2022/acorex-components-form.mjs"
|
207
207
|
},
|
208
|
-
"./label": {
|
209
|
-
"types": "./label/index.d.ts",
|
210
|
-
"esm2022": "./esm2022/label/acorex-components-label.mjs",
|
211
|
-
"esm": "./esm2022/label/acorex-components-label.mjs",
|
212
|
-
"default": "./fesm2022/acorex-components-label.mjs"
|
213
|
-
},
|
214
208
|
"./image": {
|
215
209
|
"types": "./image/index.d.ts",
|
216
210
|
"esm2022": "./esm2022/image/acorex-components-image.mjs",
|
217
211
|
"esm": "./esm2022/image/acorex-components-image.mjs",
|
218
212
|
"default": "./fesm2022/acorex-components-image.mjs"
|
219
213
|
},
|
214
|
+
"./label": {
|
215
|
+
"types": "./label/index.d.ts",
|
216
|
+
"esm2022": "./esm2022/label/acorex-components-label.mjs",
|
217
|
+
"esm": "./esm2022/label/acorex-components-label.mjs",
|
218
|
+
"default": "./fesm2022/acorex-components-label.mjs"
|
219
|
+
},
|
220
220
|
"./list": {
|
221
221
|
"types": "./list/index.d.ts",
|
222
222
|
"esm2022": "./esm2022/list/acorex-components-list.mjs",
|
@@ -265,41 +265,35 @@
|
|
265
265
|
"esm": "./esm2022/number-box/acorex-components-number-box.mjs",
|
266
266
|
"default": "./fesm2022/acorex-components-number-box.mjs"
|
267
267
|
},
|
268
|
-
"./otp": {
|
269
|
-
"types": "./otp/index.d.ts",
|
270
|
-
"esm2022": "./esm2022/otp/acorex-components-otp.mjs",
|
271
|
-
"esm": "./esm2022/otp/acorex-components-otp.mjs",
|
272
|
-
"default": "./fesm2022/acorex-components-otp.mjs"
|
273
|
-
},
|
274
268
|
"./page": {
|
275
269
|
"types": "./page/index.d.ts",
|
276
270
|
"esm2022": "./esm2022/page/acorex-components-page.mjs",
|
277
271
|
"esm": "./esm2022/page/acorex-components-page.mjs",
|
278
272
|
"default": "./fesm2022/acorex-components-page.mjs"
|
279
273
|
},
|
274
|
+
"./otp": {
|
275
|
+
"types": "./otp/index.d.ts",
|
276
|
+
"esm2022": "./esm2022/otp/acorex-components-otp.mjs",
|
277
|
+
"esm": "./esm2022/otp/acorex-components-otp.mjs",
|
278
|
+
"default": "./fesm2022/acorex-components-otp.mjs"
|
279
|
+
},
|
280
280
|
"./password-box": {
|
281
281
|
"types": "./password-box/index.d.ts",
|
282
282
|
"esm2022": "./esm2022/password-box/acorex-components-password-box.mjs",
|
283
283
|
"esm": "./esm2022/password-box/acorex-components-password-box.mjs",
|
284
284
|
"default": "./fesm2022/acorex-components-password-box.mjs"
|
285
285
|
},
|
286
|
-
"./phone-box": {
|
287
|
-
"types": "./phone-box/index.d.ts",
|
288
|
-
"esm2022": "./esm2022/phone-box/acorex-components-phone-box.mjs",
|
289
|
-
"esm": "./esm2022/phone-box/acorex-components-phone-box.mjs",
|
290
|
-
"default": "./fesm2022/acorex-components-phone-box.mjs"
|
291
|
-
},
|
292
286
|
"./picker": {
|
293
287
|
"types": "./picker/index.d.ts",
|
294
288
|
"esm2022": "./esm2022/picker/acorex-components-picker.mjs",
|
295
289
|
"esm": "./esm2022/picker/acorex-components-picker.mjs",
|
296
290
|
"default": "./fesm2022/acorex-components-picker.mjs"
|
297
291
|
},
|
298
|
-
"./
|
299
|
-
"types": "./
|
300
|
-
"esm2022": "./esm2022/
|
301
|
-
"esm": "./esm2022/
|
302
|
-
"default": "./fesm2022/acorex-components-
|
292
|
+
"./phone-box": {
|
293
|
+
"types": "./phone-box/index.d.ts",
|
294
|
+
"esm2022": "./esm2022/phone-box/acorex-components-phone-box.mjs",
|
295
|
+
"esm": "./esm2022/phone-box/acorex-components-phone-box.mjs",
|
296
|
+
"default": "./fesm2022/acorex-components-phone-box.mjs"
|
303
297
|
},
|
304
298
|
"./popup": {
|
305
299
|
"types": "./popup/index.d.ts",
|
@@ -307,6 +301,12 @@
|
|
307
301
|
"esm": "./esm2022/popup/acorex-components-popup.mjs",
|
308
302
|
"default": "./fesm2022/acorex-components-popup.mjs"
|
309
303
|
},
|
304
|
+
"./popover": {
|
305
|
+
"types": "./popover/index.d.ts",
|
306
|
+
"esm2022": "./esm2022/popover/acorex-components-popover.mjs",
|
307
|
+
"esm": "./esm2022/popover/acorex-components-popover.mjs",
|
308
|
+
"default": "./fesm2022/acorex-components-popover.mjs"
|
309
|
+
},
|
310
310
|
"./progress-bar": {
|
311
311
|
"types": "./progress-bar/index.d.ts",
|
312
312
|
"esm2022": "./esm2022/progress-bar/acorex-components-progress-bar.mjs",
|
@@ -325,18 +325,18 @@
|
|
325
325
|
"esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
326
326
|
"default": "./fesm2022/acorex-components-range-slider.mjs"
|
327
327
|
},
|
328
|
-
"./result": {
|
329
|
-
"types": "./result/index.d.ts",
|
330
|
-
"esm2022": "./esm2022/result/acorex-components-result.mjs",
|
331
|
-
"esm": "./esm2022/result/acorex-components-result.mjs",
|
332
|
-
"default": "./fesm2022/acorex-components-result.mjs"
|
333
|
-
},
|
334
328
|
"./routing-progress": {
|
335
329
|
"types": "./routing-progress/index.d.ts",
|
336
330
|
"esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
337
331
|
"esm": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
338
332
|
"default": "./fesm2022/acorex-components-routing-progress.mjs"
|
339
333
|
},
|
334
|
+
"./result": {
|
335
|
+
"types": "./result/index.d.ts",
|
336
|
+
"esm2022": "./esm2022/result/acorex-components-result.mjs",
|
337
|
+
"esm": "./esm2022/result/acorex-components-result.mjs",
|
338
|
+
"default": "./fesm2022/acorex-components-result.mjs"
|
339
|
+
},
|
340
340
|
"./scheduler": {
|
341
341
|
"types": "./scheduler/index.d.ts",
|
342
342
|
"esm2022": "./esm2022/scheduler/acorex-components-scheduler.mjs",
|
@@ -349,18 +349,18 @@
|
|
349
349
|
"esm": "./esm2022/scss/acorex-components-scss.mjs",
|
350
350
|
"default": "./fesm2022/acorex-components-scss.mjs"
|
351
351
|
},
|
352
|
-
"./search-box": {
|
353
|
-
"types": "./search-box/index.d.ts",
|
354
|
-
"esm2022": "./esm2022/search-box/acorex-components-search-box.mjs",
|
355
|
-
"esm": "./esm2022/search-box/acorex-components-search-box.mjs",
|
356
|
-
"default": "./fesm2022/acorex-components-search-box.mjs"
|
357
|
-
},
|
358
352
|
"./select-box": {
|
359
353
|
"types": "./select-box/index.d.ts",
|
360
354
|
"esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
|
361
355
|
"esm": "./esm2022/select-box/acorex-components-select-box.mjs",
|
362
356
|
"default": "./fesm2022/acorex-components-select-box.mjs"
|
363
357
|
},
|
358
|
+
"./search-box": {
|
359
|
+
"types": "./search-box/index.d.ts",
|
360
|
+
"esm2022": "./esm2022/search-box/acorex-components-search-box.mjs",
|
361
|
+
"esm": "./esm2022/search-box/acorex-components-search-box.mjs",
|
362
|
+
"default": "./fesm2022/acorex-components-search-box.mjs"
|
363
|
+
},
|
364
364
|
"./selection-list": {
|
365
365
|
"types": "./selection-list/index.d.ts",
|
366
366
|
"esm2022": "./esm2022/selection-list/acorex-components-selection-list.mjs",
|
@@ -373,18 +373,18 @@
|
|
373
373
|
"esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
|
374
374
|
"default": "./fesm2022/acorex-components-side-menu.mjs"
|
375
375
|
},
|
376
|
-
"./skeleton": {
|
377
|
-
"types": "./skeleton/index.d.ts",
|
378
|
-
"esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
379
|
-
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
380
|
-
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
381
|
-
},
|
382
376
|
"./slider": {
|
383
377
|
"types": "./slider/index.d.ts",
|
384
378
|
"esm2022": "./esm2022/slider/acorex-components-slider.mjs",
|
385
379
|
"esm": "./esm2022/slider/acorex-components-slider.mjs",
|
386
380
|
"default": "./fesm2022/acorex-components-slider.mjs"
|
387
381
|
},
|
382
|
+
"./skeleton": {
|
383
|
+
"types": "./skeleton/index.d.ts",
|
384
|
+
"esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
385
|
+
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
386
|
+
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
387
|
+
},
|
388
388
|
"./step-wizard": {
|
389
389
|
"types": "./step-wizard/index.d.ts",
|
390
390
|
"esm2022": "./esm2022/step-wizard/acorex-components-step-wizard.mjs",
|
@@ -6,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
6
6
|
*
|
7
7
|
* @category Components
|
8
8
|
*/
|
9
|
-
export type AXProgressLook = 'linear' | 'circular';
|
10
9
|
export type AXProgressMode = 'determinate' | 'indeterminate' | 'buffer' | 'query';
|
11
10
|
export declare class AXProgressBarComponent extends MXColorComponent {
|
12
11
|
circle: ElementRef;
|
package/uploader/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export * from './lib/uploader-browse-handle.directive';
|
2
|
-
export * from './lib/uploader-dialog-container.component';
|
3
|
-
export * from './lib/uploader-drop-zone.component';
|
4
|
-
export * from './lib/uploader-list.component';
|
2
|
+
export * from './lib/uploader-dialog-container/uploader-dialog-container.component';
|
3
|
+
export * from './lib/uploader-drop-zone/uploader-drop-zone.component';
|
4
|
+
export * from './lib/uploader-list/uploader-list.component';
|
5
5
|
export * from './lib/uploader-zone.directive';
|
6
|
+
export * from './lib/uploader.models';
|
6
7
|
export * from './lib/uploader.module';
|
7
8
|
export * from './lib/uploader.service';
|
8
|
-
export * from './lib/uploader.models';
|
@@ -5,6 +5,8 @@ import * as i0 from "@angular/core";
|
|
5
5
|
* @category Components
|
6
6
|
*/
|
7
7
|
export declare class AXUploaderDropZoneComponent extends MXBaseComponent {
|
8
|
+
protected description: import("@angular/core").InputSignal<string>;
|
9
|
+
preventRefresh(): boolean;
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderDropZoneComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDropZoneComponent, "ax-uploader-drop-zone", never, {}, {}, never, never, false, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDropZoneComponent, "ax-uploader-drop-zone", never, { "description": { "alias": "description"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
10
12
|
}
|
package/uploader/lib/{uploader-list.component.d.ts → uploader-list/uploader-list.component.d.ts}
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AXBasePageComponent } from '@acorex/components/page';
|
2
|
-
import { AXUploaderService } from '
|
2
|
+
import { AXUploaderService } from '../uploader.service';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
/**
|
5
5
|
* A component that displays a list of uploaded files.
|
@@ -9,6 +9,9 @@ export interface AXUploaderFileCompleteEvent extends AXEvent {
|
|
9
9
|
export interface AXUploaderFilesCompleteEvent extends AXEvent {
|
10
10
|
uploadedFiles: AXUploadRequest[];
|
11
11
|
}
|
12
|
+
export interface AXUploaderFileCancelEvent extends AXEvent {
|
13
|
+
uploadedFile: AXUploadRequest;
|
14
|
+
}
|
12
15
|
export declare class AXUploadRequest {
|
13
16
|
private uploadFile;
|
14
17
|
get name(): string;
|
@@ -23,6 +26,8 @@ export declare class AXUploadRequest {
|
|
23
26
|
status: import("@angular/core").Signal<AXUploadStatus>;
|
24
27
|
private readonly _message;
|
25
28
|
message: import("@angular/core").Signal<string>;
|
29
|
+
private readonly _isDetermined;
|
30
|
+
isDetermined: import("@angular/core").Signal<boolean>;
|
26
31
|
private startTime;
|
27
32
|
private bytesTransferred;
|
28
33
|
onStart: (file: AXUploadRequest) => void;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./uploader-drop-zone.component";
|
3
|
-
import * as i2 from "./uploader-list.component";
|
2
|
+
import * as i1 from "./uploader-drop-zone/uploader-drop-zone.component";
|
3
|
+
import * as i2 from "./uploader-list/uploader-list.component";
|
4
4
|
import * as i3 from "./uploader-zone.directive";
|
5
5
|
import * as i4 from "./uploader-browse-handle.directive";
|
6
|
-
import * as i5 from "./uploader-dialog-container.component";
|
6
|
+
import * as i5 from "./uploader-dialog-container/uploader-dialog-container.component";
|
7
7
|
import * as i6 from "@angular/common";
|
8
8
|
import * as i7 from "@acorex/components/decorators";
|
9
9
|
import * as i8 from "@acorex/components/button";
|
@@ -16,6 +16,6 @@ import * as i14 from "@acorex/components/circular-progress";
|
|
16
16
|
import * as i15 from "@acorex/components/popup";
|
17
17
|
export declare class AXUploaderModule {
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderModule, never>;
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXUploaderModule, [typeof i1.AXUploaderDropZoneComponent, typeof i2.AXUploaderListComponent, typeof i3.AXUploaderZoneDirective, typeof i4.AXUploaderBrowseDirective, typeof i5.AXUploaderDialogContainerComponent], [typeof i6.CommonModule, typeof i7.AXDecoratorModule, typeof i8.AXButtonModule, typeof i9.AXTranslationModule, typeof i10.AXProgressBarModule, typeof i11.AXFormatModule, typeof i12.AXFileModule, typeof i13.AXDateTimeModule, typeof i14.AXCircularProgressModule, typeof i15.AXPopupModule], [typeof i1.AXUploaderDropZoneComponent, typeof i3.AXUploaderZoneDirective, typeof i4.AXUploaderBrowseDirective, typeof i5.AXUploaderDialogContainerComponent]>;
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXUploaderModule, [typeof i1.AXUploaderDropZoneComponent, typeof i2.AXUploaderListComponent, typeof i3.AXUploaderZoneDirective, typeof i4.AXUploaderBrowseDirective, typeof i5.AXUploaderDialogContainerComponent], [typeof i6.CommonModule, typeof i7.AXDecoratorModule, typeof i8.AXButtonModule, typeof i9.AXTranslationModule, typeof i10.AXProgressBarModule, typeof i11.AXFormatModule, typeof i12.AXFileModule, typeof i13.AXDateTimeModule, typeof i14.AXCircularProgressModule, typeof i15.AXPopupModule], [typeof i1.AXUploaderDropZoneComponent, typeof i2.AXUploaderListComponent, typeof i3.AXUploaderZoneDirective, typeof i4.AXUploaderBrowseDirective, typeof i5.AXUploaderDialogContainerComponent]>;
|
20
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXUploaderModule>;
|
21
21
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BehaviorSubject, Subject } from 'rxjs';
|
2
|
-
import { AXUploaderFileCompleteEvent, AXUploaderFilesCompleteEvent
|
2
|
+
import { AXUploadRequest, AXUploaderFileCancelEvent, AXUploaderFileCompleteEvent, AXUploaderFilesCompleteEvent } from './uploader.models';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXUploaderService {
|
5
5
|
private popupService;
|
@@ -8,6 +8,7 @@ export declare class AXUploaderService {
|
|
8
8
|
get files(): BehaviorSubject<AXUploadRequest[]>;
|
9
9
|
readonly onFileUploadComplete: Subject<AXUploaderFileCompleteEvent>;
|
10
10
|
readonly onFilesUploadComplete: Subject<AXUploaderFilesCompleteEvent>;
|
11
|
+
readonly onFileUploadCanceled: Subject<AXUploaderFileCancelEvent>;
|
11
12
|
readonly totalEstimateTime: import("rxjs").Observable<number>;
|
12
13
|
private showDialog;
|
13
14
|
private convertFileToRequest;
|
@@ -1,12 +1,19 @@
|
|
1
1
|
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
2
|
-
import {
|
2
|
+
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';
|
3
|
+
import { OnDestroy } from '@angular/core';
|
3
4
|
import { AXWysiwygService } from '../wysiwyg.service';
|
4
5
|
import * as i0 from "@angular/core";
|
6
|
+
declare const AXWysiwygContainerComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
|
7
|
+
new (): MXInputBaseValueComponent<string>;
|
8
|
+
ɵfac: unknown;
|
9
|
+
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
10
|
+
}, typeof MXLookComponent]>;
|
5
11
|
/**
|
6
12
|
* A container component for WYSIWYG (What You See Is What You Get) editor functionality.
|
7
13
|
* @category Components
|
8
14
|
*/
|
9
|
-
export declare class AXWysiwygContainerComponent extends
|
15
|
+
export declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_base implements OnDestroy {
|
16
|
+
private zone;
|
10
17
|
/**
|
11
18
|
* @ignore
|
12
19
|
*/
|
@@ -19,10 +26,16 @@ export declare class AXWysiwygContainerComponent extends MXBaseComponent {
|
|
19
26
|
* @ignore
|
20
27
|
*/
|
21
28
|
protected service: AXWysiwygService;
|
29
|
+
/**
|
30
|
+
* @ignore
|
31
|
+
*/
|
22
32
|
/**
|
23
33
|
* @ignore
|
24
34
|
*/
|
25
35
|
constructor();
|
36
|
+
protected changeHandler(): void;
|
37
|
+
ngOnDestroy(): void;
|
26
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, {}, {}, never, ["*"], false, never>;
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, { "look": { "alias": "look"; "required": false; }; }, {}, never, ["*", "ax-validation-rule"], false, never>;
|
28
40
|
}
|
41
|
+
export {};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
2
2
|
import { AXClickEvent, AXPlacement } from '@acorex/components/common';
|
3
3
|
import { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';
|
4
|
+
import { AXWysiwygContainerComponent } from '../wysiwyg-container/wysiwyg-container.component';
|
4
5
|
import { AXWysiwygService } from '../wysiwyg.service';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
type ConfigType = {
|
@@ -22,6 +23,7 @@ type ConfigType = {
|
|
22
23
|
* @category Components
|
23
24
|
*/
|
24
25
|
export declare class AXWysiwygToolbarComponent {
|
26
|
+
parent: AXWysiwygContainerComponent;
|
25
27
|
/**
|
26
28
|
* Return user input as HTML.
|
27
29
|
* @event
|
@@ -73,6 +75,7 @@ export declare class AXWysiwygToolbarComponent {
|
|
73
75
|
};
|
74
76
|
/** @ignore */
|
75
77
|
protected submitLink(): void;
|
78
|
+
/** @ignore */
|
76
79
|
protected changeColorHandler(e: string): void;
|
77
80
|
/** @ignore */
|
78
81
|
protected changeHighlightColorHandler(e: string): void;
|
@@ -80,10 +83,6 @@ export declare class AXWysiwygToolbarComponent {
|
|
80
83
|
protected fontHandler(e: any): void;
|
81
84
|
/** @ignore */
|
82
85
|
protected bold(): void;
|
83
|
-
/**
|
84
|
-
* emit html output
|
85
|
-
*/
|
86
|
-
out(): void;
|
87
86
|
/** @ignore */
|
88
87
|
protected italic(): void;
|
89
88
|
/** @ignore */
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@acorex/components/decorators";
|
5
|
-
import * as i2 from "./uploader-zone.directive";
|
6
|
-
/**
|
7
|
-
* A component that provides a drop zone area for uploading files.
|
8
|
-
* @category Components
|
9
|
-
*/
|
10
|
-
export class AXUploaderDropZoneComponent extends MXBaseComponent {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDropZoneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-uploader-drop-zone-container\" axUploaderZone>\n <ax-icon class=\"ax-icon ax-icon-upload\"></ax-icon>\n <div class=\"ax-uploader-drop-zone-description\">\n <span>Drag & Drop or <a href=\"#\">Choose file</a> to upload</span>\n <p>SVG, PNG, JPG or GIF (MAX. 800x400px)</p>\n </div>\n</div>", styles: [".ax-uploader-drop-zone-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:.5rem;margin:1rem;padding:1rem;gap:1rem;border:2px dashed;border-color:rgba(var(--ax-color-border-default))}.ax-uploader-drop-zone-container:hover{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-50))}.ax-uploader-drop-zone-container ax-icon{font-size:1.875rem;line-height:2.25rem;color:#a3a3a3}.ax-uploader-drop-zone-container .ax-uploader-drop-zone-description{display:flex;flex-direction:column;gap:.5rem}.ax-uploader-drop-zone-container .ax-uploader-drop-zone-description a{color:rgba(var(--ax-color-primary-500))}.ax-uploader-drop-zone-container .ax-uploader-drop-zone-description p{font-size:.875rem;line-height:1.25rem;color:#a3a3a3}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: i2.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple", "accept"], outputs: ["onChanged", "onFileUploadComplete", "onFilesUploadComplete"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
13
|
-
}
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDropZoneComponent, decorators: [{
|
15
|
-
type: Component,
|
16
|
-
args: [{ selector: 'ax-uploader-drop-zone', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-uploader-drop-zone-container\" axUploaderZone>\n <ax-icon class=\"ax-icon ax-icon-upload\"></ax-icon>\n <div class=\"ax-uploader-drop-zone-description\">\n <span>Drag & Drop or <a href=\"#\">Choose file</a> to upload</span>\n <p>SVG, PNG, JPG or GIF (MAX. 800x400px)</p>\n </div>\n</div>", styles: [".ax-uploader-drop-zone-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:.5rem;margin:1rem;padding:1rem;gap:1rem;border:2px dashed;border-color:rgba(var(--ax-color-border-default))}.ax-uploader-drop-zone-container:hover{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-50))}.ax-uploader-drop-zone-container ax-icon{font-size:1.875rem;line-height:2.25rem;color:#a3a3a3}.ax-uploader-drop-zone-container .ax-uploader-drop-zone-description{display:flex;flex-direction:column;gap:.5rem}.ax-uploader-drop-zone-container .ax-uploader-drop-zone-description a{color:rgba(var(--ax-color-primary-500))}.ax-uploader-drop-zone-container .ax-uploader-drop-zone-description p{font-size:.875rem;line-height:1.25rem;color:#a3a3a3}\n"] }]
|
17
|
-
}] });
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkZXItZHJvcC16b25lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy91cGxvYWRlci9zcmMvbGliL3VwbG9hZGVyLWRyb3Atem9uZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdXBsb2FkZXIvc3JjL2xpYi91cGxvYWRlci1kcm9wLXpvbmUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzVELE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7QUFFN0Q7OztHQUdHO0FBT0gsTUFBTSxPQUFPLDJCQUE0QixTQUFRLGVBQWU7OEdBQW5ELDJCQUEyQjtrR0FBM0IsMkJBQTJCLG9GQ2J4QywwVEFNTTs7MkZET08sMkJBQTJCO2tCQU52QyxTQUFTOytCQUNFLHVCQUF1QixpQkFHbEIsaUJBQWlCLENBQUMsSUFBSSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1YQmFzZUNvbXBvbmVudCB9IGZyb20gJ0BhY29yZXgvY29tcG9u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
|
2
|
-
import { Component, ViewEncapsulation, inject } from '@angular/core';
|
3
|
-
import { AXUploaderService } from './uploader.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@acorex/components/circular-progress";
|
6
|
-
import * as i2 from "@angular/common";
|
7
|
-
import * as i3 from "@acorex/core/translation";
|
8
|
-
import * as i4 from "@acorex/core/format";
|
9
|
-
/**
|
10
|
-
* A component that displays a list of uploaded files.
|
11
|
-
* @category Components
|
12
|
-
*/
|
13
|
-
export class AXUploaderListComponent extends AXBasePageComponent {
|
14
|
-
constructor() {
|
15
|
-
super(...arguments);
|
16
|
-
/** @ignore */
|
17
|
-
this.uploadService = inject(AXUploaderService);
|
18
|
-
}
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXUploaderListComponent, selector: "ax-uploader-list", usesInheritance: true, ngImport: i0, template: "@if((uploadService.totalEstimateTime | async) > 0)\n{\n<div class=\"ax-uploader-progress-status\">\n <div>{{ (uploadService.totalEstimateTime | async) | format: 'timeleft' | async }}</div>\n <button (click)=\"uploadService.cancelAll()\">{{ 'cancel' | translate | async }}</button>\n</div>\n}\n<ul class=\"ax-uploader-list-items\">\n @for (item of uploadService.files | async; track item.name) {\n <li>\n <div class=\"ax-file ax-bg-success-500\">\n <span>{{ item.ext }}</span>\n </div>\n <div class=\"ax-item-container\">\n <div class=\"ax-item-name\" [title]=\"item.name\">{{ item.name }}</div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('inprogress') {\n <span>{{ item.size | format: 'filesize' | async }}</span> / {{ item.estimateTime() | format: 'timeleft' | async\n }}\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ item.message() }}</span>\n }\n }\n </div>\n </div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('completed') {\n <i class=\"ax-icon ax-icon-solid ax-icon-check-circle ax-state-completed\"></i>\n }\n @case ('canceled') {\n <span class=\"ax-state-canceled\">{{ 'canceled' | translate | async }}</span>\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ 'failed' | translate | async }}</span>\n }\n @default {\n <ax-circular-progress [size]=\"22\" [stroke]=\"6\" [progress]=\"item.progress()\" class=\"ax-show\">\n </ax-circular-progress>\n <i class=\"ax-icon ax-icon-solid ax-icon-close ax-hide\" (click)=\"item.cancel()\"\n title=\"{{ 'cancel' | translate | async }}\"></i>\n }\n }\n </div>\n </li>\n }\n</ul>", styles: [".ax-dark ax-uploader-list .ax-uploader-progress-status{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-500),.25);color:rgba(var(--ax-color-primary-fore))}ax-uploader-list .ax-uploader-progress-status{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-top-width:1px;border-color:rgba(var(--ax-color-primary-200));background-color:rgba(var(--ax-color-primary-200));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-color-primary-fore-tint))}ax-uploader-list .ax-uploader-list-items{max-height:75vh;width:100%;overflow-y:auto;overflow-x:hidden;padding:.5rem 1rem;gap:.5rem;display:flex;flex-direction:column}ax-uploader-list .ax-uploader-list-items li{display:flex;align-items:center;font-size:.875rem;line-height:1.25rem;gap:1rem;width:100%}ax-uploader-list .ax-uploader-list-items li .ax-item-container{display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none}ax-uploader-list .ax-uploader-list-items li .ax-item-container .ax-item-name{font-size:.875rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:12rem}ax-uploader-list .ax-uploader-list-items li .ax-status{position:relative;color:rgba(var(--ax-color-black),.5)}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon{font-size:1.375rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon-close{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-canceled{color:rgba(var(--ax-color-neutral-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed{color:rgba(var(--ax-color-danger-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-completed{color:rgba(var(--ax-color-success-500))}ax-uploader-list .ax-uploader-list-items li:hover .ax-hide{display:flex!important}ax-uploader-list .ax-uploader-list-items li:hover .ax-show{display:none!important}ax-uploader-list .ax-uploader-list-items li .ax-show{display:flex!important}ax-uploader-list .ax-uploader-list-items li .ax-hide{display:none!important}.ax-file{position:relative;display:flex;align-items:center;justify-content:center;width:1.5rem;aspect-ratio:.7;border-radius:.25rem;color:rgba(var(--ax-color-white))}.ax-file>*{position:absolute;bottom:.3rem;font-weight:700;font-size:.65rem;line-height:.65rem}.ax-file:before{content:\"\";position:absolute;top:0;right:0;border-width:0 12px 12px 0;border-color:rgba(var(--ax-color-surface)) rgba(var(--ax-color-surface)) rgba(var(--ax-color-black),.3) rgba(var(--ax-color-black),.3)}\n"], dependencies: [{ kind: "component", type: i1.AXCircularProgressComponent, selector: "ax-circular-progress", inputs: ["color", "progress", "stroke", "size"], outputs: ["ValueChange", "strokeChange", "sizeChange"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i4.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
|
21
|
-
}
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderListComponent, decorators: [{
|
23
|
-
type: Component,
|
24
|
-
args: [{ selector: 'ax-uploader-list', encapsulation: ViewEncapsulation.None, template: "@if((uploadService.totalEstimateTime | async) > 0)\n{\n<div class=\"ax-uploader-progress-status\">\n <div>{{ (uploadService.totalEstimateTime | async) | format: 'timeleft' | async }}</div>\n <button (click)=\"uploadService.cancelAll()\">{{ 'cancel' | translate | async }}</button>\n</div>\n}\n<ul class=\"ax-uploader-list-items\">\n @for (item of uploadService.files | async; track item.name) {\n <li>\n <div class=\"ax-file ax-bg-success-500\">\n <span>{{ item.ext }}</span>\n </div>\n <div class=\"ax-item-container\">\n <div class=\"ax-item-name\" [title]=\"item.name\">{{ item.name }}</div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('inprogress') {\n <span>{{ item.size | format: 'filesize' | async }}</span> / {{ item.estimateTime() | format: 'timeleft' | async\n }}\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ item.message() }}</span>\n }\n }\n </div>\n </div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('completed') {\n <i class=\"ax-icon ax-icon-solid ax-icon-check-circle ax-state-completed\"></i>\n }\n @case ('canceled') {\n <span class=\"ax-state-canceled\">{{ 'canceled' | translate | async }}</span>\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ 'failed' | translate | async }}</span>\n }\n @default {\n <ax-circular-progress [size]=\"22\" [stroke]=\"6\" [progress]=\"item.progress()\" class=\"ax-show\">\n </ax-circular-progress>\n <i class=\"ax-icon ax-icon-solid ax-icon-close ax-hide\" (click)=\"item.cancel()\"\n title=\"{{ 'cancel' | translate | async }}\"></i>\n }\n }\n </div>\n </li>\n }\n</ul>", styles: [".ax-dark ax-uploader-list .ax-uploader-progress-status{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-500),.25);color:rgba(var(--ax-color-primary-fore))}ax-uploader-list .ax-uploader-progress-status{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-top-width:1px;border-color:rgba(var(--ax-color-primary-200));background-color:rgba(var(--ax-color-primary-200));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-color-primary-fore-tint))}ax-uploader-list .ax-uploader-list-items{max-height:75vh;width:100%;overflow-y:auto;overflow-x:hidden;padding:.5rem 1rem;gap:.5rem;display:flex;flex-direction:column}ax-uploader-list .ax-uploader-list-items li{display:flex;align-items:center;font-size:.875rem;line-height:1.25rem;gap:1rem;width:100%}ax-uploader-list .ax-uploader-list-items li .ax-item-container{display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none}ax-uploader-list .ax-uploader-list-items li .ax-item-container .ax-item-name{font-size:.875rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:12rem}ax-uploader-list .ax-uploader-list-items li .ax-status{position:relative;color:rgba(var(--ax-color-black),.5)}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon{font-size:1.375rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon-close{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-canceled{color:rgba(var(--ax-color-neutral-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed{color:rgba(var(--ax-color-danger-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-completed{color:rgba(var(--ax-color-success-500))}ax-uploader-list .ax-uploader-list-items li:hover .ax-hide{display:flex!important}ax-uploader-list .ax-uploader-list-items li:hover .ax-show{display:none!important}ax-uploader-list .ax-uploader-list-items li .ax-show{display:flex!important}ax-uploader-list .ax-uploader-list-items li .ax-hide{display:none!important}.ax-file{position:relative;display:flex;align-items:center;justify-content:center;width:1.5rem;aspect-ratio:.7;border-radius:.25rem;color:rgba(var(--ax-color-white))}.ax-file>*{position:absolute;bottom:.3rem;font-weight:700;font-size:.65rem;line-height:.65rem}.ax-file:before{content:\"\";position:absolute;top:0;right:0;border-width:0 12px 12px 0;border-color:rgba(var(--ax-color-surface)) rgba(var(--ax-color-surface)) rgba(var(--ax-color-black),.3) rgba(var(--ax-color-black),.3)}\n"] }]
|
25
|
-
}] });
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkZXItbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoi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