File tree Expand file tree Collapse file tree 4 files changed +281
-0
lines changed
designer-demo/public/mock
mock/get/app-center/v1/apps/schema Expand file tree Collapse file tree 4 files changed +281
-0
lines changed Original file line number Diff line number Diff line change @@ -29505,6 +29505,122 @@
2950529505 }
2950629506 }
2950729507 },
29508+ {
29509+ "version": "1.0.0",
29510+ "name": {
29511+ "zh_CN": "应用程序"
29512+ },
29513+ "component": "uProgram",
29514+ "icon": "display-grid",
29515+ "description": "应用程序",
29516+ "docUrl": "",
29517+ "screenshot": "",
29518+ "tags": "",
29519+ "keywords": "",
29520+ "devMode": "proCode",
29521+ "npm": {
29522+ "package": "@shqy/mobile",
29523+ "exportName": "uProgram",
29524+ "version": "",
29525+ "destructuring": true
29526+ },
29527+ "group": "component",
29528+ "priority": 1,
29529+ "schema": {
29530+ "properties": [
29531+ {
29532+ "label": {
29533+ "zh_CN": "基础信息"
29534+ },
29535+ "description": {
29536+ "zh_CN": "基础信息"
29537+ },
29538+ "collapse": {
29539+ "number": 6,
29540+ "text": {
29541+ "zh_CN": "显示更多"
29542+ }
29543+ },
29544+ "content": [
29545+ {
29546+ "property": "ProgramCode",
29547+ "label": {
29548+ "text": {
29549+ "zh_CN": "应用程序编码"
29550+ }
29551+ },
29552+ "required": true,
29553+ "readOnly": false,
29554+ "disabled": false,
29555+ "cols": 12,
29556+ "widget": {
29557+ "component": "MetaInput"
29558+ },
29559+ "description": {
29560+ "zh_CN": "应用程序编码"
29561+ }
29562+ }
29563+ ]
29564+ }
29565+ ],
29566+ "events": {
29567+ "onButtonClick": {
29568+ "label": {
29569+ "zh_CN": "点击按钮时触发"
29570+ },
29571+ "description": {
29572+ "zh_CN": "点击按钮时触发"
29573+ },
29574+ "type": "event",
29575+ "functionInfo": {
29576+ "params": [
29577+ {
29578+ "name": "event",
29579+ "type": "Object",
29580+ "defaultValue": "",
29581+ "description": {
29582+ "zh_CN": "原生 event"
29583+ }
29584+ }
29585+ ],
29586+ "returns": {}
29587+ },
29588+ "defaultValue": ""
29589+ }
29590+ }
29591+ },
29592+ "configure": {
29593+ "loop": true,
29594+ "condition": true,
29595+ "styles": true,
29596+ "isContainer": false,
29597+ "isModal": false,
29598+ "nestingRule": {
29599+ "childWhitelist": "",
29600+ "parentWhitelist": "",
29601+ "descendantBlacklist": "",
29602+ "ancestorWhitelist": ""
29603+ },
29604+ "isNullNode": false,
29605+ "isLayout": false,
29606+ "rootSelector": "",
29607+ "shortcuts": {
29608+ "properties": [
29609+ "value",
29610+ "disabled"
29611+ ]
29612+ },
29613+ "contextMenu": {
29614+ "actions": [
29615+ "create symbol"
29616+ ],
29617+ "disable": [
29618+ "copy",
29619+ "remove"
29620+ ]
29621+ }
29622+ }
29623+ },
2950829624 {
2950929625 "version": "1.0.0",
2951029626 "icon": "radio",
3380333919 }
3380433920 }
3380533921 },
33922+ {
33923+ "name": {
33924+ "zh_CN": "应用程序"
33925+ },
33926+ "icon": "display-grid",
33927+ "screenshot": "",
33928+ "snippetName": "uProgram",
33929+ "schema": {
33930+ "componentName": "uProgram",
33931+ "props": {
33932+ "ref": "program"
33933+ }
33934+ }
33935+
33936+ },
3380633937 {
3380733938 "name": {
3380833939 "zh_CN": "卡片"
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 1.0.0" ,
3+ "name" : {
4+ "zh_CN" : " 应用程序"
5+ },
6+ "component" : " uProgram" ,
7+ "icon" : " display-grid" ,
8+ "description" : " 应用程序" ,
9+ "docUrl" : " " ,
10+ "screenshot" : " " ,
11+ "tags" : " " ,
12+ "keywords" : " " ,
13+ "devMode" : " proCode" ,
14+ "npm" : {
15+ "package" : " @shqy/mobile" ,
16+ "exportName" : " uProgram" ,
17+ "version" : " " ,
18+ "destructuring" : true
19+ },
20+ "group" : " component" ,
21+ "priority" : 1 ,
22+ "schema" : {
23+ "properties" : [
24+ {
25+ "label" : {
26+ "zh_CN" : " 基础信息"
27+ },
28+ "description" : {
29+ "zh_CN" : " 基础信息"
30+ },
31+ "collapse" : {
32+ "number" : 6 ,
33+ "text" : {
34+ "zh_CN" : " 显示更多"
35+ }
36+ },
37+ "content" : [
38+
39+ {
40+ "property" : " ProgramCode" ,
41+ "label" : {
42+ "text" : {
43+ "zh_CN" : " 应用程序编码"
44+ }
45+ },
46+ "required" : true ,
47+ "readOnly" : false ,
48+ "disabled" : false ,
49+ "cols" : 12 ,
50+ "widget" : {
51+ "component" : " MetaInput"
52+ },
53+ "description" : {
54+ "zh_CN" : " 应用程序编码"
55+ }
56+ }
57+ ]
58+ }
59+ ],
60+ "events" : {
61+ "onButtonClick" : {
62+ "label" : {
63+ "zh_CN" : " 点击按钮时触发"
64+ },
65+ "description" : {
66+ "zh_CN" : " 点击按钮时触发"
67+ },
68+ "type" : " event" ,
69+ "functionInfo" : {
70+ "params" : [
71+ {
72+ "name" : " event" ,
73+ "type" : " Object" ,
74+ "defaultValue" : " " ,
75+ "description" : {
76+ "zh_CN" : " 原生 event"
77+ }
78+ }
79+ ],
80+ "returns" : {}
81+ },
82+ "defaultValue" : " "
83+ }
84+ }
85+ },
86+ "configure" : {
87+ "loop" : true ,
88+ "condition" : true ,
89+ "styles" : true ,
90+ "isContainer" : false ,
91+ "isModal" : false ,
92+ "nestingRule" : {
93+ "childWhitelist" : " " ,
94+ "parentWhitelist" : " " ,
95+ "descendantBlacklist" : " " ,
96+ "ancestorWhitelist" : " "
97+ },
98+ "isNullNode" : false ,
99+ "isLayout" : false ,
100+ "rootSelector" : " " ,
101+ "shortcuts" : {
102+ "properties" : [
103+ " value" ,
104+ " disabled"
105+ ]
106+ },
107+ "contextMenu" : {
108+ "actions" : [
109+ " create symbol"
110+ ],
111+ "disable" : [
112+ " copy" ,
113+ " remove"
114+ ]
115+ }
116+ },
117+ "snippets" : [
118+ {
119+ "name" : {
120+ "zh_CN" : " 应用程序"
121+ },
122+ "icon" : " display-grid" ,
123+ "screenshot" : " " ,
124+ "snippetName" : " uProgram" ,
125+ "schema" : {
126+ "componentName" : " uProgram" ,
127+ "props" : {
128+ "ref" : " program"
129+ }
130+ },
131+ "category" : " 容器组件"
132+ }
133+ ]
134+ }
Original file line number Diff line number Diff line change 1803018030 "destructuring": true
1803118031 }
1803218032 },
18033+ {
18034+ "component": "uProgram",
18035+ "npm": {
18036+ "package": "@shqy/mobile",
18037+ "exportName": "uProgram",
18038+ "version": "",
18039+ "destructuring": true
18040+ }
18041+ },
1803318042 {
1803418043 "component": "uRadio",
1803518044 "npm": {
Original file line number Diff line number Diff line change 23972397 "exportName" : " uPopup" ,
23982398 "destructuring" : true
23992399 },
2400+ {
2401+ "componentName" : " uProgram" ,
2402+ "package" : " @shqy/mobile" ,
2403+ "version" : " " ,
2404+ "exportName" : " uProgram" ,
2405+ "destructuring" : true
2406+ },
24002407 {
24012408 "componentName" : " uRadio" ,
24022409 "package" : " @shqy/mobile" ,
You can’t perform that action at this time.
0 commit comments