@steedos-widgets/amis-object 6.10.1-beta.50 → 6.10.1-beta.52

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/assets.json CHANGED
@@ -11,31 +11,31 @@
11
11
  {
12
12
  "package": "@steedos-widgets/fullcalendar",
13
13
  "urls": [
14
- "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.50/dist/fullcalendar.umd.js",
15
- "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.50/dist/fullcalendar.umd.css"
14
+ "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.52/dist/fullcalendar.umd.js",
15
+ "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.52/dist/fullcalendar.umd.css"
16
16
  ],
17
17
  "library": "BuilderFullCalendar"
18
18
  },
19
19
  {
20
20
  "package": "@steedos-widgets/sortable",
21
21
  "urls": [
22
- "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.50/dist/sortable.umd.js",
23
- "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.50/dist/sortable.umd.css"
22
+ "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.52/dist/sortable.umd.js",
23
+ "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.52/dist/sortable.umd.css"
24
24
  ],
25
25
  "library": "BuilderSortable"
26
26
  },
27
27
  {
28
28
  "package": "steedos-lib",
29
29
  "urls": [
30
- "https://unpkg.com/@steedos-widgets/steedos-lib@6.10.1-beta.50/dist/index.umd.js"
30
+ "https://unpkg.com/@steedos-widgets/steedos-lib@6.10.1-beta.52/dist/index.umd.js"
31
31
  ],
32
32
  "library": "SteedosLib"
33
33
  },
34
34
  {
35
35
  "package": "@steedos-widgets/amis-object",
36
36
  "urls": [
37
- "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.50/dist/amis-object.umd.js",
38
- "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.50/dist/amis-object.umd.css"
37
+ "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.52/dist/amis-object.umd.js",
38
+ "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.52/dist/amis-object.umd.css"
39
39
  ],
40
40
  "library": "BuilderAmisObject"
41
41
  }
@@ -46,10 +46,10 @@
46
46
  "npm": {
47
47
  "package": "@steedos-widgets/fullcalendar"
48
48
  },
49
- "url": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.50/dist/meta.js",
49
+ "url": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.52/dist/meta.js",
50
50
  "urls": {
51
- "default": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.50/dist/meta.js",
52
- "design": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.50/dist/meta.js"
51
+ "default": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.52/dist/meta.js",
52
+ "design": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.52/dist/meta.js"
53
53
  }
54
54
  },
55
55
  {
@@ -57,10 +57,10 @@
57
57
  "npm": {
58
58
  "package": "@steedos-widgets/reactflow"
59
59
  },
60
- "url": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.50/dist/meta.js",
60
+ "url": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.52/dist/meta.js",
61
61
  "urls": {
62
- "default": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.50/dist/meta.js",
63
- "design": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.50/dist/meta.js"
62
+ "default": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.52/dist/meta.js",
63
+ "design": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.52/dist/meta.js"
64
64
  }
65
65
  },
66
66
  {
@@ -68,10 +68,10 @@
68
68
  "npm": {
69
69
  "package": "@steedos-widgets/sortable"
70
70
  },
71
- "url": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.50/dist/meta.js",
71
+ "url": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.52/dist/meta.js",
72
72
  "urls": {
73
- "default": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.50/dist/meta.js",
74
- "design": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.50/dist/meta.js"
73
+ "default": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.52/dist/meta.js",
74
+ "design": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.52/dist/meta.js"
75
75
  }
76
76
  },
77
77
  {
@@ -79,10 +79,10 @@
79
79
  "npm": {
80
80
  "package": "@steedos-widgets/amis-object"
81
81
  },
82
- "url": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.50/dist/meta.js",
82
+ "url": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.52/dist/meta.js",
83
83
  "urls": {
84
- "default": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.50/dist/meta.js",
85
- "design": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.50/dist/meta.js"
84
+ "default": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.52/dist/meta.js",
85
+ "design": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.52/dist/meta.js"
86
86
  }
87
87
  }
88
88
  ]
package/dist/meta.js CHANGED
@@ -5567,6 +5567,48 @@
5567
5567
  }
5568
5568
  finally { if (e_1) throw e_1.error; }
5569
5569
  }
5570
+ var _config = {
5571
+ "type": type,
5572
+ "label": title,
5573
+ "amis": {}
5574
+ };
5575
+ if (type == 'table') {
5576
+ _config.columns = [
5577
+ {
5578
+ "type": "sfield-text",
5579
+ "config": {
5580
+ "type": "text",
5581
+ "label": "column 1",
5582
+ "amis": {
5583
+ "mode": "horizontal",
5584
+ "name": "fuwrx6",
5585
+ "id": "u:3a883adb07a5"
5586
+ },
5587
+ "object": "",
5588
+ "name": "fuwrx6"
5589
+ },
5590
+ "label": "column 1",
5591
+ "id": "u:fc066ce3ce29",
5592
+ "placeholder": "-"
5593
+ }, {
5594
+ "type": "sfield-text",
5595
+ "config": {
5596
+ "type": "text",
5597
+ "label": "column 2",
5598
+ "amis": {
5599
+ "mode": "horizontal",
5600
+ "name": "fuwrx6",
5601
+ "id": "u:3a883adb07a52"
5602
+ },
5603
+ "object": "",
5604
+ "name": "fuwrx6"
5605
+ },
5606
+ "label": "column 2",
5607
+ "id": "u:fc066ce3ce292",
5608
+ "placeholder": "-"
5609
+ }
5610
+ ];
5611
+ }
5570
5612
  return __assign(__assign({}, metaConfig), { snippets: [
5571
5613
  {
5572
5614
  title: metaConfig.title,
@@ -5594,89 +5636,11 @@
5594
5636
  icon: metaConfig.amis.icon,
5595
5637
  scaffold: {
5596
5638
  type: metaConfig.amis.name,
5597
- config: {
5598
- "type": type,
5599
- "label": title,
5600
- "amis": {},
5601
- "columns": type == 'table' ? [
5602
- {
5603
- "type": "sfield-text",
5604
- "config": {
5605
- "type": "text",
5606
- "label": "column 1",
5607
- "amis": {
5608
- "mode": "horizontal",
5609
- "name": "fuwrx6",
5610
- "id": "u:3a883adb07a5"
5611
- },
5612
- "object": "",
5613
- "name": "fuwrx6"
5614
- },
5615
- "label": "column 1",
5616
- "id": "u:fc066ce3ce29",
5617
- "placeholder": "-"
5618
- }, {
5619
- "type": "sfield-text",
5620
- "config": {
5621
- "type": "text",
5622
- "label": "column 2",
5623
- "amis": {
5624
- "mode": "horizontal",
5625
- "name": "fuwrx6",
5626
- "id": "u:3a883adb07a52"
5627
- },
5628
- "object": "",
5629
- "name": "fuwrx6"
5630
- },
5631
- "label": "column 2",
5632
- "id": "u:fc066ce3ce292",
5633
- "placeholder": "-"
5634
- }
5635
- ] : null
5636
- }
5639
+ config: _config
5637
5640
  },
5638
5641
  previewSchema: {
5639
5642
  type: metaConfig.amis.name,
5640
- config: {
5641
- "type": type,
5642
- "label": title,
5643
- "amis": {},
5644
- "columns": type == 'table' ? [
5645
- {
5646
- "type": "sfield-text",
5647
- "config": {
5648
- "type": "text",
5649
- "label": "column 1",
5650
- "amis": {
5651
- "mode": "horizontal",
5652
- "name": "fuwrx6",
5653
- "id": "u:3a883adb07a5"
5654
- },
5655
- "object": "",
5656
- "name": "fuwrx6"
5657
- },
5658
- "label": "column 1",
5659
- "id": "u:fc066ce3ce29",
5660
- "placeholder": "-"
5661
- }, {
5662
- "type": "sfield-text",
5663
- "config": {
5664
- "type": "text",
5665
- "label": "column 2",
5666
- "amis": {
5667
- "mode": "horizontal",
5668
- "name": "fuwrx6",
5669
- "id": "u:3a883adb07a52"
5670
- },
5671
- "object": "",
5672
- "name": "fuwrx6"
5673
- },
5674
- "label": "column 2",
5675
- "id": "u:fc066ce3ce292",
5676
- "placeholder": "-"
5677
- }
5678
- ] : null
5679
- }
5643
+ config: _config
5680
5644
  },
5681
5645
  panelTitle: "设置",
5682
5646
  panelControls: [
@@ -7049,7 +7013,7 @@
7049
7013
  * @Author: 殷亮辉 yinlianghui@hotoa.com
7050
7014
  * @Date: 2025-08-19 15:02:47
7051
7015
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
7052
- * @LastEditTime: 2025-08-27 10:58:22
7016
+ * @LastEditTime: 2025-08-29 20:48:20
7053
7017
  */
7054
7018
  var config = {
7055
7019
  componentType: 'amisSchema',
@@ -7136,6 +7100,17 @@
7136
7100
  { label: '向导', value: 'wizard' }
7137
7101
  ]
7138
7102
  },
7103
+ {
7104
+ type: 'radios',
7105
+ name: 'mode',
7106
+ label: '模式',
7107
+ visibleOn: "${style === 'wizard'}",
7108
+ options: [
7109
+ { label: '默认', value: 'normal' },
7110
+ { label: '水平模式', value: 'horizontal' },
7111
+ { label: '内联模式', value: 'inline' }
7112
+ ]
7113
+ },
7139
7114
  {
7140
7115
  type: 'textarea',
7141
7116
  name: 'description',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-object",
3
3
  "private": false,
4
- "version": "6.10.1-beta.50",
4
+ "version": "6.10.1-beta.52",
5
5
  "main": "dist/amis-object.cjs.js",
6
6
  "module": "dist/amis-object.esm.js",
7
7
  "unpkg": "dist/amis-object.umd.js",
@@ -61,10 +61,10 @@
61
61
  "uglify-js": "^3.17.0"
62
62
  },
63
63
  "dependencies": {
64
- "@steedos-widgets/amis-lib": "6.10.1-beta.50",
64
+ "@steedos-widgets/amis-lib": "6.10.1-beta.52",
65
65
  "autoprefixer": "^10.4.13",
66
66
  "postcss": "^8.4.19",
67
67
  "tailwindcss": "^3.2.4"
68
68
  },
69
- "gitHead": "8524d5a2ec3b79e2f960d02df6685d7c8c935cad"
69
+ "gitHead": "01b95f4f23898382585824f3daf11ff3851283d1"
70
70
  }