@steedos-widgets/amis-object 1.0.39 → 1.0.40

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.
@@ -209,6 +209,8 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
209
209
  debug: boolean;
210
210
  id: string;
211
211
  resetAfterSubmit: boolean;
212
+ clearPersistDataAfterSubmit: boolean;
213
+ persistData: string;
212
214
  body: ({
213
215
  type: string;
214
216
  label: boolean;
@@ -328,7 +330,40 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
328
330
  md: string;
329
331
  valign: string;
330
332
  } | {
331
- body: any[];
333
+ body: (({
334
+ type: string;
335
+ } & {
336
+ name: string;
337
+ hiddenOn: string;
338
+ required: boolean;
339
+ }) | {
340
+ type: string;
341
+ label: string;
342
+ name: string;
343
+ id: string;
344
+ required: boolean;
345
+ multiple: string;
346
+ source: {
347
+ url: string;
348
+ method: string;
349
+ sendOn: string;
350
+ headers: {
351
+ Authorization: string;
352
+ };
353
+ messages: {};
354
+ requestAdaptor: string;
355
+ adaptor: string;
356
+ data: {
357
+ "&": string;
358
+ $scopeId: string;
359
+ context: string;
360
+ next_step: string;
361
+ };
362
+ };
363
+ labelField: string;
364
+ valueField: string;
365
+ hiddenOn: string;
366
+ })[];
332
367
  id: string;
333
368
  md?: undefined;
334
369
  valign?: undefined;
@@ -599,10 +634,8 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
599
634
  pullRefresh: {};
600
635
  regions: string[];
601
636
  onEvent: {
602
- inited: {
603
- weight: number;
637
+ "@data.@instanceDetail.changed": {
604
638
  actions: {
605
- componentId: string;
606
639
  actionType: string;
607
640
  }[];
608
641
  };
@@ -595,6 +595,9 @@ body {
595
595
  .fill-slate-500 {
596
596
  fill: #64748b
597
597
  }
598
+ .fill-gray-500 {
599
+ fill: #6b7280
600
+ }
598
601
  .p-4 {
599
602
  padding: 1rem
600
603
  }
@@ -1048,8 +1051,10 @@ body.sidebar-open .sidebar-wrapper {
1048
1051
  body.sidebar #sidebar {
1049
1052
  margin-top: 50px;
1050
1053
  }
1051
- body.sidebar.sidebar-open #main {
1052
- margin-left: 220px;
1054
+ @media (min-width: 768px) {
1055
+ body.sidebar.sidebar-open #main {
1056
+ margin-left: 220px;
1057
+ }
1053
1058
  }
1054
1059
  @media (max-width: 768px) {
1055
1060
  body.sidebar.sidebar-open #sidebar {