@awes-io/ui 2.115.0 → 2.117.0
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.117.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.116.0...@awes-io/ui@2.117.0) (2024-11-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **table-builder:** props to disable fetching ([c617fde](https://github.com/awes-io/client/commit/c617fde1833a50c775446cd5e3a95eb94a5593c2))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [2.116.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.115.0...@awes-io/ui@2.116.0) (2024-11-21)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* fix props name in uploader ([d219631](https://github.com/awes-io/client/commit/d21963105f821ce97f935851d2b4e1337020005d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* add file type in aw uploader ([b037bd9](https://github.com/awes-io/client/commit/b037bd977e2f76d21be4adf3041073e4ca6e5e58))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [2.115.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.114.2...@awes-io/ui@2.115.0) (2024-11-14)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -281,7 +281,17 @@ export default {
|
|
|
281
281
|
/**
|
|
282
282
|
* Disable auto fetching collection on mount
|
|
283
283
|
*/
|
|
284
|
-
noFetch: Boolean
|
|
284
|
+
noFetch: Boolean,
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Disable auto fetching on page or limit change
|
|
288
|
+
*/
|
|
289
|
+
noPagination: Boolean,
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Disable auto fetching on watch params change
|
|
293
|
+
*/
|
|
294
|
+
noWatchFetch: Boolean
|
|
285
295
|
},
|
|
286
296
|
|
|
287
297
|
data() {
|
|
@@ -420,7 +430,7 @@ export default {
|
|
|
420
430
|
this._scrollTop()
|
|
421
431
|
}
|
|
422
432
|
|
|
423
|
-
this.fetch()
|
|
433
|
+
!this.noPagination && this.fetch()
|
|
424
434
|
}
|
|
425
435
|
},
|
|
426
436
|
|
|
@@ -429,7 +439,7 @@ export default {
|
|
|
429
439
|
this._scrollTop()
|
|
430
440
|
}
|
|
431
441
|
|
|
432
|
-
this.fetch()
|
|
442
|
+
!this.noPagination && this.fetch()
|
|
433
443
|
}
|
|
434
444
|
},
|
|
435
445
|
|
|
@@ -565,6 +575,8 @@ export default {
|
|
|
565
575
|
* Resets page if it is not first or simply doing fetch otherwise
|
|
566
576
|
*/
|
|
567
577
|
_fetchFromWatcher() {
|
|
578
|
+
if (this.noWatchFetch) return
|
|
579
|
+
|
|
568
580
|
if (this.page !== 1) {
|
|
569
581
|
this.$router.push(mergeRouteQuery({ page: null }, this.$route))
|
|
570
582
|
} else {
|
|
@@ -215,6 +215,11 @@ export default {
|
|
|
215
215
|
uploadedFilesNumber: {
|
|
216
216
|
type: Number,
|
|
217
217
|
default: null
|
|
218
|
+
},
|
|
219
|
+
|
|
220
|
+
fieldName: {
|
|
221
|
+
type: String,
|
|
222
|
+
default: 'file'
|
|
218
223
|
}
|
|
219
224
|
},
|
|
220
225
|
|
|
@@ -342,7 +347,7 @@ export default {
|
|
|
342
347
|
const id = uploader.id
|
|
343
348
|
const data = new FormData()
|
|
344
349
|
|
|
345
|
-
data.append(
|
|
350
|
+
data.append(this.fieldName, file)
|
|
346
351
|
|
|
347
352
|
if (isType('Function', this.processData)) {
|
|
348
353
|
this.processData(data)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.117.0",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"rollup-plugin-visualizer": "^2.6.0",
|
|
115
115
|
"rollup-plugin-vue": "^5.0.1"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "742b5b34247b6c000a111288c89e704838b22f46"
|
|
118
118
|
}
|