@almadar/std 16.25.0 → 16.26.0
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/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +63 -66
- package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +15 -18
- package/dist/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +63 -66
- package/dist/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +15 -18
- package/dist/registry/ui/core/molecules/ui-repeatable-form-section.orb +63 -66
- package/dist/registry/ui/core/molecules/ui-sortable-list.orb +15 -18
- package/package.json +1 -1
|
@@ -139,34 +139,31 @@
|
|
|
139
139
|
"render-ui",
|
|
140
140
|
"main",
|
|
141
141
|
{
|
|
142
|
-
"
|
|
143
|
-
"items": "@config.items",
|
|
144
|
-
"onReorder": "REORDER",
|
|
145
|
-
"readOnly": "@config.readOnly",
|
|
142
|
+
"addLabel": "@config.addLabel",
|
|
146
143
|
"trackAddedInState": "@config.trackAddedInState",
|
|
147
|
-
"
|
|
144
|
+
"readOnly": "@config.readOnly",
|
|
145
|
+
"currentState": "@config.currentState",
|
|
148
146
|
"allowReorder": "@config.allowReorder",
|
|
149
|
-
"
|
|
147
|
+
"onReorder": "REORDER",
|
|
148
|
+
"minItems": "@config.minItems",
|
|
149
|
+
"emptyMessage": "@config.emptyMessage",
|
|
150
|
+
"type": "repeatable-form-section",
|
|
151
|
+
"onAdd": "ADD",
|
|
150
152
|
"onRemove": "REMOVE",
|
|
153
|
+
"title": "@config.title",
|
|
154
|
+
"className": "@config.className",
|
|
155
|
+
"items": "@config.items",
|
|
151
156
|
"sectionType": "@config.sectionType",
|
|
152
157
|
"renderItem": [
|
|
153
158
|
"fn",
|
|
154
|
-
|
|
155
|
-
"item",
|
|
156
|
-
"index"
|
|
157
|
-
],
|
|
159
|
+
"item",
|
|
158
160
|
{
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
+
"content": "@item.id",
|
|
162
|
+
"type": "text"
|
|
161
163
|
}
|
|
162
164
|
],
|
|
163
|
-
"minItems": "@config.minItems",
|
|
164
|
-
"emptyMessage": "@config.emptyMessage",
|
|
165
|
-
"currentState": "@config.currentState",
|
|
166
|
-
"showAuditInfo": "@config.showAuditInfo",
|
|
167
165
|
"maxItems": "@config.maxItems",
|
|
168
|
-
"
|
|
169
|
-
"addLabel": "@config.addLabel"
|
|
166
|
+
"showAuditInfo": "@config.showAuditInfo"
|
|
170
167
|
}
|
|
171
168
|
]
|
|
172
169
|
]
|
|
@@ -174,11 +171,25 @@
|
|
|
174
171
|
]
|
|
175
172
|
},
|
|
176
173
|
"config": {
|
|
177
|
-
"
|
|
178
|
-
"type": "
|
|
179
|
-
"default":
|
|
180
|
-
"label": "
|
|
181
|
-
"description": "
|
|
174
|
+
"readOnly": {
|
|
175
|
+
"type": "boolean",
|
|
176
|
+
"default": false,
|
|
177
|
+
"label": "Read Only",
|
|
178
|
+
"description": "Read-only mode",
|
|
179
|
+
"tier": "presentation"
|
|
180
|
+
},
|
|
181
|
+
"allowReorder": {
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"default": false,
|
|
184
|
+
"label": "Allow Reorder",
|
|
185
|
+
"description": "Allow reordering",
|
|
186
|
+
"tier": "presentation"
|
|
187
|
+
},
|
|
188
|
+
"emptyMessage": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"default": "",
|
|
191
|
+
"label": "Empty Message",
|
|
192
|
+
"description": "Empty state message",
|
|
182
193
|
"tier": "presentation"
|
|
183
194
|
},
|
|
184
195
|
"currentState": {
|
|
@@ -188,6 +199,13 @@
|
|
|
188
199
|
"description": "Current inspection state (used when trackAddedInState is true)",
|
|
189
200
|
"tier": "presentation"
|
|
190
201
|
},
|
|
202
|
+
"showAuditInfo": {
|
|
203
|
+
"type": "boolean",
|
|
204
|
+
"default": false,
|
|
205
|
+
"label": "Show Audit Info",
|
|
206
|
+
"description": "Show audit metadata (addedInState, addedAt)",
|
|
207
|
+
"tier": "presentation"
|
|
208
|
+
},
|
|
191
209
|
"items": {
|
|
192
210
|
"type": "[RepeatableFormSectionItemsItem]",
|
|
193
211
|
"default": [
|
|
@@ -201,16 +219,16 @@
|
|
|
201
219
|
"items": {
|
|
202
220
|
"type": "object",
|
|
203
221
|
"properties": {
|
|
204
|
-
"id": {
|
|
205
|
-
"name": "id",
|
|
206
|
-
"type": "string",
|
|
207
|
-
"required": true
|
|
208
|
-
},
|
|
209
222
|
"addedInState": {
|
|
210
223
|
"name": "addedInState",
|
|
211
224
|
"type": "string",
|
|
212
225
|
"required": false
|
|
213
226
|
},
|
|
227
|
+
"id": {
|
|
228
|
+
"name": "id",
|
|
229
|
+
"type": "string",
|
|
230
|
+
"required": true
|
|
231
|
+
},
|
|
214
232
|
"addedAt": {
|
|
215
233
|
"name": "addedAt",
|
|
216
234
|
"type": "string",
|
|
@@ -226,6 +244,13 @@
|
|
|
226
244
|
"description": "Section type identifier",
|
|
227
245
|
"tier": "presentation"
|
|
228
246
|
},
|
|
247
|
+
"className": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": "",
|
|
250
|
+
"label": "Class Name",
|
|
251
|
+
"description": "Additional CSS classes",
|
|
252
|
+
"tier": "presentation"
|
|
253
|
+
},
|
|
229
254
|
"title": {
|
|
230
255
|
"type": "string",
|
|
231
256
|
"default": "Title",
|
|
@@ -233,25 +258,11 @@
|
|
|
233
258
|
"description": "Section title",
|
|
234
259
|
"tier": "presentation"
|
|
235
260
|
},
|
|
236
|
-
"
|
|
237
|
-
"type": "string",
|
|
238
|
-
"default": "",
|
|
239
|
-
"label": "Empty Message",
|
|
240
|
-
"description": "Empty state message",
|
|
241
|
-
"tier": "presentation"
|
|
242
|
-
},
|
|
243
|
-
"allowReorder": {
|
|
244
|
-
"type": "boolean",
|
|
245
|
-
"default": false,
|
|
246
|
-
"label": "Allow Reorder",
|
|
247
|
-
"description": "Allow reordering",
|
|
248
|
-
"tier": "presentation"
|
|
249
|
-
},
|
|
250
|
-
"readOnly": {
|
|
261
|
+
"trackAddedInState": {
|
|
251
262
|
"type": "boolean",
|
|
252
263
|
"default": false,
|
|
253
|
-
"label": "
|
|
254
|
-
"description": "
|
|
264
|
+
"label": "Track Added In State",
|
|
265
|
+
"description": "Inspection-specific enhancements",
|
|
255
266
|
"tier": "presentation"
|
|
256
267
|
},
|
|
257
268
|
"maxItems": {
|
|
@@ -261,33 +272,19 @@
|
|
|
261
272
|
"description": "Maximum items allowed",
|
|
262
273
|
"tier": "presentation"
|
|
263
274
|
},
|
|
275
|
+
"minItems": {
|
|
276
|
+
"type": "number",
|
|
277
|
+
"default": 0.0,
|
|
278
|
+
"label": "Min Items",
|
|
279
|
+
"description": "Minimum items required",
|
|
280
|
+
"tier": "presentation"
|
|
281
|
+
},
|
|
264
282
|
"addLabel": {
|
|
265
283
|
"type": "string",
|
|
266
284
|
"default": "",
|
|
267
285
|
"label": "Add Label",
|
|
268
286
|
"description": "Add button label",
|
|
269
287
|
"tier": "presentation"
|
|
270
|
-
},
|
|
271
|
-
"trackAddedInState": {
|
|
272
|
-
"type": "boolean",
|
|
273
|
-
"default": false,
|
|
274
|
-
"label": "Track Added In State",
|
|
275
|
-
"description": "Inspection-specific enhancements",
|
|
276
|
-
"tier": "presentation"
|
|
277
|
-
},
|
|
278
|
-
"className": {
|
|
279
|
-
"type": "string",
|
|
280
|
-
"default": "",
|
|
281
|
-
"label": "Class Name",
|
|
282
|
-
"description": "Additional CSS classes",
|
|
283
|
-
"tier": "presentation"
|
|
284
|
-
},
|
|
285
|
-
"showAuditInfo": {
|
|
286
|
-
"type": "boolean",
|
|
287
|
-
"default": false,
|
|
288
|
-
"label": "Show Audit Info",
|
|
289
|
-
"description": "Show audit metadata (addedInState, addedAt)",
|
|
290
|
-
"tier": "presentation"
|
|
291
288
|
}
|
|
292
289
|
},
|
|
293
290
|
"scope": "instance"
|
|
@@ -80,23 +80,20 @@
|
|
|
80
80
|
"render-ui",
|
|
81
81
|
"main",
|
|
82
82
|
{
|
|
83
|
-
"
|
|
84
|
-
"dragHandlePosition": "@config.dragHandlePosition",
|
|
83
|
+
"reorderEvent": "REORDER",
|
|
85
84
|
"type": "sortable-list",
|
|
85
|
+
"className": "@config.className",
|
|
86
|
+
"dragHandlePosition": "@config.dragHandlePosition",
|
|
87
|
+
"items": "@entity",
|
|
88
|
+
"reorderPayload": "@config.reorderPayload",
|
|
86
89
|
"renderItem": [
|
|
87
90
|
"fn",
|
|
88
|
-
|
|
89
|
-
"item",
|
|
90
|
-
"index"
|
|
91
|
-
],
|
|
91
|
+
"item",
|
|
92
92
|
{
|
|
93
|
-
"
|
|
94
|
-
"
|
|
93
|
+
"type": "text",
|
|
94
|
+
"content": "@item.id"
|
|
95
95
|
}
|
|
96
|
-
]
|
|
97
|
-
"reorderEvent": "REORDER",
|
|
98
|
-
"className": "@config.className",
|
|
99
|
-
"items": "@entity"
|
|
96
|
+
]
|
|
100
97
|
}
|
|
101
98
|
]
|
|
102
99
|
]
|
|
@@ -104,6 +101,12 @@
|
|
|
104
101
|
]
|
|
105
102
|
},
|
|
106
103
|
"config": {
|
|
104
|
+
"reorderPayload": {
|
|
105
|
+
"type": "json",
|
|
106
|
+
"label": "Reorder Payload",
|
|
107
|
+
"description": "reorderPayload prop",
|
|
108
|
+
"tier": "presentation"
|
|
109
|
+
},
|
|
107
110
|
"dragHandlePosition": {
|
|
108
111
|
"type": "string",
|
|
109
112
|
"default": "left",
|
|
@@ -121,12 +124,6 @@
|
|
|
121
124
|
"label": "Class Name",
|
|
122
125
|
"description": "className prop",
|
|
123
126
|
"tier": "presentation"
|
|
124
|
-
},
|
|
125
|
-
"reorderPayload": {
|
|
126
|
-
"type": "json",
|
|
127
|
-
"label": "Reorder Payload",
|
|
128
|
-
"description": "reorderPayload prop",
|
|
129
|
-
"tier": "presentation"
|
|
130
127
|
}
|
|
131
128
|
},
|
|
132
129
|
"scope": "instance"
|
|
@@ -139,34 +139,31 @@
|
|
|
139
139
|
"render-ui",
|
|
140
140
|
"main",
|
|
141
141
|
{
|
|
142
|
-
"
|
|
143
|
-
"items": "@config.items",
|
|
144
|
-
"onReorder": "REORDER",
|
|
145
|
-
"readOnly": "@config.readOnly",
|
|
142
|
+
"addLabel": "@config.addLabel",
|
|
146
143
|
"trackAddedInState": "@config.trackAddedInState",
|
|
147
|
-
"
|
|
144
|
+
"readOnly": "@config.readOnly",
|
|
145
|
+
"currentState": "@config.currentState",
|
|
148
146
|
"allowReorder": "@config.allowReorder",
|
|
149
|
-
"
|
|
147
|
+
"onReorder": "REORDER",
|
|
148
|
+
"minItems": "@config.minItems",
|
|
149
|
+
"emptyMessage": "@config.emptyMessage",
|
|
150
|
+
"type": "repeatable-form-section",
|
|
151
|
+
"onAdd": "ADD",
|
|
150
152
|
"onRemove": "REMOVE",
|
|
153
|
+
"title": "@config.title",
|
|
154
|
+
"className": "@config.className",
|
|
155
|
+
"items": "@config.items",
|
|
151
156
|
"sectionType": "@config.sectionType",
|
|
152
157
|
"renderItem": [
|
|
153
158
|
"fn",
|
|
154
|
-
|
|
155
|
-
"item",
|
|
156
|
-
"index"
|
|
157
|
-
],
|
|
159
|
+
"item",
|
|
158
160
|
{
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
+
"content": "@item.id",
|
|
162
|
+
"type": "text"
|
|
161
163
|
}
|
|
162
164
|
],
|
|
163
|
-
"minItems": "@config.minItems",
|
|
164
|
-
"emptyMessage": "@config.emptyMessage",
|
|
165
|
-
"currentState": "@config.currentState",
|
|
166
|
-
"showAuditInfo": "@config.showAuditInfo",
|
|
167
165
|
"maxItems": "@config.maxItems",
|
|
168
|
-
"
|
|
169
|
-
"addLabel": "@config.addLabel"
|
|
166
|
+
"showAuditInfo": "@config.showAuditInfo"
|
|
170
167
|
}
|
|
171
168
|
]
|
|
172
169
|
]
|
|
@@ -174,11 +171,25 @@
|
|
|
174
171
|
]
|
|
175
172
|
},
|
|
176
173
|
"config": {
|
|
177
|
-
"
|
|
178
|
-
"type": "
|
|
179
|
-
"default":
|
|
180
|
-
"label": "
|
|
181
|
-
"description": "
|
|
174
|
+
"readOnly": {
|
|
175
|
+
"type": "boolean",
|
|
176
|
+
"default": false,
|
|
177
|
+
"label": "Read Only",
|
|
178
|
+
"description": "Read-only mode",
|
|
179
|
+
"tier": "presentation"
|
|
180
|
+
},
|
|
181
|
+
"allowReorder": {
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"default": false,
|
|
184
|
+
"label": "Allow Reorder",
|
|
185
|
+
"description": "Allow reordering",
|
|
186
|
+
"tier": "presentation"
|
|
187
|
+
},
|
|
188
|
+
"emptyMessage": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"default": "",
|
|
191
|
+
"label": "Empty Message",
|
|
192
|
+
"description": "Empty state message",
|
|
182
193
|
"tier": "presentation"
|
|
183
194
|
},
|
|
184
195
|
"currentState": {
|
|
@@ -188,6 +199,13 @@
|
|
|
188
199
|
"description": "Current inspection state (used when trackAddedInState is true)",
|
|
189
200
|
"tier": "presentation"
|
|
190
201
|
},
|
|
202
|
+
"showAuditInfo": {
|
|
203
|
+
"type": "boolean",
|
|
204
|
+
"default": false,
|
|
205
|
+
"label": "Show Audit Info",
|
|
206
|
+
"description": "Show audit metadata (addedInState, addedAt)",
|
|
207
|
+
"tier": "presentation"
|
|
208
|
+
},
|
|
191
209
|
"items": {
|
|
192
210
|
"type": "[RepeatableFormSectionItemsItem]",
|
|
193
211
|
"default": [
|
|
@@ -201,16 +219,16 @@
|
|
|
201
219
|
"items": {
|
|
202
220
|
"type": "object",
|
|
203
221
|
"properties": {
|
|
204
|
-
"id": {
|
|
205
|
-
"name": "id",
|
|
206
|
-
"type": "string",
|
|
207
|
-
"required": true
|
|
208
|
-
},
|
|
209
222
|
"addedInState": {
|
|
210
223
|
"name": "addedInState",
|
|
211
224
|
"type": "string",
|
|
212
225
|
"required": false
|
|
213
226
|
},
|
|
227
|
+
"id": {
|
|
228
|
+
"name": "id",
|
|
229
|
+
"type": "string",
|
|
230
|
+
"required": true
|
|
231
|
+
},
|
|
214
232
|
"addedAt": {
|
|
215
233
|
"name": "addedAt",
|
|
216
234
|
"type": "string",
|
|
@@ -226,6 +244,13 @@
|
|
|
226
244
|
"description": "Section type identifier",
|
|
227
245
|
"tier": "presentation"
|
|
228
246
|
},
|
|
247
|
+
"className": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": "",
|
|
250
|
+
"label": "Class Name",
|
|
251
|
+
"description": "Additional CSS classes",
|
|
252
|
+
"tier": "presentation"
|
|
253
|
+
},
|
|
229
254
|
"title": {
|
|
230
255
|
"type": "string",
|
|
231
256
|
"default": "Title",
|
|
@@ -233,25 +258,11 @@
|
|
|
233
258
|
"description": "Section title",
|
|
234
259
|
"tier": "presentation"
|
|
235
260
|
},
|
|
236
|
-
"
|
|
237
|
-
"type": "string",
|
|
238
|
-
"default": "",
|
|
239
|
-
"label": "Empty Message",
|
|
240
|
-
"description": "Empty state message",
|
|
241
|
-
"tier": "presentation"
|
|
242
|
-
},
|
|
243
|
-
"allowReorder": {
|
|
244
|
-
"type": "boolean",
|
|
245
|
-
"default": false,
|
|
246
|
-
"label": "Allow Reorder",
|
|
247
|
-
"description": "Allow reordering",
|
|
248
|
-
"tier": "presentation"
|
|
249
|
-
},
|
|
250
|
-
"readOnly": {
|
|
261
|
+
"trackAddedInState": {
|
|
251
262
|
"type": "boolean",
|
|
252
263
|
"default": false,
|
|
253
|
-
"label": "
|
|
254
|
-
"description": "
|
|
264
|
+
"label": "Track Added In State",
|
|
265
|
+
"description": "Inspection-specific enhancements",
|
|
255
266
|
"tier": "presentation"
|
|
256
267
|
},
|
|
257
268
|
"maxItems": {
|
|
@@ -261,33 +272,19 @@
|
|
|
261
272
|
"description": "Maximum items allowed",
|
|
262
273
|
"tier": "presentation"
|
|
263
274
|
},
|
|
275
|
+
"minItems": {
|
|
276
|
+
"type": "number",
|
|
277
|
+
"default": 0.0,
|
|
278
|
+
"label": "Min Items",
|
|
279
|
+
"description": "Minimum items required",
|
|
280
|
+
"tier": "presentation"
|
|
281
|
+
},
|
|
264
282
|
"addLabel": {
|
|
265
283
|
"type": "string",
|
|
266
284
|
"default": "",
|
|
267
285
|
"label": "Add Label",
|
|
268
286
|
"description": "Add button label",
|
|
269
287
|
"tier": "presentation"
|
|
270
|
-
},
|
|
271
|
-
"trackAddedInState": {
|
|
272
|
-
"type": "boolean",
|
|
273
|
-
"default": false,
|
|
274
|
-
"label": "Track Added In State",
|
|
275
|
-
"description": "Inspection-specific enhancements",
|
|
276
|
-
"tier": "presentation"
|
|
277
|
-
},
|
|
278
|
-
"className": {
|
|
279
|
-
"type": "string",
|
|
280
|
-
"default": "",
|
|
281
|
-
"label": "Class Name",
|
|
282
|
-
"description": "Additional CSS classes",
|
|
283
|
-
"tier": "presentation"
|
|
284
|
-
},
|
|
285
|
-
"showAuditInfo": {
|
|
286
|
-
"type": "boolean",
|
|
287
|
-
"default": false,
|
|
288
|
-
"label": "Show Audit Info",
|
|
289
|
-
"description": "Show audit metadata (addedInState, addedAt)",
|
|
290
|
-
"tier": "presentation"
|
|
291
288
|
}
|
|
292
289
|
},
|
|
293
290
|
"scope": "instance"
|
|
@@ -80,23 +80,20 @@
|
|
|
80
80
|
"render-ui",
|
|
81
81
|
"main",
|
|
82
82
|
{
|
|
83
|
-
"
|
|
84
|
-
"dragHandlePosition": "@config.dragHandlePosition",
|
|
83
|
+
"reorderEvent": "REORDER",
|
|
85
84
|
"type": "sortable-list",
|
|
85
|
+
"className": "@config.className",
|
|
86
|
+
"dragHandlePosition": "@config.dragHandlePosition",
|
|
87
|
+
"items": "@entity",
|
|
88
|
+
"reorderPayload": "@config.reorderPayload",
|
|
86
89
|
"renderItem": [
|
|
87
90
|
"fn",
|
|
88
|
-
|
|
89
|
-
"item",
|
|
90
|
-
"index"
|
|
91
|
-
],
|
|
91
|
+
"item",
|
|
92
92
|
{
|
|
93
|
-
"
|
|
94
|
-
"
|
|
93
|
+
"type": "text",
|
|
94
|
+
"content": "@item.id"
|
|
95
95
|
}
|
|
96
|
-
]
|
|
97
|
-
"reorderEvent": "REORDER",
|
|
98
|
-
"className": "@config.className",
|
|
99
|
-
"items": "@entity"
|
|
96
|
+
]
|
|
100
97
|
}
|
|
101
98
|
]
|
|
102
99
|
]
|
|
@@ -104,6 +101,12 @@
|
|
|
104
101
|
]
|
|
105
102
|
},
|
|
106
103
|
"config": {
|
|
104
|
+
"reorderPayload": {
|
|
105
|
+
"type": "json",
|
|
106
|
+
"label": "Reorder Payload",
|
|
107
|
+
"description": "reorderPayload prop",
|
|
108
|
+
"tier": "presentation"
|
|
109
|
+
},
|
|
107
110
|
"dragHandlePosition": {
|
|
108
111
|
"type": "string",
|
|
109
112
|
"default": "left",
|
|
@@ -121,12 +124,6 @@
|
|
|
121
124
|
"label": "Class Name",
|
|
122
125
|
"description": "className prop",
|
|
123
126
|
"tier": "presentation"
|
|
124
|
-
},
|
|
125
|
-
"reorderPayload": {
|
|
126
|
-
"type": "json",
|
|
127
|
-
"label": "Reorder Payload",
|
|
128
|
-
"description": "reorderPayload prop",
|
|
129
|
-
"tier": "presentation"
|
|
130
127
|
}
|
|
131
128
|
},
|
|
132
129
|
"scope": "instance"
|
|
@@ -139,34 +139,31 @@
|
|
|
139
139
|
"render-ui",
|
|
140
140
|
"main",
|
|
141
141
|
{
|
|
142
|
-
"
|
|
143
|
-
"items": "@config.items",
|
|
144
|
-
"onReorder": "REORDER",
|
|
145
|
-
"readOnly": "@config.readOnly",
|
|
142
|
+
"addLabel": "@config.addLabel",
|
|
146
143
|
"trackAddedInState": "@config.trackAddedInState",
|
|
147
|
-
"
|
|
144
|
+
"readOnly": "@config.readOnly",
|
|
145
|
+
"currentState": "@config.currentState",
|
|
148
146
|
"allowReorder": "@config.allowReorder",
|
|
149
|
-
"
|
|
147
|
+
"onReorder": "REORDER",
|
|
148
|
+
"minItems": "@config.minItems",
|
|
149
|
+
"emptyMessage": "@config.emptyMessage",
|
|
150
|
+
"type": "repeatable-form-section",
|
|
151
|
+
"onAdd": "ADD",
|
|
150
152
|
"onRemove": "REMOVE",
|
|
153
|
+
"title": "@config.title",
|
|
154
|
+
"className": "@config.className",
|
|
155
|
+
"items": "@config.items",
|
|
151
156
|
"sectionType": "@config.sectionType",
|
|
152
157
|
"renderItem": [
|
|
153
158
|
"fn",
|
|
154
|
-
|
|
155
|
-
"item",
|
|
156
|
-
"index"
|
|
157
|
-
],
|
|
159
|
+
"item",
|
|
158
160
|
{
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
+
"content": "@item.id",
|
|
162
|
+
"type": "text"
|
|
161
163
|
}
|
|
162
164
|
],
|
|
163
|
-
"minItems": "@config.minItems",
|
|
164
|
-
"emptyMessage": "@config.emptyMessage",
|
|
165
|
-
"currentState": "@config.currentState",
|
|
166
|
-
"showAuditInfo": "@config.showAuditInfo",
|
|
167
165
|
"maxItems": "@config.maxItems",
|
|
168
|
-
"
|
|
169
|
-
"addLabel": "@config.addLabel"
|
|
166
|
+
"showAuditInfo": "@config.showAuditInfo"
|
|
170
167
|
}
|
|
171
168
|
]
|
|
172
169
|
]
|
|
@@ -174,11 +171,25 @@
|
|
|
174
171
|
]
|
|
175
172
|
},
|
|
176
173
|
"config": {
|
|
177
|
-
"
|
|
178
|
-
"type": "
|
|
179
|
-
"default":
|
|
180
|
-
"label": "
|
|
181
|
-
"description": "
|
|
174
|
+
"readOnly": {
|
|
175
|
+
"type": "boolean",
|
|
176
|
+
"default": false,
|
|
177
|
+
"label": "Read Only",
|
|
178
|
+
"description": "Read-only mode",
|
|
179
|
+
"tier": "presentation"
|
|
180
|
+
},
|
|
181
|
+
"allowReorder": {
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"default": false,
|
|
184
|
+
"label": "Allow Reorder",
|
|
185
|
+
"description": "Allow reordering",
|
|
186
|
+
"tier": "presentation"
|
|
187
|
+
},
|
|
188
|
+
"emptyMessage": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"default": "",
|
|
191
|
+
"label": "Empty Message",
|
|
192
|
+
"description": "Empty state message",
|
|
182
193
|
"tier": "presentation"
|
|
183
194
|
},
|
|
184
195
|
"currentState": {
|
|
@@ -188,6 +199,13 @@
|
|
|
188
199
|
"description": "Current inspection state (used when trackAddedInState is true)",
|
|
189
200
|
"tier": "presentation"
|
|
190
201
|
},
|
|
202
|
+
"showAuditInfo": {
|
|
203
|
+
"type": "boolean",
|
|
204
|
+
"default": false,
|
|
205
|
+
"label": "Show Audit Info",
|
|
206
|
+
"description": "Show audit metadata (addedInState, addedAt)",
|
|
207
|
+
"tier": "presentation"
|
|
208
|
+
},
|
|
191
209
|
"items": {
|
|
192
210
|
"type": "[RepeatableFormSectionItemsItem]",
|
|
193
211
|
"default": [
|
|
@@ -201,16 +219,16 @@
|
|
|
201
219
|
"items": {
|
|
202
220
|
"type": "object",
|
|
203
221
|
"properties": {
|
|
204
|
-
"id": {
|
|
205
|
-
"name": "id",
|
|
206
|
-
"type": "string",
|
|
207
|
-
"required": true
|
|
208
|
-
},
|
|
209
222
|
"addedInState": {
|
|
210
223
|
"name": "addedInState",
|
|
211
224
|
"type": "string",
|
|
212
225
|
"required": false
|
|
213
226
|
},
|
|
227
|
+
"id": {
|
|
228
|
+
"name": "id",
|
|
229
|
+
"type": "string",
|
|
230
|
+
"required": true
|
|
231
|
+
},
|
|
214
232
|
"addedAt": {
|
|
215
233
|
"name": "addedAt",
|
|
216
234
|
"type": "string",
|
|
@@ -226,6 +244,13 @@
|
|
|
226
244
|
"description": "Section type identifier",
|
|
227
245
|
"tier": "presentation"
|
|
228
246
|
},
|
|
247
|
+
"className": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": "",
|
|
250
|
+
"label": "Class Name",
|
|
251
|
+
"description": "Additional CSS classes",
|
|
252
|
+
"tier": "presentation"
|
|
253
|
+
},
|
|
229
254
|
"title": {
|
|
230
255
|
"type": "string",
|
|
231
256
|
"default": "Title",
|
|
@@ -233,25 +258,11 @@
|
|
|
233
258
|
"description": "Section title",
|
|
234
259
|
"tier": "presentation"
|
|
235
260
|
},
|
|
236
|
-
"
|
|
237
|
-
"type": "string",
|
|
238
|
-
"default": "",
|
|
239
|
-
"label": "Empty Message",
|
|
240
|
-
"description": "Empty state message",
|
|
241
|
-
"tier": "presentation"
|
|
242
|
-
},
|
|
243
|
-
"allowReorder": {
|
|
244
|
-
"type": "boolean",
|
|
245
|
-
"default": false,
|
|
246
|
-
"label": "Allow Reorder",
|
|
247
|
-
"description": "Allow reordering",
|
|
248
|
-
"tier": "presentation"
|
|
249
|
-
},
|
|
250
|
-
"readOnly": {
|
|
261
|
+
"trackAddedInState": {
|
|
251
262
|
"type": "boolean",
|
|
252
263
|
"default": false,
|
|
253
|
-
"label": "
|
|
254
|
-
"description": "
|
|
264
|
+
"label": "Track Added In State",
|
|
265
|
+
"description": "Inspection-specific enhancements",
|
|
255
266
|
"tier": "presentation"
|
|
256
267
|
},
|
|
257
268
|
"maxItems": {
|
|
@@ -261,33 +272,19 @@
|
|
|
261
272
|
"description": "Maximum items allowed",
|
|
262
273
|
"tier": "presentation"
|
|
263
274
|
},
|
|
275
|
+
"minItems": {
|
|
276
|
+
"type": "number",
|
|
277
|
+
"default": 0.0,
|
|
278
|
+
"label": "Min Items",
|
|
279
|
+
"description": "Minimum items required",
|
|
280
|
+
"tier": "presentation"
|
|
281
|
+
},
|
|
264
282
|
"addLabel": {
|
|
265
283
|
"type": "string",
|
|
266
284
|
"default": "",
|
|
267
285
|
"label": "Add Label",
|
|
268
286
|
"description": "Add button label",
|
|
269
287
|
"tier": "presentation"
|
|
270
|
-
},
|
|
271
|
-
"trackAddedInState": {
|
|
272
|
-
"type": "boolean",
|
|
273
|
-
"default": false,
|
|
274
|
-
"label": "Track Added In State",
|
|
275
|
-
"description": "Inspection-specific enhancements",
|
|
276
|
-
"tier": "presentation"
|
|
277
|
-
},
|
|
278
|
-
"className": {
|
|
279
|
-
"type": "string",
|
|
280
|
-
"default": "",
|
|
281
|
-
"label": "Class Name",
|
|
282
|
-
"description": "Additional CSS classes",
|
|
283
|
-
"tier": "presentation"
|
|
284
|
-
},
|
|
285
|
-
"showAuditInfo": {
|
|
286
|
-
"type": "boolean",
|
|
287
|
-
"default": false,
|
|
288
|
-
"label": "Show Audit Info",
|
|
289
|
-
"description": "Show audit metadata (addedInState, addedAt)",
|
|
290
|
-
"tier": "presentation"
|
|
291
288
|
}
|
|
292
289
|
},
|
|
293
290
|
"scope": "instance"
|
|
@@ -80,23 +80,20 @@
|
|
|
80
80
|
"render-ui",
|
|
81
81
|
"main",
|
|
82
82
|
{
|
|
83
|
-
"
|
|
84
|
-
"dragHandlePosition": "@config.dragHandlePosition",
|
|
83
|
+
"reorderEvent": "REORDER",
|
|
85
84
|
"type": "sortable-list",
|
|
85
|
+
"className": "@config.className",
|
|
86
|
+
"dragHandlePosition": "@config.dragHandlePosition",
|
|
87
|
+
"items": "@entity",
|
|
88
|
+
"reorderPayload": "@config.reorderPayload",
|
|
86
89
|
"renderItem": [
|
|
87
90
|
"fn",
|
|
88
|
-
|
|
89
|
-
"item",
|
|
90
|
-
"index"
|
|
91
|
-
],
|
|
91
|
+
"item",
|
|
92
92
|
{
|
|
93
|
-
"
|
|
94
|
-
"
|
|
93
|
+
"type": "text",
|
|
94
|
+
"content": "@item.id"
|
|
95
95
|
}
|
|
96
|
-
]
|
|
97
|
-
"reorderEvent": "REORDER",
|
|
98
|
-
"className": "@config.className",
|
|
99
|
-
"items": "@entity"
|
|
96
|
+
]
|
|
100
97
|
}
|
|
101
98
|
]
|
|
102
99
|
]
|
|
@@ -104,6 +101,12 @@
|
|
|
104
101
|
]
|
|
105
102
|
},
|
|
106
103
|
"config": {
|
|
104
|
+
"reorderPayload": {
|
|
105
|
+
"type": "json",
|
|
106
|
+
"label": "Reorder Payload",
|
|
107
|
+
"description": "reorderPayload prop",
|
|
108
|
+
"tier": "presentation"
|
|
109
|
+
},
|
|
107
110
|
"dragHandlePosition": {
|
|
108
111
|
"type": "string",
|
|
109
112
|
"default": "left",
|
|
@@ -121,12 +124,6 @@
|
|
|
121
124
|
"label": "Class Name",
|
|
122
125
|
"description": "className prop",
|
|
123
126
|
"tier": "presentation"
|
|
124
|
-
},
|
|
125
|
-
"reorderPayload": {
|
|
126
|
-
"type": "json",
|
|
127
|
-
"label": "Reorder Payload",
|
|
128
|
-
"description": "reorderPayload prop",
|
|
129
|
-
"tier": "presentation"
|
|
130
127
|
}
|
|
131
128
|
},
|
|
132
129
|
"scope": "instance"
|