@adminforth/universal-search 1.4.2 → 1.4.3

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/build.log CHANGED
@@ -7,5 +7,5 @@ custom/
7
7
  custom/UniversalSearchInput.vue
8
8
  custom/tsconfig.json
9
9
 
10
- sent 2,849 bytes received 58 bytes 5,814.00 bytes/sec
11
- total size is 2,625 speedup is 0.90
10
+ sent 3,133 bytes received 58 bytes 6,382.00 bytes/sec
11
+ total size is 2,912 speedup is 0.91
@@ -1,17 +1,30 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "baseUrl": ".", // This should point to your project root
4
- "esModuleInterop": true,
5
4
  "paths": {
6
5
  "@/*": [
7
- "../node_modules/adminforth/dist/spa/src/*"
6
+ // "node_modules/adminforth/dist/spa/src/*"
7
+ "../../../adminforth/spa/src/*"
8
8
  ],
9
9
  "*": [
10
- "../node_modules/adminforth/dist/spa/node_modules/*"
10
+ // "node_modules/adminforth/dist/spa/node_modules/*"
11
+ "../../../adminforth/spa/node_modules/*"
11
12
  ],
12
13
  "@@/*": [
14
+ // "node_modules/adminforth/dist/spa/src/*"
13
15
  "."
14
16
  ]
15
17
  }
16
- }
18
+ },
19
+ "include": [
20
+ "./**/*.ts",
21
+ "./**/*.tsx",
22
+ "./**/*.vue",
23
+ "../**/*.ts",
24
+ "../**/*.tsx",
25
+ "../**/*.vue",
26
+ "../*.vue",
27
+ "../*.ts",
28
+ "../*.tsx"
29
+ ]
17
30
  }
@@ -1,17 +1,30 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "baseUrl": ".", // This should point to your project root
4
- "esModuleInterop": true,
5
4
  "paths": {
6
5
  "@/*": [
7
- "../node_modules/adminforth/dist/spa/src/*"
6
+ // "node_modules/adminforth/dist/spa/src/*"
7
+ "../../../adminforth/spa/src/*"
8
8
  ],
9
9
  "*": [
10
- "../node_modules/adminforth/dist/spa/node_modules/*"
10
+ // "node_modules/adminforth/dist/spa/node_modules/*"
11
+ "../../../adminforth/spa/node_modules/*"
11
12
  ],
12
13
  "@@/*": [
14
+ // "node_modules/adminforth/dist/spa/src/*"
13
15
  "."
14
16
  ]
15
17
  }
16
- }
18
+ },
19
+ "include": [
20
+ "./**/*.ts",
21
+ "./**/*.tsx",
22
+ "./**/*.vue",
23
+ "../**/*.ts",
24
+ "../**/*.tsx",
25
+ "../**/*.vue",
26
+ "../*.vue",
27
+ "../*.ts",
28
+ "../*.tsx"
29
+ ]
17
30
  }
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ export default class UniversalSearchPlugin extends AdminForthPlugin {
14
14
  this.options = options;
15
15
  }
16
16
  instanceUniqueRepresentation(_pluginOptions) {
17
- return 'universal-search';
17
+ return `${this.resourceConfig.resourceId}-universal-search`;
18
18
  }
19
19
  modifyResourceConfig(adminforth, resourceConfig) {
20
20
  const _super = Object.create(null, {
package/index.ts CHANGED
@@ -12,7 +12,7 @@ export default class UniversalSearchPlugin extends AdminForthPlugin {
12
12
  }
13
13
 
14
14
  instanceUniqueRepresentation(_pluginOptions: any): string {
15
- return 'universal-search';
15
+ return `${this.resourceConfig.resourceId}-universal-search`;
16
16
  }
17
17
 
18
18
  async modifyResourceConfig(adminforth: IAdminForth, resourceConfig: AdminForthResource) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/universal-search",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Universal quick search input plugin for AdminForth (injected before action buttons)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",