adminizer 4.1.0-build.28 → 4.1.0-build.29

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.
@@ -12,7 +12,8 @@ export class AccessRightsHelper {
12
12
  }
13
13
  for (let token of this._tokens) {
14
14
  if (token.id === accessRightsToken.id) {
15
- throw new Error(`Adminpanel > Can not register token: Token with this id ["${token.id}"] already registered`);
15
+ Adminizer.log.error(`Adminpanel > Can not register token: Token with this id ["${token.id}"] already registered`);
16
+ continue;
16
17
  }
17
18
  }
18
19
  this._tokens.push(accessRightsToken);
@@ -435,7 +435,7 @@ export declare function getControlsOptions(fieldConfig: Field["config"], req: Re
435
435
  };
436
436
  path: {};
437
437
  };
438
- export declare function inputText(type: string, isIn: string[]): "email" | "password" | "date" | "time" | "number" | "color" | "month" | "week" | "range" | "text" | "select" | "datetime-local";
438
+ export declare function inputText(type: string, isIn: string[]): "email" | "password" | "number" | "date" | "time" | "color" | "month" | "week" | "range" | "text" | "select" | "datetime-local";
439
439
  export declare function getControl(req: ReqType, type: ControlType, name: string | undefined, defaultControlName: string): AbstractControls;
440
440
  export declare function setSelectMany(isIn: string[], value: string[] | undefined): {
441
441
  initOptions: {
@@ -163,12 +163,6 @@ export interface AdminpanelConfig {
163
163
  * Navigation
164
164
  */
165
165
  navigation?: NavigationConfig;
166
- /**
167
- * Path to modules views
168
- */
169
- modulesViewsPath?: string;
170
- /** @deprecated (module manager can be used it somehow) */
171
- templateRootPath?: string;
172
166
  mediamanager?: MediaManagerConfig;
173
167
  /** System settings */
174
168
  system?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adminizer",
3
3
  "type": "module",
4
- "version": "4.1.0-build.28",
4
+ "version": "4.1.0-build.29",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "vitest --reporter verbose",