@dskripchenko/laravel-admin 1.15.2 → 1.16.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.
@@ -41,7 +41,7 @@ export declare const useResourceFormStore: import("pinia").StoreDefinition<"admi
41
41
  clearErrors: () => void;
42
42
  save: () => Promise<string | number>;
43
43
  destroy: () => Promise<void>;
44
- }, "state" | "mode" | "loading" | "error" | "initial" | "slug" | "saving" | "errors" | "recordId" | "deleting">, Pick<{
44
+ }, "errors" | "state" | "mode" | "loading" | "error" | "initial" | "slug" | "saving" | "recordId" | "deleting">, Pick<{
45
45
  slug: import("vue").Ref<string | null, string | null>;
46
46
  mode: import("vue").Ref<FormMode, FormMode>;
47
47
  recordId: import("vue").Ref<string | number | null, string | number | null>;
@@ -124,7 +124,7 @@ export declare const useScreenStore: import("pinia").StoreDefinition<"admin-scre
124
124
  setField: (name: string, value: unknown) => void;
125
125
  setErrors: (next: Record<string, string[]>) => void;
126
126
  clearErrors: () => void;
127
- }, "state" | "name" | "loading" | "permissions" | "error" | "layout" | "initial" | "description" | "slug" | "commandBar" | "etag" | "errors" | "running" | "lastMessage">, Pick<{
127
+ }, "errors" | "state" | "name" | "loading" | "permissions" | "error" | "layout" | "initial" | "description" | "slug" | "commandBar" | "etag" | "running" | "lastMessage">, Pick<{
128
128
  slug: import("vue").Ref<string | null, string | null>;
129
129
  name: import("vue").Ref<string, string>;
130
130
  description: import("vue").Ref<string | null, string | null>;
package/package.json CHANGED
@@ -1,182 +1,182 @@
1
1
  {
2
- "name": "@dskripchenko/laravel-admin",
3
- "version": "1.15.2",
4
- "publishConfig": {
5
- "access": "public"
2
+ "name": "@dskripchenko/laravel-admin",
3
+ "version": "1.16.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "Vue 3 admin-panel constructor: SPA bundle для Laravel-приложений на @dskripchenko/laravel-admin (PHP backend) — JSON-driven Field/Layout/Infolist/Widget renderer'ы поверх @dskripchenko/ui design system.",
8
+ "license": "MIT",
9
+ "author": "Denis Skripchenko <denskrp90@gmail.com>",
10
+ "homepage": "https://github.com/dskripchenko/laravel-admin#readme",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/dskripchenko/laravel-admin.git"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/dskripchenko/laravel-admin/issues"
17
+ },
18
+ "keywords": [
19
+ "laravel",
20
+ "admin",
21
+ "spa",
22
+ "vue3",
23
+ "typescript",
24
+ "pinia",
25
+ "filament",
26
+ "nova",
27
+ "manifest-driven",
28
+ "json-driven",
29
+ "uid",
30
+ "design-system"
31
+ ],
32
+ "type": "module",
33
+ "engines": {
34
+ "node": ">=20"
35
+ },
36
+ "sideEffects": [
37
+ "**/*.css",
38
+ "./resources/ts/styles/admin.css"
39
+ ],
40
+ "main": "./dist/index.cjs",
41
+ "module": "./dist/index.mjs",
42
+ "types": "./dist/index.d.ts",
43
+ "exports": {
44
+ ".": {
45
+ "types": "./dist/index.d.ts",
46
+ "import": "./dist/index.mjs",
47
+ "require": "./dist/index.cjs"
6
48
  },
7
- "description": "Vue 3 admin-panel constructor: SPA bundle для Laravel-приложений на @dskripchenko/laravel-admin (PHP backend) — JSON-driven Field/Layout/Infolist/Widget renderer'ы поверх @dskripchenko/ui design system.",
8
- "license": "MIT",
9
- "author": "Denis Skripchenko <denskrp90@gmail.com>",
10
- "homepage": "https://github.com/dskripchenko/laravel-admin#readme",
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/dskripchenko/laravel-admin.git"
49
+ "./quill": {
50
+ "types": "./dist/components/fields/wysiwyg/quill/index.d.ts",
51
+ "import": "./dist/quill.mjs",
52
+ "require": "./dist/quill.cjs"
14
53
  },
15
- "bugs": {
16
- "url": "https://github.com/dskripchenko/laravel-admin/issues"
54
+ "./tinymce": {
55
+ "types": "./dist/components/fields/wysiwyg/tinymce/index.d.ts",
56
+ "import": "./dist/tinymce.mjs",
57
+ "require": "./dist/tinymce.cjs"
17
58
  },
18
- "keywords": [
19
- "laravel",
20
- "admin",
21
- "spa",
22
- "vue3",
23
- "typescript",
59
+ "./style.css": "./dist/style.css",
60
+ "./fonts/*": "./resources/fonts/*",
61
+ "./fonts/fonts.css": "./resources/fonts/fonts.css"
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "resources/fonts",
66
+ "README.md",
67
+ "LICENSE"
68
+ ],
69
+ "scripts": {
70
+ "dev": "vite build --watch",
71
+ "build": "vite build && vue-tsc --emitDeclarationOnly",
72
+ "build:analyze": "ANALYZE=1 vite build && vue-tsc --emitDeclarationOnly",
73
+ "test": "vitest run",
74
+ "test:watch": "vitest",
75
+ "lint": "eslint resources/ts",
76
+ "lint:fix": "eslint resources/ts --fix",
77
+ "typecheck": "vue-tsc --noEmit",
78
+ "size": "npm run build && size-limit",
79
+ "preflight": "npm run lint && npm run typecheck && npm run test && npm run build",
80
+ "prepublishOnly": "npm run build"
81
+ },
82
+ "size-limit": [
83
+ {
84
+ "name": "ESM bundle (gzipped)",
85
+ "path": "dist/index.mjs",
86
+ "limit": "150 KB",
87
+ "ignore": [
88
+ "vue",
89
+ "vue-router",
24
90
  "pinia",
25
- "filament",
26
- "nova",
27
- "manifest-driven",
28
- "json-driven",
29
- "uid",
30
- "design-system"
31
- ],
32
- "type": "module",
33
- "engines": {
34
- "node": ">=20"
91
+ "axios",
92
+ "@dskripchenko/ui"
93
+ ]
35
94
  },
36
- "sideEffects": [
37
- "**/*.css",
38
- "./resources/ts/styles/admin.css"
39
- ],
40
- "main": "./dist/index.cjs",
41
- "module": "./dist/index.mjs",
42
- "types": "./dist/index.d.ts",
43
- "exports": {
44
- ".": {
45
- "types": "./dist/index.d.ts",
46
- "import": "./dist/index.mjs",
47
- "require": "./dist/index.cjs"
48
- },
49
- "./quill": {
50
- "types": "./dist/components/fields/wysiwyg/quill/index.d.ts",
51
- "import": "./dist/quill.mjs",
52
- "require": "./dist/quill.cjs"
53
- },
54
- "./tinymce": {
55
- "types": "./dist/components/fields/wysiwyg/tinymce/index.d.ts",
56
- "import": "./dist/tinymce.mjs",
57
- "require": "./dist/tinymce.cjs"
58
- },
59
- "./style.css": "./dist/style.css",
60
- "./fonts/*": "./resources/fonts/*",
61
- "./fonts/fonts.css": "./resources/fonts/fonts.css"
95
+ {
96
+ "name": "CJS bundle (gzipped)",
97
+ "path": "dist/index.cjs",
98
+ "limit": "150 KB",
99
+ "ignore": [
100
+ "vue",
101
+ "vue-router",
102
+ "pinia",
103
+ "axios",
104
+ "@dskripchenko/ui"
105
+ ]
106
+ },
107
+ {
108
+ "name": "Style CSS (gzipped)",
109
+ "path": "dist/style.css",
110
+ "limit": "10 KB"
111
+ }
112
+ ],
113
+ "peerDependencies": {
114
+ "@dskripchenko/ui": "^1.2.0",
115
+ "@dskripchenko/wysiwyg": "^0.2.0",
116
+ "@tinymce/tinymce-vue": "^5",
117
+ "@tiptap/starter-kit": "^2.4",
118
+ "@tiptap/vue-3": "^2.4",
119
+ "@vueup/vue-quill": "^1.2",
120
+ "axios": "^1.6",
121
+ "marked": "^12.0",
122
+ "pinia": "^2.1 || ^3.0",
123
+ "quill": "^2",
124
+ "tinymce": "^7",
125
+ "vue": "^3.4",
126
+ "vue-router": "^4.3 || ^5.0"
127
+ },
128
+ "peerDependenciesMeta": {
129
+ "@tiptap/starter-kit": {
130
+ "optional": true
131
+ },
132
+ "@tiptap/vue-3": {
133
+ "optional": true
62
134
  },
63
- "files": [
64
- "dist",
65
- "resources/fonts",
66
- "README.md",
67
- "LICENSE"
68
- ],
69
- "scripts": {
70
- "dev": "vite build --watch",
71
- "build": "vite build && vue-tsc --emitDeclarationOnly",
72
- "build:analyze": "ANALYZE=1 vite build && vue-tsc --emitDeclarationOnly",
73
- "test": "vitest run",
74
- "test:watch": "vitest",
75
- "lint": "eslint resources/ts",
76
- "lint:fix": "eslint resources/ts --fix",
77
- "typecheck": "vue-tsc --noEmit",
78
- "size": "npm run build && size-limit",
79
- "preflight": "npm run lint && npm run typecheck && npm run test && npm run build",
80
- "prepublishOnly": "npm run build"
135
+ "@tinymce/tinymce-vue": {
136
+ "optional": true
81
137
  },
82
- "size-limit": [
83
- {
84
- "name": "ESM bundle (gzipped)",
85
- "path": "dist/index.mjs",
86
- "limit": "150 KB",
87
- "ignore": [
88
- "vue",
89
- "vue-router",
90
- "pinia",
91
- "axios",
92
- "@dskripchenko/ui"
93
- ]
94
- },
95
- {
96
- "name": "CJS bundle (gzipped)",
97
- "path": "dist/index.cjs",
98
- "limit": "150 KB",
99
- "ignore": [
100
- "vue",
101
- "vue-router",
102
- "pinia",
103
- "axios",
104
- "@dskripchenko/ui"
105
- ]
106
- },
107
- {
108
- "name": "Style CSS (gzipped)",
109
- "path": "dist/style.css",
110
- "limit": "10 KB"
111
- }
112
- ],
113
- "peerDependencies": {
114
- "@dskripchenko/ui": "^1.2.0",
115
- "@dskripchenko/wysiwyg": "^0.2.0",
116
- "@tinymce/tinymce-vue": "^5",
117
- "@tiptap/starter-kit": "^2.4",
118
- "@tiptap/vue-3": "^2.4",
119
- "@vueup/vue-quill": "^1.2",
120
- "axios": "^1.6",
121
- "marked": "^12.0",
122
- "pinia": "^2.1 || ^3.0",
123
- "quill": "^2",
124
- "tinymce": "^7",
125
- "vue": "^3.4",
126
- "vue-router": "^4.3 || ^5.0"
138
+ "@vueup/vue-quill": {
139
+ "optional": true
127
140
  },
128
- "peerDependenciesMeta": {
129
- "@tiptap/starter-kit": {
130
- "optional": true
131
- },
132
- "@tiptap/vue-3": {
133
- "optional": true
134
- },
135
- "@tinymce/tinymce-vue": {
136
- "optional": true
137
- },
138
- "@vueup/vue-quill": {
139
- "optional": true
140
- },
141
- "marked": {
142
- "optional": true
143
- },
144
- "quill": {
145
- "optional": true
146
- },
147
- "tinymce": {
148
- "optional": true
149
- }
141
+ "marked": {
142
+ "optional": true
150
143
  },
151
- "devDependencies": {
152
- "@dskripchenko/ui": "^1.2.0",
153
- "@dskripchenko/wysiwyg": "^0.2.3",
154
- "@eslint/js": "^10.0.1",
155
- "@size-limit/preset-small-lib": "^12.1.0",
156
- "@types/node": "^22",
157
- "@vitejs/plugin-vue": "^6.0.6",
158
- "@vue/test-utils": "^2.4.10",
159
- "axios": "^1.15.2",
160
- "axios-mock-adapter": "^2.1.0",
161
- "eslint": "^10.2.1",
162
- "eslint-config-prettier": "^10.1.8",
163
- "eslint-plugin-vue": "^10.9.0",
164
- "globals": "^17.5.0",
165
- "jsdom": "^25",
166
- "pinia": "^3.0.4",
167
- "rollup-plugin-visualizer": "^7.0.1",
168
- "size-limit": "^12.1.0",
169
- "typescript": "^5.5",
170
- "typescript-eslint": "^8.59.1",
171
- "vite": "^7.3.2",
172
- "vitest": "^2",
173
- "vue": "^3.5.33",
174
- "vue-eslint-parser": "^10.4.0",
175
- "vue-router": "^5.0.6",
176
- "vue-tsc": "^2"
144
+ "quill": {
145
+ "optional": true
177
146
  },
178
- "dependencies": {
179
- "@dskripchenko/laravel-admin": "^1.8.0",
180
- "lean-qr": "^2.7.1"
147
+ "tinymce": {
148
+ "optional": true
181
149
  }
150
+ },
151
+ "devDependencies": {
152
+ "@dskripchenko/ui": "^1.2.0",
153
+ "@dskripchenko/wysiwyg": "^0.2.3",
154
+ "@eslint/js": "^10.0.1",
155
+ "@size-limit/preset-small-lib": "^12.1.0",
156
+ "@types/node": "^22",
157
+ "@vitejs/plugin-vue": "^6.0.6",
158
+ "@vue/test-utils": "^2.4.10",
159
+ "axios": "^1.15.2",
160
+ "axios-mock-adapter": "^2.1.0",
161
+ "eslint": "^10.2.1",
162
+ "eslint-config-prettier": "^10.1.8",
163
+ "eslint-plugin-vue": "^10.9.0",
164
+ "globals": "^17.5.0",
165
+ "jsdom": "^25",
166
+ "pinia": "^3.0.4",
167
+ "rollup-plugin-visualizer": "^7.0.1",
168
+ "size-limit": "^12.1.0",
169
+ "typescript": "^5.5",
170
+ "typescript-eslint": "^8.59.1",
171
+ "vite": "^7.3.2",
172
+ "vitest": "^2",
173
+ "vue": "^3.5.33",
174
+ "vue-eslint-parser": "^10.4.0",
175
+ "vue-router": "^5.0.6",
176
+ "vue-tsc": "^2"
177
+ },
178
+ "dependencies": {
179
+ "@dskripchenko/laravel-admin": "^1.8.0",
180
+ "lean-qr": "^2.7.1"
181
+ }
182
182
  }