@navette-js/schemas 0.0.0-stage → 1.0.0-beta.1
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/LICENSE +21 -0
- package/README.md +8 -2
- package/lib/index.d.ts +519 -0
- package/lib/index.js +832 -0
- package/package.json +46 -4
- package/views/asset.ejs +1 -0
- package/views/component.ejs +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navette-js/schemas",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
4
|
+
"description": "Layout components and schemas for Navette, the Node.js port of Filament.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./lib/index.d.ts",
|
|
10
|
+
"default": "./lib/index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"types": "./lib/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"lib",
|
|
16
|
+
"views",
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=24"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/NavetteJS/navette.git",
|
|
26
|
+
"directory": "packages/schemas"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/NavetteJS/navette#readme",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/NavetteJS/navette/issues"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"navette",
|
|
34
|
+
"filament",
|
|
35
|
+
"admin",
|
|
36
|
+
"panel",
|
|
37
|
+
"livewire",
|
|
38
|
+
"express",
|
|
39
|
+
"node"
|
|
40
|
+
],
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@navette-js/support": "1.0.0-beta.1"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public",
|
|
46
|
+
"tag": "beta"
|
|
47
|
+
}
|
|
48
|
+
}
|
package/views/asset.ejs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<%- assetUrl('js/filament/schemas/components/' + path + '.js') %>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<%# Enveloppe de colonne d'un composant de schéma — port de Filament\Schemas\Components\Component::toSchemaHtml() %>
|
|
2
|
+
<div<% if (key !== null) { %> wire:partial="schema-component::<%- key %>"<% } %><% if (isVisible) { %> x-data="<%- alpine %>"<% } %> <%- attributes %>><% if (isVisible) { %><div class="fi-sc-component"><%- html %></div><% } %></div>
|