@pisell/materials 1.8.52 → 1.8.54

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.
@@ -0,0 +1,189 @@
1
+
2
+ import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
3
+
4
+ const FloorMapBuiltinShapeElementMeta: ComponentMetadata = {
5
+ "componentName": "FloorMapBuiltinShapeElement",
6
+ "title": "FloorMapBuiltinShapeElement",
7
+ "docUrl": "",
8
+ "screenshot": "",
9
+ "devMode": "proCode",
10
+ "npm": {
11
+ "package": "@pisell/materials",
12
+ "version": "6.11.82",
13
+ "exportName": "FloorMapBuiltinShapeElement",
14
+ "main": "src/index.tsx",
15
+ "destructuring": true,
16
+ "subName": ""
17
+ },
18
+ "configure": {
19
+ "props": [
20
+ {
21
+ "title": {
22
+ "label": {
23
+ "type": "i18n",
24
+ "en-US": "builtinShapeKey",
25
+ "zh-CN": "builtinShapeKey"
26
+ }
27
+ },
28
+ "name": "builtinShapeKey",
29
+ "setter": {
30
+ "componentName": "MixedSetter",
31
+ "props": {
32
+ "setters": [
33
+ {
34
+ "componentName": "ObjectSetter",
35
+ "props": {
36
+ "config": {
37
+ "extraSetter": {
38
+ "componentName": "MixedSetter",
39
+ "isRequired": false,
40
+ "props": {}
41
+ }
42
+ }
43
+ },
44
+ "isRequired": false,
45
+ "initialValue": {}
46
+ },
47
+ {
48
+ "componentName": "StringSetter",
49
+ "isRequired": false,
50
+ "initialValue": ""
51
+ }
52
+ ]
53
+ }
54
+ }
55
+ },
56
+ {
57
+ "title": {
58
+ "label": {
59
+ "type": "i18n",
60
+ "en-US": "name",
61
+ "zh-CN": "name"
62
+ }
63
+ },
64
+ "name": "name",
65
+ "setter": {
66
+ "componentName": "MixedSetter",
67
+ "props": {
68
+ "setters": [
69
+ {
70
+ "componentName": "ObjectSetter",
71
+ "props": {
72
+ "config": {
73
+ "extraSetter": {
74
+ "componentName": "MixedSetter",
75
+ "isRequired": false,
76
+ "props": {}
77
+ }
78
+ }
79
+ },
80
+ "isRequired": false,
81
+ "initialValue": {}
82
+ },
83
+ {
84
+ "componentName": "StringSetter",
85
+ "isRequired": false,
86
+ "initialValue": ""
87
+ }
88
+ ]
89
+ }
90
+ }
91
+ },
92
+ {
93
+ "title": {
94
+ "label": {
95
+ "type": "i18n",
96
+ "en-US": "fillColor",
97
+ "zh-CN": "主体填充色(壳层为浅"
98
+ },
99
+ "tip": "fillColor | 主体填充色(壳层为浅灰),允许通过 sceneElement.fillColor 覆盖"
100
+ },
101
+ "name": "fillColor",
102
+ "description": "主体填充色(壳层为浅灰),允许通过 sceneElement.fillColor 覆盖",
103
+ "setter": {
104
+ "componentName": "MixedSetter",
105
+ "props": {
106
+ "setters": [
107
+ {
108
+ "componentName": "ObjectSetter",
109
+ "props": {
110
+ "config": {
111
+ "extraSetter": {
112
+ "componentName": "MixedSetter",
113
+ "isRequired": false,
114
+ "props": {}
115
+ }
116
+ }
117
+ },
118
+ "isRequired": false,
119
+ "initialValue": {}
120
+ },
121
+ {
122
+ "componentName": "StringSetter",
123
+ "isRequired": false,
124
+ "initialValue": ""
125
+ }
126
+ ]
127
+ }
128
+ }
129
+ },
130
+ {
131
+ "title": {
132
+ "label": {
133
+ "type": "i18n",
134
+ "en-US": "strokeColor",
135
+ "zh-CN": "描边色,允许通过 s"
136
+ },
137
+ "tip": "strokeColor | 描边色,允许通过 sceneElement.strokeColor 覆盖"
138
+ },
139
+ "name": "strokeColor",
140
+ "description": "描边色,允许通过 sceneElement.strokeColor 覆盖",
141
+ "setter": {
142
+ "componentName": "MixedSetter",
143
+ "props": {
144
+ "setters": [
145
+ {
146
+ "componentName": "ObjectSetter",
147
+ "props": {
148
+ "config": {
149
+ "extraSetter": {
150
+ "componentName": "MixedSetter",
151
+ "isRequired": false,
152
+ "props": {}
153
+ }
154
+ }
155
+ },
156
+ "isRequired": false,
157
+ "initialValue": {}
158
+ },
159
+ {
160
+ "componentName": "StringSetter",
161
+ "isRequired": false,
162
+ "initialValue": ""
163
+ }
164
+ ]
165
+ }
166
+ }
167
+ }
168
+ ],
169
+ "supports": {
170
+ "style": true
171
+ },
172
+ "component": {}
173
+ }
174
+ };
175
+ const snippets: Snippet[] = [
176
+ {
177
+ "title": "FloorMapBuiltinShapeElement",
178
+ "screenshot": "",
179
+ "schema": {
180
+ "componentName": "FloorMapBuiltinShapeElement",
181
+ "props": {}
182
+ }
183
+ }
184
+ ];
185
+
186
+ export default {
187
+ ...FloorMapBuiltinShapeElementMeta,
188
+ snippets
189
+ };
@@ -0,0 +1,77 @@
1
+
2
+ import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
3
+
4
+ const FloorMapZoneElementMeta: ComponentMetadata = {
5
+ "componentName": "FloorMapZoneElement",
6
+ "title": "FloorMapZoneElement",
7
+ "docUrl": "",
8
+ "screenshot": "",
9
+ "devMode": "proCode",
10
+ "npm": {
11
+ "package": "@pisell/materials",
12
+ "version": "6.11.82",
13
+ "exportName": "FloorMapZoneElement",
14
+ "main": "src/index.tsx",
15
+ "destructuring": true,
16
+ "subName": ""
17
+ },
18
+ "configure": {
19
+ "props": [
20
+ {
21
+ "title": {
22
+ "label": {
23
+ "type": "i18n",
24
+ "en-US": "name",
25
+ "zh-CN": "name"
26
+ }
27
+ },
28
+ "name": "name",
29
+ "setter": {
30
+ "componentName": "MixedSetter",
31
+ "props": {
32
+ "setters": [
33
+ {
34
+ "componentName": "ObjectSetter",
35
+ "props": {
36
+ "config": {
37
+ "extraSetter": {
38
+ "componentName": "MixedSetter",
39
+ "isRequired": false,
40
+ "props": {}
41
+ }
42
+ }
43
+ },
44
+ "isRequired": false,
45
+ "initialValue": {}
46
+ },
47
+ {
48
+ "componentName": "StringSetter",
49
+ "isRequired": false,
50
+ "initialValue": ""
51
+ }
52
+ ]
53
+ }
54
+ }
55
+ }
56
+ ],
57
+ "supports": {
58
+ "style": true
59
+ },
60
+ "component": {}
61
+ }
62
+ };
63
+ const snippets: Snippet[] = [
64
+ {
65
+ "title": "FloorMapZoneElement",
66
+ "screenshot": "",
67
+ "schema": {
68
+ "componentName": "FloorMapZoneElement",
69
+ "props": {}
70
+ }
71
+ }
72
+ ];
73
+
74
+ export default {
75
+ ...FloorMapZoneElementMeta,
76
+ snippets
77
+ };
@@ -4841,6 +4841,87 @@ const PisellFloorMapLayoutMeta: ComponentMetadata = {
4841
4841
  ]
4842
4842
  }
4843
4843
  }
4844
+ },
4845
+ {
4846
+ "title": {
4847
+ "label": {
4848
+ "type": "i18n",
4849
+ "en-US": "status",
4850
+ "zh-CN": "status"
4851
+ }
4852
+ },
4853
+ "name": "status",
4854
+ "setter": {
4855
+ "componentName": "SelectSetter",
4856
+ "props": {
4857
+ "options": [
4858
+ { "label": "online", "value": "online" },
4859
+ { "label": "offline", "value": "offline" },
4860
+ { "label": "warning", "value": "warning" },
4861
+ { "label": "unknown", "value": "unknown" }
4862
+ ]
4863
+ },
4864
+ "initialValue": "online"
4865
+ }
4866
+ },
4867
+ {
4868
+ "title": {
4869
+ "label": {
4870
+ "type": "i18n",
4871
+ "en-US": "sourceLabel",
4872
+ "zh-CN": "sourceLabel"
4873
+ }
4874
+ },
4875
+ "name": "sourceLabel",
4876
+ "setter": {
4877
+ "componentName": "StringSetter",
4878
+ "isRequired": false,
4879
+ "initialValue": ""
4880
+ }
4881
+ },
4882
+ {
4883
+ "title": {
4884
+ "label": {
4885
+ "type": "i18n",
4886
+ "en-US": "targetLabel",
4887
+ "zh-CN": "targetLabel"
4888
+ }
4889
+ },
4890
+ "name": "targetLabel",
4891
+ "setter": {
4892
+ "componentName": "StringSetter",
4893
+ "isRequired": false,
4894
+ "initialValue": ""
4895
+ }
4896
+ },
4897
+ {
4898
+ "title": {
4899
+ "label": {
4900
+ "type": "i18n",
4901
+ "en-US": "label",
4902
+ "zh-CN": "label"
4903
+ }
4904
+ },
4905
+ "name": "label",
4906
+ "setter": {
4907
+ "componentName": "StringSetter",
4908
+ "isRequired": false,
4909
+ "initialValue": ""
4910
+ }
4911
+ },
4912
+ {
4913
+ "title": {
4914
+ "label": {
4915
+ "type": "i18n",
4916
+ "en-US": "color",
4917
+ "zh-CN": "color"
4918
+ }
4919
+ },
4920
+ "name": "color",
4921
+ "setter": {
4922
+ "componentName": "ColorSetter",
4923
+ "isRequired": false
4924
+ }
4844
4925
  }
4845
4926
  ],
4846
4927
  "extraSetter": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.8.52",
3
+ "version": "1.8.54",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -115,11 +115,8 @@
115
115
  "dev": "pnpm run build:tailwind-css:once && concurrently -k -n tailwind,father -c cyan,magenta \"pnpm run dev:tailwind-css\" \"father dev\"",
116
116
  "build:tailwind-css": "tailwindcss -c ./tailwind.materials.config.cjs --postcss ./postcss.materials-tailwind.cjs -i ./src/tailwind-input.css -o ./src/pisell-materials.tw.css --minify",
117
117
  "build": "pnpm run build:tailwind-css && father build",
118
- "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
119
- "lowcode:build": "build-scripts build --config ./build.lowcode.js",
120
- "build:tsdown": "tsdown",
121
- "lowcode:rsdev": "rsbuild dev",
122
- "lowcode:rsbuild": "rsbuild build",
118
+ "lowcode:dev": "pnpm run build:tailwind-css:once && concurrently -k -n tailwind,lowcode -c cyan,green \"pnpm run dev:tailwind-css\" \"build-scripts start --config ./build.lowcode.js\"",
119
+ "lowcode:build": " build-scripts build --config ./build.lowcode.js",
123
120
  "test": "vitest",
124
121
  "test:ui": "vitest --ui",
125
122
  "test:run": "vitest run",