@appaflytech/zeyrek-ai-mcp 0.0.21 → 0.0.22
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/dist/config.js +2 -0
- package/dist/knowledge/componentCatalog.js +3 -3
- package/dist/knowledge/componentEvents.js +9 -2
- package/dist/knowledge/mobileComponentCatalog.js +543 -0
- package/dist/knowledge/mobileComponentEvents.js +98 -0
- package/dist/knowledge/normalize.js +52 -11
- package/dist/knowledge/platform/lint.js +205 -0
- package/dist/knowledge/platform/mobile.js +78 -0
- package/dist/knowledge/platform/mobileRules.js +123 -0
- package/dist/knowledge/platform/mobileTabs.js +108 -0
- package/dist/knowledge/platform/profile.js +20 -0
- package/dist/knowledge/platform/resolve.js +122 -0
- package/dist/knowledge/platform/web.js +38 -0
- package/dist/knowledge/rules.js +6 -8
- package/dist/knowledge/styleResolve.js +1 -1
- package/dist/knowledge/styleResolveNative.js +410 -0
- package/dist/knowledge/themeResolve.js +3 -3
- package/dist/platform/capture/actions.js +333 -0
- package/dist/platform/capture/browser.js +1 -0
- package/dist/platform/{screenshot.js → capture/capture.js} +23 -509
- package/dist/platform/capture/index.js +10 -0
- package/dist/platform/capture/readiness.js +103 -0
- package/dist/platform/capture/summary.js +77 -0
- package/dist/platform/capture/target.js +5 -0
- package/dist/platform/capture/targets/studio-mobile.js +15 -0
- package/dist/platform/capture/targets/studio-web.js +5 -0
- package/dist/platform/domSummary.js +1 -1
- package/dist/resources/examples/mobile-app-shell-drawer.json +209 -0
- package/dist/resources/examples/mobile-app-shell-stack.json +123 -0
- package/dist/resources/examples/mobile-app-shell-tab.json +174 -0
- package/dist/resources/examples/mobile-list-detail-form.json +656 -0
- package/dist/resources/guides/component.md +6 -1
- package/dist/resources/guides/functions.md +1 -1
- package/dist/resources/guides/layout.md +11 -7
- package/dist/resources/guides/mobile.md +264 -0
- package/dist/resources/guides/page.md +55 -15
- package/dist/resources/guides/translation.md +1 -1
- package/dist/server.js +2 -0
- package/dist/tools/applications.js +60 -3
- package/dist/tools/components.js +50 -10
- package/dist/tools/designSchemaPatch.js +13 -4
- package/dist/tools/externalComponents.js +25 -4
- package/dist/tools/flows.js +9 -2
- package/dist/tools/layouts.js +41 -9
- package/dist/tools/mobile.js +203 -0
- package/dist/tools/pages.js +115 -35
- package/dist/tools/platformInfo.js +2 -1
- package/dist/tools/profileWrite.js +45 -0
- package/dist/tools/screenWrite.js +2 -2
- package/dist/tools/screens.js +9 -3
- package/package.json +1 -1
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_meta": {
|
|
3
|
+
"synthetic": true,
|
|
4
|
+
"note": "Mobil uygulama kabuğu — SEKMELER: layout yığındakiyle AYNI (app-bar + slot); sekmeler layout'ta değil uygulama ayarındadır (properties.mobile.tabs). Çubuk runtime'da cihaz ekranının altında çizilir, kimliği __tabs, öğeleri __tabs__item-<sayfa slug'ı>.",
|
|
5
|
+
"pairsWith": "mobile-app-shell-stack, mobile-list-detail-form",
|
|
6
|
+
"sourceRef": "platform_guide('mobile') §Gezinme; zeyrek-mcp/src/knowledge/platform/mobileTabs.ts (normalizeMobileTabs)"
|
|
7
|
+
},
|
|
8
|
+
"_rules": {
|
|
9
|
+
"flexOnly": "Mobil çizer yalnız flex'tir: blocks boş, sıra dizi indeksi, ölçü appearance ile (MOB-001). Kökte layout prop'u YOK — mobil container şeması onu düşürür.",
|
|
10
|
+
"singleSlot": "TEK slot; sayfa şeması slot'a yerleşir (LAY-002 / LAY-006 web'dekiyle aynı).",
|
|
11
|
+
"appBarTitle": "app-bar.title boşsa sayfa adı yazılır; leading 'auto' yığında geri düğmesi, kökte (menuTarget varsa) menü düğmesi çizer.",
|
|
12
|
+
"catalog": "app-bar, slot ve drawer mobil kataloğun Dalga 1 bileşenleridir. component_list mobil uygulamada bunları döndürmüyorsa katalog henüz yazılmamıştır ve layout_create 422 unknown-type alır (MOB-003).",
|
|
13
|
+
"verify": "Kabuğu layout'a bağlı bir sayfada page_screenshot ile doğrula (mobilde varsayılan device: 'phone').",
|
|
14
|
+
"tabsNeedPageIds": "items[].page sayfa ID'sidir (slug değil): sekme ayarı sayfalar KURULDUKTAN SONRA application_update ile yazılır. 1-5 öğe, tekrar yok (MOB-007).",
|
|
15
|
+
"noTabBarNode": "Layout'a ya da sayfaya tab-bar / drawer-menu düğümü koyma — katalog bileşeni değiller, MOB-007 uyarısı alır."
|
|
16
|
+
},
|
|
17
|
+
"mobileAppCreate": {
|
|
18
|
+
"slug": "saha",
|
|
19
|
+
"name": "Saha",
|
|
20
|
+
"pages": [
|
|
21
|
+
{
|
|
22
|
+
"pageSlug": "gorevler",
|
|
23
|
+
"pageName": "Görevler"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pageSlug": "yeni",
|
|
27
|
+
"pageName": "Yeni görev"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"pageSlug": "profil",
|
|
31
|
+
"pageName": "Profil"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"tabs": [
|
|
35
|
+
{
|
|
36
|
+
"pageSlug": "gorevler",
|
|
37
|
+
"label": "Görevler",
|
|
38
|
+
"icon": "list"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"pageSlug": "yeni",
|
|
42
|
+
"label": "Yeni",
|
|
43
|
+
"icon": "add"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"pageSlug": "profil",
|
|
47
|
+
"label": "Profil",
|
|
48
|
+
"icon": "user"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"layoutCreate": {
|
|
53
|
+
"name": "Mobil kabuk",
|
|
54
|
+
"views": [
|
|
55
|
+
{
|
|
56
|
+
"elementId": "shell_root",
|
|
57
|
+
"name": "shell_root",
|
|
58
|
+
"type": "container",
|
|
59
|
+
"kind": "component",
|
|
60
|
+
"props": {
|
|
61
|
+
"title": {
|
|
62
|
+
"type": "static",
|
|
63
|
+
"ref": null,
|
|
64
|
+
"data": ""
|
|
65
|
+
},
|
|
66
|
+
"direction": {
|
|
67
|
+
"type": "static",
|
|
68
|
+
"ref": null,
|
|
69
|
+
"data": "column"
|
|
70
|
+
},
|
|
71
|
+
"gap": {
|
|
72
|
+
"type": "static",
|
|
73
|
+
"ref": null,
|
|
74
|
+
"data": "none"
|
|
75
|
+
},
|
|
76
|
+
"size": {
|
|
77
|
+
"type": "static",
|
|
78
|
+
"ref": null,
|
|
79
|
+
"data": "grow"
|
|
80
|
+
},
|
|
81
|
+
"wrap": {
|
|
82
|
+
"type": "static",
|
|
83
|
+
"ref": null,
|
|
84
|
+
"data": false
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"states": {
|
|
88
|
+
"isDroppable": true,
|
|
89
|
+
"isWrapper": true
|
|
90
|
+
},
|
|
91
|
+
"appearance": {
|
|
92
|
+
"heightType": "fill",
|
|
93
|
+
"widthType": "fill"
|
|
94
|
+
},
|
|
95
|
+
"blocks": [],
|
|
96
|
+
"events": [],
|
|
97
|
+
"validations": [],
|
|
98
|
+
"stateBindings": [],
|
|
99
|
+
"children": [
|
|
100
|
+
{
|
|
101
|
+
"elementId": "app_bar",
|
|
102
|
+
"name": "app_bar",
|
|
103
|
+
"type": "app-bar",
|
|
104
|
+
"kind": "component",
|
|
105
|
+
"props": {
|
|
106
|
+
"title": {
|
|
107
|
+
"type": "static",
|
|
108
|
+
"ref": null,
|
|
109
|
+
"data": ""
|
|
110
|
+
},
|
|
111
|
+
"leading": {
|
|
112
|
+
"type": "static",
|
|
113
|
+
"ref": null,
|
|
114
|
+
"data": "auto"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"appearance": {
|
|
118
|
+
"widthType": "fill"
|
|
119
|
+
},
|
|
120
|
+
"blocks": [],
|
|
121
|
+
"events": [],
|
|
122
|
+
"validations": [],
|
|
123
|
+
"stateBindings": [],
|
|
124
|
+
"children": []
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"elementId": "page_slot",
|
|
128
|
+
"name": "page_slot",
|
|
129
|
+
"type": "slot",
|
|
130
|
+
"kind": "component",
|
|
131
|
+
"props": {},
|
|
132
|
+
"appearance": {
|
|
133
|
+
"widthType": "fill",
|
|
134
|
+
"heightType": "fill"
|
|
135
|
+
},
|
|
136
|
+
"blocks": [],
|
|
137
|
+
"events": [],
|
|
138
|
+
"validations": [],
|
|
139
|
+
"stateBindings": [],
|
|
140
|
+
"children": []
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"applicationUpdate": {
|
|
147
|
+
"properties": {
|
|
148
|
+
"mobile": {
|
|
149
|
+
"tabs": {
|
|
150
|
+
"enabled": true,
|
|
151
|
+
"style": "default",
|
|
152
|
+
"showLabels": true,
|
|
153
|
+
"items": [
|
|
154
|
+
{
|
|
155
|
+
"page": "<gorevler sayfa id'si>",
|
|
156
|
+
"label": "Görevler",
|
|
157
|
+
"icon": "list"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"page": "<yeni sayfa id'si>",
|
|
161
|
+
"label": "Yeni",
|
|
162
|
+
"icon": "add"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"page": "<profil sayfa id'si>",
|
|
166
|
+
"label": "Profil",
|
|
167
|
+
"icon": "user"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|