adminforth 2.26.4 → 2.27.0-next.10
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/commands/createApp/templates/package.json.hbs +1 -1
- package/dist/modules/restApi.d.ts +1 -0
- package/dist/modules/restApi.d.ts.map +1 -1
- package/dist/modules/restApi.js +65 -3
- package/dist/modules/restApi.js.map +1 -1
- package/dist/modules/styles.js +2 -2
- package/dist/modules/styles.js.map +1 -1
- package/dist/servers/express.d.ts.map +1 -1
- package/dist/servers/express.js +7 -1
- package/dist/servers/express.js.map +1 -1
- package/dist/spa/package-lock.json +85 -7
- package/dist/spa/package.json +4 -1
- package/dist/spa/pnpm-lock.yaml +339 -299
- package/dist/spa/src/App.vue +1 -1
- package/dist/spa/src/adminforth.ts +17 -29
- package/dist/spa/src/afcl/Input.vue +1 -1
- package/dist/spa/src/afcl/Modal.vue +12 -1
- package/dist/spa/src/afcl/Select.vue +4 -2
- package/dist/spa/src/afcl/Table.vue +27 -13
- package/dist/spa/src/components/AcceptModal.vue +2 -0
- package/dist/spa/src/components/ColumnValueInputWrapper.vue +35 -4
- package/dist/spa/src/components/CustomRangePicker.vue +22 -67
- package/dist/spa/src/components/GroupsTable.vue +7 -4
- package/dist/spa/src/components/ListActionsThreeDots.vue +9 -8
- package/dist/spa/src/components/RangePicker.vue +236 -0
- package/dist/spa/src/components/ResourceForm.vue +100 -6
- package/dist/spa/src/components/ResourceListTable.vue +45 -70
- package/dist/spa/src/components/Sidebar.vue +1 -1
- package/dist/spa/src/components/ThreeDotsMenu.vue +54 -57
- package/dist/spa/src/i18n.ts +1 -1
- package/dist/spa/src/stores/core.ts +4 -2
- package/dist/spa/src/types/Back.ts +10 -3
- package/dist/spa/src/types/Common.ts +43 -8
- package/dist/spa/src/types/FrontendAPI.ts +6 -1
- package/dist/spa/src/types/adapters/StorageAdapter.ts +12 -0
- package/dist/spa/src/utils/createEditUtils.ts +65 -0
- package/dist/spa/src/utils/index.ts +2 -1
- package/dist/spa/src/utils/listUtils.ts +8 -2
- package/dist/spa/src/utils/utils.ts +192 -12
- package/dist/spa/src/utils.ts +2 -1
- package/dist/spa/src/views/CreateView.vue +32 -59
- package/dist/spa/src/views/EditView.vue +30 -47
- package/dist/spa/src/views/ListView.vue +119 -18
- package/dist/spa/src/views/LoginView.vue +13 -13
- package/dist/spa/src/views/ShowView.vue +67 -61
- package/dist/spa/tsconfig.app.json +1 -1
- package/dist/types/Back.d.ts +7 -4
- package/dist/types/Back.d.ts.map +1 -1
- package/dist/types/Back.js.map +1 -1
- package/dist/types/Common.d.ts +43 -8
- package/dist/types/Common.d.ts.map +1 -1
- package/dist/types/Common.js.map +1 -1
- package/dist/types/FrontendAPI.d.ts +13 -1
- package/dist/types/FrontendAPI.d.ts.map +1 -1
- package/dist/types/FrontendAPI.js.map +1 -1
- package/dist/types/adapters/StorageAdapter.d.ts +11 -0
- package/dist/types/adapters/StorageAdapter.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
"@unhead/vue": "^1.9.12",
|
|
16
16
|
"@vueuse/core": "^10.10.0",
|
|
17
17
|
"apexcharts": "^4.7.0",
|
|
18
|
+
"async-mutex": "^0.5.0",
|
|
18
19
|
"dayjs": "^1.11.11",
|
|
19
20
|
"debounce": "^2.1.0",
|
|
20
21
|
"flowbite-datepicker": "^1.2.6",
|
|
21
22
|
"javascript-time-ago": "^2.5.11",
|
|
23
|
+
"lodash.debounce": "^4.0.8",
|
|
22
24
|
"pinia": "^2.1.7",
|
|
23
25
|
"sanitize-html": "^2.13.0",
|
|
24
26
|
"unhead": "^1.9.12",
|
|
@@ -26,14 +28,15 @@
|
|
|
26
28
|
"vue-diff": "^1.2.4",
|
|
27
29
|
"vue-i18n": "^10.0.5",
|
|
28
30
|
"vue-router": "^4.3.0",
|
|
29
|
-
"vue-slider-component": "^4.1.0-beta.7",
|
|
30
31
|
"vue3-json-viewer": "^2.2.2"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@rushstack/eslint-patch": "^1.8.0",
|
|
34
35
|
"@tailwindcss/typography": "^0.5.19",
|
|
35
36
|
"@tsconfig/node20": "^20.1.4",
|
|
37
|
+
"@types/lodash.debounce": "^4.0.9",
|
|
36
38
|
"@types/node": "^20.12.5",
|
|
39
|
+
"@types/sanitize-html": "^2.16.1",
|
|
37
40
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
38
41
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
39
42
|
"@vue/tsconfig": "^0.5.1",
|
|
@@ -1626,6 +1629,23 @@
|
|
|
1626
1629
|
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
|
|
1627
1630
|
"license": "MIT"
|
|
1628
1631
|
},
|
|
1632
|
+
"node_modules/@types/lodash": {
|
|
1633
|
+
"version": "4.17.24",
|
|
1634
|
+
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.24.tgz",
|
|
1635
|
+
"integrity": "sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ==",
|
|
1636
|
+
"dev": true,
|
|
1637
|
+
"license": "MIT"
|
|
1638
|
+
},
|
|
1639
|
+
"node_modules/@types/lodash.debounce": {
|
|
1640
|
+
"version": "4.0.9",
|
|
1641
|
+
"resolved": "https://registry.npmjs.org/@types/lodash.debounce/-/lodash.debounce-4.0.9.tgz",
|
|
1642
|
+
"integrity": "sha512-Ma5JcgTREwpLRwMM+XwBR7DaWe96nC38uCBDFKZWbNKD+osjVzdpnUSwBcqCptrp16sSOLBAUb50Car5I0TCsQ==",
|
|
1643
|
+
"dev": true,
|
|
1644
|
+
"license": "MIT",
|
|
1645
|
+
"dependencies": {
|
|
1646
|
+
"@types/lodash": "*"
|
|
1647
|
+
}
|
|
1648
|
+
},
|
|
1629
1649
|
"node_modules/@types/node": {
|
|
1630
1650
|
"version": "20.19.37",
|
|
1631
1651
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.37.tgz",
|
|
@@ -1642,6 +1662,49 @@
|
|
|
1642
1662
|
"integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==",
|
|
1643
1663
|
"license": "MIT"
|
|
1644
1664
|
},
|
|
1665
|
+
"node_modules/@types/sanitize-html": {
|
|
1666
|
+
"version": "2.16.1",
|
|
1667
|
+
"resolved": "https://registry.npmjs.org/@types/sanitize-html/-/sanitize-html-2.16.1.tgz",
|
|
1668
|
+
"integrity": "sha512-n9wjs8bCOTyN/ynwD8s/nTcTreIHB1vf31vhLMGqUPNHaweKC4/fAl4Dj+hUlCTKYgm4P3k83fmiFfzkZ6sgMA==",
|
|
1669
|
+
"dev": true,
|
|
1670
|
+
"license": "MIT",
|
|
1671
|
+
"dependencies": {
|
|
1672
|
+
"htmlparser2": "^10.1"
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
"node_modules/@types/sanitize-html/node_modules/entities": {
|
|
1676
|
+
"version": "7.0.1",
|
|
1677
|
+
"resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz",
|
|
1678
|
+
"integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==",
|
|
1679
|
+
"dev": true,
|
|
1680
|
+
"license": "BSD-2-Clause",
|
|
1681
|
+
"engines": {
|
|
1682
|
+
"node": ">=0.12"
|
|
1683
|
+
},
|
|
1684
|
+
"funding": {
|
|
1685
|
+
"url": "https://github.com/fb55/entities?sponsor=1"
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
"node_modules/@types/sanitize-html/node_modules/htmlparser2": {
|
|
1689
|
+
"version": "10.1.0",
|
|
1690
|
+
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz",
|
|
1691
|
+
"integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==",
|
|
1692
|
+
"dev": true,
|
|
1693
|
+
"funding": [
|
|
1694
|
+
"https://github.com/fb55/htmlparser2?sponsor=1",
|
|
1695
|
+
{
|
|
1696
|
+
"type": "github",
|
|
1697
|
+
"url": "https://github.com/sponsors/fb55"
|
|
1698
|
+
}
|
|
1699
|
+
],
|
|
1700
|
+
"license": "MIT",
|
|
1701
|
+
"dependencies": {
|
|
1702
|
+
"domelementtype": "^2.3.0",
|
|
1703
|
+
"domhandler": "^5.0.3",
|
|
1704
|
+
"domutils": "^3.2.2",
|
|
1705
|
+
"entities": "^7.0.1"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1645
1708
|
"node_modules/@types/web-bluetooth": {
|
|
1646
1709
|
"version": "0.0.20",
|
|
1647
1710
|
"resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz",
|
|
@@ -2328,6 +2391,15 @@
|
|
|
2328
2391
|
"dev": true,
|
|
2329
2392
|
"license": "MIT"
|
|
2330
2393
|
},
|
|
2394
|
+
"node_modules/async-mutex": {
|
|
2395
|
+
"version": "0.5.0",
|
|
2396
|
+
"resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.5.0.tgz",
|
|
2397
|
+
"integrity": "sha512-1A94B18jkJ3DYq284ohPxoXbfTA5HsQ7/Mf4DEhcyLx3Bz27Rh59iScbB6EPiP+B+joue6YCxcMXSbFC1tZKwA==",
|
|
2398
|
+
"license": "MIT",
|
|
2399
|
+
"dependencies": {
|
|
2400
|
+
"tslib": "^2.4.0"
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2331
2403
|
"node_modules/autoprefixer": {
|
|
2332
2404
|
"version": "10.4.27",
|
|
2333
2405
|
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.27.tgz",
|
|
@@ -3851,6 +3923,12 @@
|
|
|
3851
3923
|
"dev": true,
|
|
3852
3924
|
"license": "MIT"
|
|
3853
3925
|
},
|
|
3926
|
+
"node_modules/lodash.debounce": {
|
|
3927
|
+
"version": "4.0.8",
|
|
3928
|
+
"resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
|
|
3929
|
+
"integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==",
|
|
3930
|
+
"license": "MIT"
|
|
3931
|
+
},
|
|
3854
3932
|
"node_modules/lodash.merge": {
|
|
3855
3933
|
"version": "4.6.2",
|
|
3856
3934
|
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
|
@@ -5114,6 +5192,12 @@
|
|
|
5114
5192
|
"dev": true,
|
|
5115
5193
|
"license": "Apache-2.0"
|
|
5116
5194
|
},
|
|
5195
|
+
"node_modules/tslib": {
|
|
5196
|
+
"version": "2.8.1",
|
|
5197
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
|
5198
|
+
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
|
|
5199
|
+
"license": "0BSD"
|
|
5200
|
+
},
|
|
5117
5201
|
"node_modules/type-check": {
|
|
5118
5202
|
"version": "0.4.0",
|
|
5119
5203
|
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
|
@@ -5527,12 +5611,6 @@
|
|
|
5527
5611
|
"vue": "^3.5.0"
|
|
5528
5612
|
}
|
|
5529
5613
|
},
|
|
5530
|
-
"node_modules/vue-slider-component": {
|
|
5531
|
-
"version": "4.1.0-beta.7",
|
|
5532
|
-
"resolved": "https://registry.npmjs.org/vue-slider-component/-/vue-slider-component-4.1.0-beta.7.tgz",
|
|
5533
|
-
"integrity": "sha512-Qb7K920ZG7PoQswoF6Ias+i3W2rd3k4fpk04JUl82kEUcN86Yg6et7bVSKWt/7VpQe8a5IT3BqCKSCOZ7AJgCA==",
|
|
5534
|
-
"license": "MIT"
|
|
5535
|
-
},
|
|
5536
5614
|
"node_modules/vue-tsc": {
|
|
5537
5615
|
"version": "2.2.12",
|
|
5538
5616
|
"resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.2.12.tgz",
|
package/dist/spa/package.json
CHANGED
|
@@ -20,10 +20,12 @@
|
|
|
20
20
|
"@unhead/vue": "^1.9.12",
|
|
21
21
|
"@vueuse/core": "^10.10.0",
|
|
22
22
|
"apexcharts": "^4.7.0",
|
|
23
|
+
"async-mutex": "^0.5.0",
|
|
23
24
|
"dayjs": "^1.11.11",
|
|
24
25
|
"debounce": "^2.1.0",
|
|
25
26
|
"flowbite-datepicker": "^1.2.6",
|
|
26
27
|
"javascript-time-ago": "^2.5.11",
|
|
28
|
+
"lodash.debounce": "^4.0.8",
|
|
27
29
|
"pinia": "^2.1.7",
|
|
28
30
|
"sanitize-html": "^2.13.0",
|
|
29
31
|
"unhead": "^1.9.12",
|
|
@@ -31,14 +33,15 @@
|
|
|
31
33
|
"vue-diff": "^1.2.4",
|
|
32
34
|
"vue-i18n": "^10.0.5",
|
|
33
35
|
"vue-router": "^4.3.0",
|
|
34
|
-
"vue-slider-component": "^4.1.0-beta.7",
|
|
35
36
|
"vue3-json-viewer": "^2.2.2"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@rushstack/eslint-patch": "^1.8.0",
|
|
39
40
|
"@tailwindcss/typography": "^0.5.19",
|
|
40
41
|
"@tsconfig/node20": "^20.1.4",
|
|
42
|
+
"@types/lodash.debounce": "^4.0.9",
|
|
41
43
|
"@types/node": "^20.12.5",
|
|
44
|
+
"@types/sanitize-html": "^2.16.1",
|
|
42
45
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
43
46
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
44
47
|
"@vue/tsconfig": "^0.5.1",
|