adminizer 4.3.0-build.80 → 4.3.0-build.82

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.
Files changed (199) hide show
  1. package/assets/add-CZdDpNV2.js +1 -0
  2. package/assets/add-form-BjXOLDij.js +1 -0
  3. package/assets/add-group-form-BNmpvW8K.js +1 -0
  4. package/assets/add-group-urhA47Qf.js +1 -0
  5. package/assets/add-user-CzWUu7wG.js +1 -0
  6. package/assets/{add-user-form-yp020h4r.js → add-user-form-DrclnTOd.js} +1 -1
  7. package/assets/{app-CpGtjhxF.css → app-CSVBI-Lw.css} +1 -1
  8. package/assets/app-layout-CbyH1MDK.js +1 -0
  9. package/assets/{app-shell-xEVbINZV.js → app-shell-CHEYhVco.js} +1 -1
  10. package/assets/{app-sidebar-4lm9f_CG.js → app-sidebar-DeF8WNmW.js} +1 -1
  11. package/assets/app-sidebar-header-8KWnVpkN.js +1 -0
  12. package/assets/app.js +1628 -1628
  13. package/assets/breadcrumbs-C439DWrC.js +1 -0
  14. package/assets/catalog-CCSagWKW.js +6 -0
  15. package/assets/dashboard-DUNXib6b.js +3 -0
  16. package/assets/date-picker-DbJ8nHp5.js +1 -0
  17. package/assets/del-modal-_b3CSNHb.js +1 -0
  18. package/assets/{dynamic-controls-PxBg8yMz.js → dynamic-controls-BOYmRX_z.js} +1 -1
  19. package/assets/{field-renderer-CsBa_tMB.css → field-renderer-CRNLShJD.css} +1 -1
  20. package/assets/field-renderer-D0crIeQS.js +407 -0
  21. package/assets/{form-CSTeMDf5.js → form-B6LFaTgS.js} +1 -1
  22. package/assets/form-C8pRhEOA.js +1 -0
  23. package/assets/geo-json-uSUIgJf5.js +4 -0
  24. package/assets/{handsontable-D6MvFmcM.js → handsontable-PVakPtJV.js} +55 -55
  25. package/assets/home-D--JrFFj.js +2 -0
  26. package/assets/icon-DM49pZW3.js +1 -0
  27. package/assets/{init-user-L-oxFTOv.js → init-user-DNrB8Xt5.js} +1 -1
  28. package/assets/input-error--IOnWghB.js +1 -0
  29. package/assets/jsoneditor-D95dIAP2.js +3878 -0
  30. package/assets/list-CQivvagG.js +1 -0
  31. package/assets/{list-table-vIvydJV2.js → list-table-h_zXp43g.js} +4 -4
  32. package/assets/{login-DLMJ6l_r.js → login-6Xb8bcPq.js} +1 -1
  33. package/assets/manifest.json +259 -260
  34. package/assets/material-icon-BedgD2NE.js +1 -0
  35. package/assets/{media-manager-ASGJ4PcS.js → media-manager-Bms57WSN.js} +2 -2
  36. package/assets/module-DqrIORMW.js +1 -0
  37. package/assets/{monaco-B1uVVM7f.js → monaco-ICtx6xoc.js} +1 -1
  38. package/assets/{nav-footer-DbGCtmmN.js → nav-footer-BwkQkwow.js} +1 -1
  39. package/assets/{nav-main-BcWhl71g.js → nav-main-9Eb_A0rf.js} +1 -1
  40. package/assets/nav-user-CRAfyE-x.js +1 -0
  41. package/assets/notification-db0RD9I6.js +27 -0
  42. package/assets/{pagination-render-BceTnewI.js → pagination-render-D3UyVAlr.js} +1 -1
  43. package/assets/{register-C_W_hOmq.js → register-BIyjCy8M.js} +1 -1
  44. package/assets/tabs-BK_5wdPA.js +1 -0
  45. package/assets/theme-switcher-CKiJbMkh.js +1 -0
  46. package/assets/toast-editor-BZM5RHph.js +845 -0
  47. package/assets/{user-info-BrWerGLc.js → user-info-CcYdmjMZ.js} +1 -1
  48. package/assets/{user-menu-content-D61_auxX.js → user-menu-content-DbUk8ZeY.js} +1 -1
  49. package/assets/vanilla-picker-l5rcX3cq.js +8 -0
  50. package/assets/{vendor-DoC2WAmd.js → vendor-wzZzN_Jv.js} +2 -2
  51. package/assets/welcome-CZlWN4gM.js +1 -0
  52. package/controllers/add.js +1 -1
  53. package/controllers/catalog/FrontentCatalogAdapter.d.ts +4 -4
  54. package/controllers/edit.js +1 -15
  55. package/controllers/list.js +2 -2
  56. package/controllers/login.js +2 -2
  57. package/controllers/navigation/edit.js +1 -1
  58. package/controllers/notifications/NotificationController.d.ts +5 -5
  59. package/controllers/notifications/NotificationController.js +77 -78
  60. package/controllers/remove.js +1 -11
  61. package/controllers/view.js +1 -1
  62. package/helpers/configHelper.d.ts +1 -1
  63. package/helpers/fieldsHelper.d.ts +1 -1
  64. package/helpers/fieldsHelper.js +1 -1
  65. package/helpers/inertiaAddHelper.d.ts +1 -1
  66. package/helpers/translationHelper.d.ts +1 -1
  67. package/helpers/translationHelper.js +1 -1
  68. package/index.d.ts +14 -13
  69. package/index.js +14 -13
  70. package/interfaces/adminpanelConfig.d.ts +1 -1
  71. package/interfaces/global.d.ts +3 -3
  72. package/interfaces/types.d.ts +10 -1
  73. package/lib/Adminizer.d.ts +7 -7
  74. package/lib/Adminizer.js +7 -7
  75. package/lib/{v4/DataAccessor.d.ts → DataAccessor.d.ts} +4 -4
  76. package/lib/{v4/DataAccessor.js → DataAccessor.js} +3 -3
  77. package/lib/{v4/I18n.js → I18n.js} +2 -2
  78. package/lib/{v4/PolicyManager.d.ts → PolicyManager.d.ts} +1 -1
  79. package/lib/{v4/PolicyManager.js → PolicyManager.js} +2 -2
  80. package/lib/{v4/catalog → catalog}/AbstractCatalog.d.ts +1 -1
  81. package/lib/{v4/catalog → catalog}/Navigation.d.ts +2 -2
  82. package/lib/{v4/catalog → catalog}/Navigation.js +1 -1
  83. package/lib/{v4/controls → controls}/AbstractControls.d.ts +1 -1
  84. package/lib/{v4/controls → controls}/codeEditor/MonacoEditor.d.ts +1 -1
  85. package/lib/{v4/controls → controls}/geojsoneditor/GeoEditor.d.ts +1 -1
  86. package/lib/{v4/controls → controls}/jsoneditor/JsonEditor.d.ts +1 -1
  87. package/lib/{v4/controls → controls}/markdown/ToastUiEditor.d.ts +1 -1
  88. package/lib/{v4/controls → controls}/table/Handsontable.d.ts +1 -1
  89. package/lib/{v4/controls → controls}/wysiwyg/CKeditor.d.ts +1 -1
  90. package/lib/{v4/datatable → datatable}/NodeTable.d.ts +1 -1
  91. package/lib/{v4/model → model}/AbstractModel.d.ts +12 -0
  92. package/lib/model/AbstractModel.js +178 -0
  93. package/lib/{v4/model → model}/ModelHandler.js +1 -1
  94. package/lib/{v4/model → model}/adapter/sequelize.d.ts +2 -4
  95. package/lib/{v4/model → model}/adapter/sequelize.js +33 -13
  96. package/lib/{v4/notifications → notifications}/AbstractNotificationService.d.ts +14 -7
  97. package/lib/notifications/AbstractNotificationService.js +233 -0
  98. package/lib/{v4/notifications → notifications}/GeneralNotificationService.d.ts +1 -1
  99. package/lib/{v4/notifications → notifications}/GeneralNotificationService.js +4 -2
  100. package/lib/notifications/NotificationHandler.d.ts +27 -0
  101. package/lib/notifications/NotificationHandler.js +41 -0
  102. package/lib/{v4/notifications → notifications}/SystemNotificationService.d.ts +5 -4
  103. package/lib/notifications/SystemNotificationService.js +173 -0
  104. package/lib/{v4/widgets → widgets}/abstractCustom.d.ts +1 -1
  105. package/lib/{v4/widgets → widgets}/abstractLink.d.ts +1 -1
  106. package/lib/{v4/widgets → widgets}/abstractWidgetBase.d.ts +1 -1
  107. package/lib/{v4/widgets → widgets}/widgetHandler.d.ts +2 -2
  108. package/migrations/index.d.ts +3 -0
  109. package/migrations/index.js +4 -0
  110. package/migrations/umzug/0001.d.ts +7 -0
  111. package/migrations/umzug/0001.js +119 -0
  112. package/migrations/umzug.d.ts +2 -0
  113. package/migrations/umzug.js +8 -0
  114. package/models/NotificationAP.d.ts +8 -0
  115. package/models/NotificationAP.js +8 -0
  116. package/models/UserAP.d.ts +1 -1
  117. package/package.json +5 -4
  118. package/system/Router.js +4 -8
  119. package/system/bindControls.js +6 -6
  120. package/system/bindInertia.js +4 -3
  121. package/system/bindNavigation.js +1 -1
  122. package/system/bindNotifications.js +3 -3
  123. package/system/bindReqFunctions.js +8 -25
  124. package/system/defaults.js +1 -1
  125. package/ui/components/ui/table.d.ts +1 -1
  126. package/ui/components/ui/table.js +2 -2
  127. package/assets/add-DSapOiv0.js +0 -1
  128. package/assets/add-form-C04ZI5LT.js +0 -1
  129. package/assets/add-group-DWR7SBTO.js +0 -1
  130. package/assets/add-group-form-CyRwxTs3.js +0 -1
  131. package/assets/add-user-acATGxUL.js +0 -1
  132. package/assets/app-layout-BmT5KQwc.js +0 -1
  133. package/assets/app-sidebar-header-CxXmzszq.js +0 -1
  134. package/assets/breadcrumbs-livOfa2Z.js +0 -1
  135. package/assets/catalog-CG_EB2kz.js +0 -6
  136. package/assets/dashboard-CsmJfdLb.js +0 -3
  137. package/assets/date-picker-By3kj-Rx.js +0 -1
  138. package/assets/del-modal-DlcbcdR5.js +0 -1
  139. package/assets/field-renderer-Bp1lfm0v.js +0 -407
  140. package/assets/form-CxHRGp7p.js +0 -1
  141. package/assets/geo-json-CCgjEQfu.js +0 -4
  142. package/assets/home-D00XjLjD.js +0 -2
  143. package/assets/icon-ButfCBrt.js +0 -1
  144. package/assets/input-error-CHsDLcK0.js +0 -1
  145. package/assets/jsoneditor-CBqATVR0.js +0 -3833
  146. package/assets/list-4TOTsjqE.js +0 -1
  147. package/assets/material-icon-sXk4BK-N.js +0 -1
  148. package/assets/module-mxngd2cA.js +0 -1
  149. package/assets/nav-user-BN2veV3l.js +0 -1
  150. package/assets/notification-BEfA5sT6.js +0 -1
  151. package/assets/tabs-CgZW_LLn.js +0 -1
  152. package/assets/theme-switcher-D1G6OSMc.js +0 -1
  153. package/assets/toast-editor-CfgZXoQZ.js +0 -845
  154. package/assets/vanilla-picker-B6E6ObS_.js +0 -8
  155. package/assets/welcome-FHRCdke0.js +0 -1
  156. package/lib/v4/model/AbstractModel.js +0 -79
  157. package/lib/v4/notifications/AbstractNotificationService.js +0 -150
  158. package/lib/v4/notifications/NotificationHandler.d.ts +0 -69
  159. package/lib/v4/notifications/NotificationHandler.js +0 -127
  160. package/lib/v4/notifications/SystemNotificationService.js +0 -124
  161. package/migrations/db-migrate/20230303171134-adminpanel-init.js +0 -122
  162. package/migrations/db-migrate/20231223215835-add-widgets.js +0 -32
  163. package/migrations/db-migrate/20240804191001-added-navigationap.js +0 -53
  164. package/migrations/db-migrate/20241121184236-v4-init.js +0 -134
  165. /package/lib/{v4/I18n.d.ts → I18n.d.ts} +0 -0
  166. /package/lib/{v4/POWCaptcha.d.ts → POWCaptcha.d.ts} +0 -0
  167. /package/lib/{v4/POWCaptcha.js → POWCaptcha.js} +0 -0
  168. /package/lib/{v4/catalog → catalog}/AbstractCatalog.js +0 -0
  169. /package/lib/{v4/catalog → catalog}/CatalogHandler.d.ts +0 -0
  170. /package/lib/{v4/catalog → catalog}/CatalogHandler.js +0 -0
  171. /package/lib/{v4/controls → controls}/AbstractControls.js +0 -0
  172. /package/lib/{v4/controls → controls}/ControlsHandler.d.ts +0 -0
  173. /package/lib/{v4/controls → controls}/ControlsHandler.js +0 -0
  174. /package/lib/{v4/controls → controls}/codeEditor/MonacoEditor.js +0 -0
  175. /package/lib/{v4/controls → controls}/geojsoneditor/GeoEditor.js +0 -0
  176. /package/lib/{v4/controls → controls}/jsoneditor/JsonEditor.js +0 -0
  177. /package/lib/{v4/controls → controls}/markdown/ToastUiEditor.js +0 -0
  178. /package/lib/{v4/controls → controls}/table/Handsontable.js +0 -0
  179. /package/lib/{v4/controls → controls}/wysiwyg/CKeditor.js +0 -0
  180. /package/lib/{v4/datatable → datatable}/NodeTable.js +0 -0
  181. /package/lib/{v4/helper → helper}/jwt.d.ts +0 -0
  182. /package/lib/{v4/helper → helper}/jwt.js +0 -0
  183. /package/lib/{v4/inertia → inertia}/flash.d.ts +0 -0
  184. /package/lib/{v4/inertia → inertia}/flash.js +0 -0
  185. /package/lib/{v4/inertia → inertia}/inertiaAdapter.d.ts +0 -0
  186. /package/lib/{v4/inertia → inertia}/inertiaAdapter.js +0 -0
  187. /package/lib/{v4/model → model}/ModelHandler.d.ts +0 -0
  188. /package/lib/{v4/model → model}/adapter/waterline.d.ts +0 -0
  189. /package/lib/{v4/model → model}/adapter/waterline.js +0 -0
  190. /package/lib/{v4/widgets → widgets}/abstractAction.d.ts +0 -0
  191. /package/lib/{v4/widgets → widgets}/abstractAction.js +0 -0
  192. /package/lib/{v4/widgets → widgets}/abstractCustom.js +0 -0
  193. /package/lib/{v4/widgets → widgets}/abstractInfo.d.ts +0 -0
  194. /package/lib/{v4/widgets → widgets}/abstractInfo.js +0 -0
  195. /package/lib/{v4/widgets → widgets}/abstractLink.js +0 -0
  196. /package/lib/{v4/widgets → widgets}/abstractSwitch.d.ts +0 -0
  197. /package/lib/{v4/widgets → widgets}/abstractSwitch.js +0 -0
  198. /package/lib/{v4/widgets → widgets}/abstractWidgetBase.js +0 -0
  199. /package/lib/{v4/widgets → widgets}/widgetHandler.js +0 -0
@@ -1,122 +0,0 @@
1
- 'use strict';
2
- // sql template autogenerated by gen-db-migrates
3
-
4
- var async = require('async')
5
- var dbm;
6
- var type;
7
- var seed;
8
-
9
- /**
10
- * We receive the dbmigrate dependency from dbmigrate initially.
11
- * This enables us to not have to rely on NODE_PATH.
12
- */
13
- exports.setup = function(options, seedLink) {
14
- dbm = options.dbmigrate;
15
- type = dbm.dataType;
16
- seed = seedLink;
17
- };
18
-
19
- exports.up = function (db, callback) {
20
- async.series([
21
- (cb) => db.createTable('groupap', {
22
- columns: {
23
- "id": {
24
- "type": "serial",
25
- "autoIncrement": true,
26
- "primaryKey": true
27
- },
28
- "name": {
29
- "type": "text",
30
- "unique": true
31
- },
32
- "description": {
33
- "type": "text"
34
- },
35
- "tokens": {
36
- "type": "json"
37
- },
38
- "createdAt": {
39
- "type": "bigint"
40
- },
41
- "updatedAt": {
42
- "type": "bigint"
43
- }
44
- },
45
- ifNotExists: true
46
- }, cb),
47
- (cb) => db.createTable('userap', {
48
- columns: {
49
- "id": {
50
- "type": "serial",
51
- "autoIncrement": true,
52
- "primaryKey": true
53
- },
54
- "login": {
55
- "type": "text",
56
- "unique": true
57
- },
58
- "fullName": {
59
- "type": "text"
60
- },
61
- "email": {
62
- "type": "text"
63
- },
64
- "passwordHashed": {
65
- "type": "text"
66
- },
67
- "password": {
68
- "type": "text"
69
- },
70
- "timezone": {
71
- "type": "text"
72
- },
73
- "expires": {
74
- "type": "text"
75
- },
76
- "locale": {
77
- "type": "text"
78
- },
79
- "isDeleted": {
80
- "type": "boolean"
81
- },
82
- "isActive": {
83
- "type": "boolean"
84
- },
85
- "isAdministrator": {
86
- "type": "boolean"
87
- },
88
- "createdAt": {
89
- "type": "bigint"
90
- },
91
- "updatedAt": {
92
- "type": "bigint"
93
- }
94
- },
95
- ifNotExists: true
96
- }, cb),
97
- (cb) => db.createTable('groupap_users__userap_groups', {
98
- columns: {
99
- "id": {
100
- "type": "serial",
101
- "autoIncrement": true
102
- },
103
- "groupap_users": {
104
- "type": "bigint"
105
- },
106
- "userap_groups": {
107
- "type": "bigint"
108
- }
109
- },
110
- ifNotExists: true
111
- }, cb),
112
-
113
- ], callback);
114
- }
115
-
116
- exports.down = function(db) {
117
- return null;
118
- };
119
-
120
- exports._meta = {
121
- "version": 1
122
- };
@@ -1,32 +0,0 @@
1
- 'use strict';
2
- // sql template autogenerated by gen-db-migrates
3
-
4
- var async = require('async')
5
- var dbm;
6
- var type;
7
- var seed;
8
-
9
- /**
10
- * We receive the dbmigrate dependency from dbmigrate initially.
11
- * This enables us to not have to rely on NODE_PATH.
12
- */
13
- exports.setup = function(options, seedLink) {
14
- dbm = options.dbmigrate;
15
- type = dbm.dataType;
16
- seed = seedLink;
17
- };
18
-
19
- exports.up = function (db, callback) {
20
- async.series([
21
- (cb) => db.addColumn('userap', 'widgets', {"type":"json"}, cb),
22
-
23
- ], callback);
24
- }
25
-
26
- exports.down = function(db) {
27
- return null;
28
- };
29
-
30
- exports._meta = {
31
- "version": 1
32
- };
@@ -1,53 +0,0 @@
1
- 'use strict';
2
- // sql template autogenerated by gen-db-migrates
3
-
4
- var async = require('async')
5
- var dbm;
6
- var type;
7
- var seed;
8
-
9
- /**
10
- * We receive the dbmigrate dependency from dbmigrate initially.
11
- * This enables us to not have to rely on NODE_PATH.
12
- */
13
- exports.setup = function(options, seedLink) {
14
- dbm = options.dbmigrate;
15
- type = dbm.dataType;
16
- seed = seedLink;
17
- };
18
-
19
- exports.up = function (db, callback) {
20
- async.series([
21
- (cb) => db.createTable('navigationap', {
22
- columns: {
23
- "id": {
24
- "type": "text",
25
- "primaryKey": true,
26
- "notNull": true
27
- },
28
- "label": {
29
- "type": "text"
30
- },
31
- "tree": {
32
- "type": "json"
33
- },
34
- "createdAt": {
35
- "type": "bigint"
36
- },
37
- "updatedAt": {
38
- "type": "bigint"
39
- }
40
- },
41
- ifNotExists: true
42
- }, cb),
43
-
44
- ], callback);
45
- }
46
-
47
- exports.down = function(db) {
48
- return null;
49
- };
50
-
51
- exports._meta = {
52
- "version": 1
53
- };
@@ -1,134 +0,0 @@
1
- 'use strict';
2
- // sql template autogenerated by gen-db-migrates
3
-
4
- var async = require('async')
5
- var dbm;
6
- var type;
7
- var seed;
8
-
9
- /**
10
- * We receive the dbmigrate dependency from dbmigrate initially.
11
- * This enables us to not have to rely on NODE_PATH.
12
- */
13
- exports.setup = function(options, seedLink) {
14
- dbm = options.dbmigrate;
15
- type = dbm.dataType;
16
- seed = seedLink;
17
- };
18
-
19
- exports.up = function (db, callback) {
20
- async.series([
21
- (cb) => db.createTable('mediamanagerap', {
22
- columns: {
23
- "id": {
24
- "type": "text",
25
- "primaryKey": true,
26
- "notNull": true
27
- },
28
- "parent": {
29
- "type": "text"
30
- },
31
- "mimeType": {
32
- "type": "text"
33
- },
34
- "path": {
35
- "type": "text"
36
- },
37
- "size": {
38
- "type": "real"
39
- },
40
- "group": {
41
- "type": "text"
42
- },
43
- "tag": {
44
- "type": "text"
45
- },
46
- "url": {
47
- "type": "text"
48
- },
49
- "filename": {
50
- "type": "text"
51
- },
52
- "createdAt": {
53
- "type": "bigint"
54
- },
55
- "updatedAt": {
56
- "type": "bigint"
57
- }
58
- },
59
- ifNotExists: true
60
- }, cb),
61
- (cb) => db.createTable('mediamanagerassociationsap', {
62
- columns: {
63
- "id": {
64
- "type": "text",
65
- "primaryKey": true,
66
- "notNull": true
67
- },
68
- "mediaManagerId": {
69
- "type": "text"
70
- },
71
- "model": {
72
- "type": "json"
73
- },
74
- "modelId": {
75
- "type": "json"
76
- },
77
- "widgetName": {
78
- "type": "text"
79
- },
80
- "sortOrder": {
81
- "type": "real"
82
- },
83
- "file": {
84
- "type": "text"
85
- },
86
- "createdAt": {
87
- "type": "bigint"
88
- },
89
- "updatedAt": {
90
- "type": "bigint"
91
- }
92
- },
93
- ifNotExists: true
94
- }, cb),
95
- (cb) => db.createTable('mediamanagermetaap', {
96
- columns: {
97
- "id": {
98
- "type": "text",
99
- "primaryKey": true,
100
- "notNull": true
101
- },
102
- "key": {
103
- "type": "text"
104
- },
105
- "value": {
106
- "type": "json"
107
- },
108
- "isPublic": {
109
- "type": "boolean"
110
- },
111
- "parent": {
112
- "type": "text"
113
- },
114
- "createdAt": {
115
- "type": "bigint"
116
- },
117
- "updatedAt": {
118
- "type": "bigint"
119
- }
120
- },
121
- ifNotExists: true
122
- }, cb),
123
- (cb) => db.addColumn('userap', 'isConfirmed', {"type":"boolean"}, cb),
124
-
125
- ], callback);
126
- }
127
-
128
- exports.down = function(db) {
129
- return null;
130
- };
131
-
132
- exports._meta = {
133
- "version": 1
134
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes