@steedos/service-plugin-amis 2.5.17-beta.3 → 2.5.17-beta.5

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.
@@ -170,6 +170,30 @@
170
170
  },
171
171
  "id": "u:25a6ee957503"
172
172
  },
173
+ {
174
+ "label": "显示模式",
175
+ "name": "crud_mode",
176
+ "type": "select",
177
+ "en-US": {
178
+ "label": "Crud Mode"
179
+ },
180
+ "options": [
181
+ {
182
+ "label": "表格",
183
+ "value": "table",
184
+ "en-US": {
185
+ "label": "Table"
186
+ }
187
+ },
188
+ {
189
+ "label": "卡片",
190
+ "value": "cards",
191
+ "en-US": {
192
+ "label": "Cards"
193
+ }
194
+ }
195
+ ]
196
+ },
173
197
  {
174
198
  "label": "显示的列",
175
199
  "type": "transfer",
@@ -541,7 +565,7 @@
541
565
  "data": {
542
566
  "recordId": "${recordId}",
543
567
  "defaultData": "${defaultData}",
544
- "query": "{data:object_listviews(filters:[\"_id\", \"=\", \"${recordId}\"]){_id,label,name,object_name,requestAdaptor,adaptor,filter_scope,shared,show_count,columns,filter_fields,sort,filters,filter_logic,mobile_columns,searchable_fields,sort_no,created,created_by:created_by__expand{_id,name},modified,modified_by:modified_by__expand{_id,name},enable_amis_schema,amis_schema,_display{shared,show_count,created,modified}}}"
568
+ "query": "{data:object_listviews(filters:[\"_id\", \"=\", \"${recordId}\"]){_id,label,name,object_name,requestAdaptor,adaptor,filter_scope,crud_mode,shared,show_count,columns,filter_fields,sort,filters,filter_logic,mobile_columns,searchable_fields,sort_no,created,created_by:created_by__expand{_id,name},modified,modified_by:modified_by__expand{_id,name},enable_amis_schema,amis_schema,_display{shared,show_count,created,modified}}}"
545
569
  },
546
570
  "replaceData": false,
547
571
  "responseData": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.5.17-beta.3",
3
+ "version": "2.5.17-beta.5",
4
4
  "main": "package.service.js",
5
5
  "scripts": {
6
6
  "build": "yarn build:tailwind-base && yarn build:tailwind",
@@ -13,7 +13,7 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
- "gitHead": "adadbca7968f369c6da173508b6bf8e1cdde3b9f",
16
+ "gitHead": "838d5fe29d704ef8adf741774452743d912c224f",
17
17
  "devDependencies": {
18
18
  "tailwindcss": "3.2.4"
19
19
  }
@@ -112,6 +112,10 @@
112
112
  margin-top: 0.5rem
113
113
  }
114
114
 
115
+ .mr-4 {
116
+ margin-right: 1rem
117
+ }
118
+
115
119
  .-mt-3 {
116
120
  margin-top: -0.75rem
117
121
  }
@@ -302,6 +306,11 @@
302
306
  background-color: rgb(255 255 255 / var(--tw-bg-opacity))
303
307
  }
304
308
 
309
+ .bg-green-300 {
310
+ --tw-bg-opacity: 1;
311
+ background-color: rgb(134 239 172 / var(--tw-bg-opacity))
312
+ }
313
+
305
314
  .bg-gray-100 {
306
315
  --tw-bg-opacity: 1;
307
316
  background-color: rgb(243 244 246 / var(--tw-bg-opacity))