@almadar/ui 4.4.1 → 4.5.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/dist/avl/index.cjs +12 -6
- package/dist/avl/index.js +12 -6
- package/dist/components/index.cjs +12 -6
- package/dist/components/index.js +12 -6
- package/dist/components/organisms/ComponentPatterns.d.ts +13 -3
- package/dist/providers/index.cjs +12 -6
- package/dist/providers/index.js +12 -6
- package/dist/runtime/index.cjs +12 -6
- package/dist/runtime/index.js +12 -6
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -11266,7 +11266,8 @@ function InputPattern({
|
|
|
11266
11266
|
fieldError,
|
|
11267
11267
|
onChange,
|
|
11268
11268
|
onBlur,
|
|
11269
|
-
className
|
|
11269
|
+
className,
|
|
11270
|
+
fieldName
|
|
11270
11271
|
}) {
|
|
11271
11272
|
const { emit } = useEventBus();
|
|
11272
11273
|
const [localValue, setLocalValue] = React126__namespace.default.useState(value);
|
|
@@ -11291,7 +11292,8 @@ function InputPattern({
|
|
|
11291
11292
|
error: fieldError,
|
|
11292
11293
|
onChange: handleChange,
|
|
11293
11294
|
onBlur: handleBlur,
|
|
11294
|
-
className
|
|
11295
|
+
className,
|
|
11296
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
11295
11297
|
}
|
|
11296
11298
|
);
|
|
11297
11299
|
}
|
|
@@ -11302,7 +11304,8 @@ function TextareaPattern({
|
|
|
11302
11304
|
disabled = false,
|
|
11303
11305
|
fieldError,
|
|
11304
11306
|
onChange,
|
|
11305
|
-
className
|
|
11307
|
+
className,
|
|
11308
|
+
fieldName
|
|
11306
11309
|
}) {
|
|
11307
11310
|
const { emit } = useEventBus();
|
|
11308
11311
|
const [localValue, setLocalValue] = React126__namespace.default.useState(value);
|
|
@@ -11321,7 +11324,8 @@ function TextareaPattern({
|
|
|
11321
11324
|
disabled,
|
|
11322
11325
|
error: fieldError,
|
|
11323
11326
|
onChange: handleChange,
|
|
11324
|
-
className
|
|
11327
|
+
className,
|
|
11328
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
11325
11329
|
}
|
|
11326
11330
|
);
|
|
11327
11331
|
}
|
|
@@ -11332,7 +11336,8 @@ function SelectPattern({
|
|
|
11332
11336
|
disabled = false,
|
|
11333
11337
|
fieldError,
|
|
11334
11338
|
onChange,
|
|
11335
|
-
className
|
|
11339
|
+
className,
|
|
11340
|
+
fieldName
|
|
11336
11341
|
}) {
|
|
11337
11342
|
const { emit } = useEventBus();
|
|
11338
11343
|
const [localValue, setLocalValue] = React126__namespace.default.useState(value);
|
|
@@ -11351,7 +11356,8 @@ function SelectPattern({
|
|
|
11351
11356
|
disabled,
|
|
11352
11357
|
error: fieldError,
|
|
11353
11358
|
onChange: handleChange,
|
|
11354
|
-
className
|
|
11359
|
+
className,
|
|
11360
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
11355
11361
|
}
|
|
11356
11362
|
);
|
|
11357
11363
|
}
|
package/dist/avl/index.js
CHANGED
|
@@ -11220,7 +11220,8 @@ function InputPattern({
|
|
|
11220
11220
|
fieldError,
|
|
11221
11221
|
onChange,
|
|
11222
11222
|
onBlur,
|
|
11223
|
-
className
|
|
11223
|
+
className,
|
|
11224
|
+
fieldName
|
|
11224
11225
|
}) {
|
|
11225
11226
|
const { emit } = useEventBus();
|
|
11226
11227
|
const [localValue, setLocalValue] = React126__default.useState(value);
|
|
@@ -11245,7 +11246,8 @@ function InputPattern({
|
|
|
11245
11246
|
error: fieldError,
|
|
11246
11247
|
onChange: handleChange,
|
|
11247
11248
|
onBlur: handleBlur,
|
|
11248
|
-
className
|
|
11249
|
+
className,
|
|
11250
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
11249
11251
|
}
|
|
11250
11252
|
);
|
|
11251
11253
|
}
|
|
@@ -11256,7 +11258,8 @@ function TextareaPattern({
|
|
|
11256
11258
|
disabled = false,
|
|
11257
11259
|
fieldError,
|
|
11258
11260
|
onChange,
|
|
11259
|
-
className
|
|
11261
|
+
className,
|
|
11262
|
+
fieldName
|
|
11260
11263
|
}) {
|
|
11261
11264
|
const { emit } = useEventBus();
|
|
11262
11265
|
const [localValue, setLocalValue] = React126__default.useState(value);
|
|
@@ -11275,7 +11278,8 @@ function TextareaPattern({
|
|
|
11275
11278
|
disabled,
|
|
11276
11279
|
error: fieldError,
|
|
11277
11280
|
onChange: handleChange,
|
|
11278
|
-
className
|
|
11281
|
+
className,
|
|
11282
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
11279
11283
|
}
|
|
11280
11284
|
);
|
|
11281
11285
|
}
|
|
@@ -11286,7 +11290,8 @@ function SelectPattern({
|
|
|
11286
11290
|
disabled = false,
|
|
11287
11291
|
fieldError,
|
|
11288
11292
|
onChange,
|
|
11289
|
-
className
|
|
11293
|
+
className,
|
|
11294
|
+
fieldName
|
|
11290
11295
|
}) {
|
|
11291
11296
|
const { emit } = useEventBus();
|
|
11292
11297
|
const [localValue, setLocalValue] = React126__default.useState(value);
|
|
@@ -11305,7 +11310,8 @@ function SelectPattern({
|
|
|
11305
11310
|
disabled,
|
|
11306
11311
|
error: fieldError,
|
|
11307
11312
|
onChange: handleChange,
|
|
11308
|
-
className
|
|
11313
|
+
className,
|
|
11314
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
11309
11315
|
}
|
|
11310
11316
|
);
|
|
11311
11317
|
}
|
|
@@ -6519,7 +6519,8 @@ function InputPattern({
|
|
|
6519
6519
|
fieldError,
|
|
6520
6520
|
onChange,
|
|
6521
6521
|
onBlur,
|
|
6522
|
-
className
|
|
6522
|
+
className,
|
|
6523
|
+
fieldName
|
|
6523
6524
|
}) {
|
|
6524
6525
|
const { emit } = useEventBus();
|
|
6525
6526
|
const [localValue, setLocalValue] = React110__namespace.default.useState(value);
|
|
@@ -6544,7 +6545,8 @@ function InputPattern({
|
|
|
6544
6545
|
error: fieldError,
|
|
6545
6546
|
onChange: handleChange,
|
|
6546
6547
|
onBlur: handleBlur,
|
|
6547
|
-
className
|
|
6548
|
+
className,
|
|
6549
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
6548
6550
|
}
|
|
6549
6551
|
);
|
|
6550
6552
|
}
|
|
@@ -6555,7 +6557,8 @@ function TextareaPattern({
|
|
|
6555
6557
|
disabled = false,
|
|
6556
6558
|
fieldError,
|
|
6557
6559
|
onChange,
|
|
6558
|
-
className
|
|
6560
|
+
className,
|
|
6561
|
+
fieldName
|
|
6559
6562
|
}) {
|
|
6560
6563
|
const { emit } = useEventBus();
|
|
6561
6564
|
const [localValue, setLocalValue] = React110__namespace.default.useState(value);
|
|
@@ -6574,7 +6577,8 @@ function TextareaPattern({
|
|
|
6574
6577
|
disabled,
|
|
6575
6578
|
error: fieldError,
|
|
6576
6579
|
onChange: handleChange,
|
|
6577
|
-
className
|
|
6580
|
+
className,
|
|
6581
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
6578
6582
|
}
|
|
6579
6583
|
);
|
|
6580
6584
|
}
|
|
@@ -6585,7 +6589,8 @@ function SelectPattern({
|
|
|
6585
6589
|
disabled = false,
|
|
6586
6590
|
fieldError,
|
|
6587
6591
|
onChange,
|
|
6588
|
-
className
|
|
6592
|
+
className,
|
|
6593
|
+
fieldName
|
|
6589
6594
|
}) {
|
|
6590
6595
|
const { emit } = useEventBus();
|
|
6591
6596
|
const [localValue, setLocalValue] = React110__namespace.default.useState(value);
|
|
@@ -6604,7 +6609,8 @@ function SelectPattern({
|
|
|
6604
6609
|
disabled,
|
|
6605
6610
|
error: fieldError,
|
|
6606
6611
|
onChange: handleChange,
|
|
6607
|
-
className
|
|
6612
|
+
className,
|
|
6613
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
6608
6614
|
}
|
|
6609
6615
|
);
|
|
6610
6616
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -6474,7 +6474,8 @@ function InputPattern({
|
|
|
6474
6474
|
fieldError,
|
|
6475
6475
|
onChange,
|
|
6476
6476
|
onBlur,
|
|
6477
|
-
className
|
|
6477
|
+
className,
|
|
6478
|
+
fieldName
|
|
6478
6479
|
}) {
|
|
6479
6480
|
const { emit } = useEventBus();
|
|
6480
6481
|
const [localValue, setLocalValue] = React110__default.useState(value);
|
|
@@ -6499,7 +6500,8 @@ function InputPattern({
|
|
|
6499
6500
|
error: fieldError,
|
|
6500
6501
|
onChange: handleChange,
|
|
6501
6502
|
onBlur: handleBlur,
|
|
6502
|
-
className
|
|
6503
|
+
className,
|
|
6504
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
6503
6505
|
}
|
|
6504
6506
|
);
|
|
6505
6507
|
}
|
|
@@ -6510,7 +6512,8 @@ function TextareaPattern({
|
|
|
6510
6512
|
disabled = false,
|
|
6511
6513
|
fieldError,
|
|
6512
6514
|
onChange,
|
|
6513
|
-
className
|
|
6515
|
+
className,
|
|
6516
|
+
fieldName
|
|
6514
6517
|
}) {
|
|
6515
6518
|
const { emit } = useEventBus();
|
|
6516
6519
|
const [localValue, setLocalValue] = React110__default.useState(value);
|
|
@@ -6529,7 +6532,8 @@ function TextareaPattern({
|
|
|
6529
6532
|
disabled,
|
|
6530
6533
|
error: fieldError,
|
|
6531
6534
|
onChange: handleChange,
|
|
6532
|
-
className
|
|
6535
|
+
className,
|
|
6536
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
6533
6537
|
}
|
|
6534
6538
|
);
|
|
6535
6539
|
}
|
|
@@ -6540,7 +6544,8 @@ function SelectPattern({
|
|
|
6540
6544
|
disabled = false,
|
|
6541
6545
|
fieldError,
|
|
6542
6546
|
onChange,
|
|
6543
|
-
className
|
|
6547
|
+
className,
|
|
6548
|
+
fieldName
|
|
6544
6549
|
}) {
|
|
6545
6550
|
const { emit } = useEventBus();
|
|
6546
6551
|
const [localValue, setLocalValue] = React110__default.useState(value);
|
|
@@ -6559,7 +6564,8 @@ function SelectPattern({
|
|
|
6559
6564
|
disabled,
|
|
6560
6565
|
error: fieldError,
|
|
6561
6566
|
onChange: handleChange,
|
|
6562
|
-
className
|
|
6567
|
+
className,
|
|
6568
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
6563
6569
|
}
|
|
6564
6570
|
);
|
|
6565
6571
|
}
|
|
@@ -237,11 +237,17 @@ export interface InputPatternProps extends ClosedCircuitProps {
|
|
|
237
237
|
onChange?: string;
|
|
238
238
|
onBlur?: string;
|
|
239
239
|
className?: string;
|
|
240
|
+
/** Form field name. When the input is rendered inside a form-section's
|
|
241
|
+
* `fields:` array, the runtime injects this from the field config so
|
|
242
|
+
* the rendered DOM input carries `data-field-name="<name>"` and
|
|
243
|
+
* `name="<name>"` — verifier-side automation (e.g. orbital-verify's
|
|
244
|
+
* `fillFormFieldsFromMap`) selects fields by these attributes. */
|
|
245
|
+
fieldName?: string;
|
|
240
246
|
}
|
|
241
247
|
/**
|
|
242
248
|
* Input pattern.
|
|
243
249
|
*/
|
|
244
|
-
export declare function InputPattern({ value, placeholder, inputType, disabled, fieldError, onChange, onBlur, className, }: InputPatternProps): React.ReactElement;
|
|
250
|
+
export declare function InputPattern({ value, placeholder, inputType, disabled, fieldError, onChange, onBlur, className, fieldName, }: InputPatternProps): React.ReactElement;
|
|
245
251
|
export declare namespace InputPattern {
|
|
246
252
|
var displayName: string;
|
|
247
253
|
}
|
|
@@ -254,11 +260,13 @@ export interface TextareaPatternProps extends ClosedCircuitProps {
|
|
|
254
260
|
fieldError?: string;
|
|
255
261
|
onChange?: string;
|
|
256
262
|
className?: string;
|
|
263
|
+
/** Form field name — see `InputPatternProps.fieldName`. */
|
|
264
|
+
fieldName?: string;
|
|
257
265
|
}
|
|
258
266
|
/**
|
|
259
267
|
* Textarea pattern.
|
|
260
268
|
*/
|
|
261
|
-
export declare function TextareaPattern({ value, placeholder, rows, disabled, fieldError, onChange, className, }: TextareaPatternProps): React.ReactElement;
|
|
269
|
+
export declare function TextareaPattern({ value, placeholder, rows, disabled, fieldError, onChange, className, fieldName, }: TextareaPatternProps): React.ReactElement;
|
|
262
270
|
export declare namespace TextareaPattern {
|
|
263
271
|
var displayName: string;
|
|
264
272
|
}
|
|
@@ -274,11 +282,13 @@ export interface SelectPatternProps extends ClosedCircuitProps {
|
|
|
274
282
|
fieldError?: string;
|
|
275
283
|
onChange?: string;
|
|
276
284
|
className?: string;
|
|
285
|
+
/** Form field name — see `InputPatternProps.fieldName`. */
|
|
286
|
+
fieldName?: string;
|
|
277
287
|
}
|
|
278
288
|
/**
|
|
279
289
|
* Select pattern.
|
|
280
290
|
*/
|
|
281
|
-
export declare function SelectPattern({ value, options, placeholder, disabled, fieldError, onChange, className, }: SelectPatternProps): React.ReactElement;
|
|
291
|
+
export declare function SelectPattern({ value, options, placeholder, disabled, fieldError, onChange, className, fieldName, }: SelectPatternProps): React.ReactElement;
|
|
282
292
|
export declare namespace SelectPattern {
|
|
283
293
|
var displayName: string;
|
|
284
294
|
}
|
package/dist/providers/index.cjs
CHANGED
|
@@ -8150,7 +8150,8 @@ function InputPattern({
|
|
|
8150
8150
|
fieldError,
|
|
8151
8151
|
onChange,
|
|
8152
8152
|
onBlur,
|
|
8153
|
-
className
|
|
8153
|
+
className,
|
|
8154
|
+
fieldName
|
|
8154
8155
|
}) {
|
|
8155
8156
|
const { emit } = useEventBus();
|
|
8156
8157
|
const [localValue, setLocalValue] = React115__namespace.default.useState(value);
|
|
@@ -8175,7 +8176,8 @@ function InputPattern({
|
|
|
8175
8176
|
error: fieldError,
|
|
8176
8177
|
onChange: handleChange,
|
|
8177
8178
|
onBlur: handleBlur,
|
|
8178
|
-
className
|
|
8179
|
+
className,
|
|
8180
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8179
8181
|
}
|
|
8180
8182
|
);
|
|
8181
8183
|
}
|
|
@@ -8186,7 +8188,8 @@ function TextareaPattern({
|
|
|
8186
8188
|
disabled = false,
|
|
8187
8189
|
fieldError,
|
|
8188
8190
|
onChange,
|
|
8189
|
-
className
|
|
8191
|
+
className,
|
|
8192
|
+
fieldName
|
|
8190
8193
|
}) {
|
|
8191
8194
|
const { emit } = useEventBus();
|
|
8192
8195
|
const [localValue, setLocalValue] = React115__namespace.default.useState(value);
|
|
@@ -8205,7 +8208,8 @@ function TextareaPattern({
|
|
|
8205
8208
|
disabled,
|
|
8206
8209
|
error: fieldError,
|
|
8207
8210
|
onChange: handleChange,
|
|
8208
|
-
className
|
|
8211
|
+
className,
|
|
8212
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8209
8213
|
}
|
|
8210
8214
|
);
|
|
8211
8215
|
}
|
|
@@ -8216,7 +8220,8 @@ function SelectPattern({
|
|
|
8216
8220
|
disabled = false,
|
|
8217
8221
|
fieldError,
|
|
8218
8222
|
onChange,
|
|
8219
|
-
className
|
|
8223
|
+
className,
|
|
8224
|
+
fieldName
|
|
8220
8225
|
}) {
|
|
8221
8226
|
const { emit } = useEventBus();
|
|
8222
8227
|
const [localValue, setLocalValue] = React115__namespace.default.useState(value);
|
|
@@ -8235,7 +8240,8 @@ function SelectPattern({
|
|
|
8235
8240
|
disabled,
|
|
8236
8241
|
error: fieldError,
|
|
8237
8242
|
onChange: handleChange,
|
|
8238
|
-
className
|
|
8243
|
+
className,
|
|
8244
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8239
8245
|
}
|
|
8240
8246
|
);
|
|
8241
8247
|
}
|
package/dist/providers/index.js
CHANGED
|
@@ -8105,7 +8105,8 @@ function InputPattern({
|
|
|
8105
8105
|
fieldError,
|
|
8106
8106
|
onChange,
|
|
8107
8107
|
onBlur,
|
|
8108
|
-
className
|
|
8108
|
+
className,
|
|
8109
|
+
fieldName
|
|
8109
8110
|
}) {
|
|
8110
8111
|
const { emit } = useEventBus();
|
|
8111
8112
|
const [localValue, setLocalValue] = React115__default.useState(value);
|
|
@@ -8130,7 +8131,8 @@ function InputPattern({
|
|
|
8130
8131
|
error: fieldError,
|
|
8131
8132
|
onChange: handleChange,
|
|
8132
8133
|
onBlur: handleBlur,
|
|
8133
|
-
className
|
|
8134
|
+
className,
|
|
8135
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8134
8136
|
}
|
|
8135
8137
|
);
|
|
8136
8138
|
}
|
|
@@ -8141,7 +8143,8 @@ function TextareaPattern({
|
|
|
8141
8143
|
disabled = false,
|
|
8142
8144
|
fieldError,
|
|
8143
8145
|
onChange,
|
|
8144
|
-
className
|
|
8146
|
+
className,
|
|
8147
|
+
fieldName
|
|
8145
8148
|
}) {
|
|
8146
8149
|
const { emit } = useEventBus();
|
|
8147
8150
|
const [localValue, setLocalValue] = React115__default.useState(value);
|
|
@@ -8160,7 +8163,8 @@ function TextareaPattern({
|
|
|
8160
8163
|
disabled,
|
|
8161
8164
|
error: fieldError,
|
|
8162
8165
|
onChange: handleChange,
|
|
8163
|
-
className
|
|
8166
|
+
className,
|
|
8167
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8164
8168
|
}
|
|
8165
8169
|
);
|
|
8166
8170
|
}
|
|
@@ -8171,7 +8175,8 @@ function SelectPattern({
|
|
|
8171
8175
|
disabled = false,
|
|
8172
8176
|
fieldError,
|
|
8173
8177
|
onChange,
|
|
8174
|
-
className
|
|
8178
|
+
className,
|
|
8179
|
+
fieldName
|
|
8175
8180
|
}) {
|
|
8176
8181
|
const { emit } = useEventBus();
|
|
8177
8182
|
const [localValue, setLocalValue] = React115__default.useState(value);
|
|
@@ -8190,7 +8195,8 @@ function SelectPattern({
|
|
|
8190
8195
|
disabled,
|
|
8191
8196
|
error: fieldError,
|
|
8192
8197
|
onChange: handleChange,
|
|
8193
|
-
className
|
|
8198
|
+
className,
|
|
8199
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8194
8200
|
}
|
|
8195
8201
|
);
|
|
8196
8202
|
}
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -8301,7 +8301,8 @@ function InputPattern({
|
|
|
8301
8301
|
fieldError,
|
|
8302
8302
|
onChange,
|
|
8303
8303
|
onBlur,
|
|
8304
|
-
className
|
|
8304
|
+
className,
|
|
8305
|
+
fieldName
|
|
8305
8306
|
}) {
|
|
8306
8307
|
const { emit } = useEventBus();
|
|
8307
8308
|
const [localValue, setLocalValue] = React115__namespace.default.useState(value);
|
|
@@ -8326,7 +8327,8 @@ function InputPattern({
|
|
|
8326
8327
|
error: fieldError,
|
|
8327
8328
|
onChange: handleChange,
|
|
8328
8329
|
onBlur: handleBlur,
|
|
8329
|
-
className
|
|
8330
|
+
className,
|
|
8331
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8330
8332
|
}
|
|
8331
8333
|
);
|
|
8332
8334
|
}
|
|
@@ -8337,7 +8339,8 @@ function TextareaPattern({
|
|
|
8337
8339
|
disabled = false,
|
|
8338
8340
|
fieldError,
|
|
8339
8341
|
onChange,
|
|
8340
|
-
className
|
|
8342
|
+
className,
|
|
8343
|
+
fieldName
|
|
8341
8344
|
}) {
|
|
8342
8345
|
const { emit } = useEventBus();
|
|
8343
8346
|
const [localValue, setLocalValue] = React115__namespace.default.useState(value);
|
|
@@ -8356,7 +8359,8 @@ function TextareaPattern({
|
|
|
8356
8359
|
disabled,
|
|
8357
8360
|
error: fieldError,
|
|
8358
8361
|
onChange: handleChange,
|
|
8359
|
-
className
|
|
8362
|
+
className,
|
|
8363
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8360
8364
|
}
|
|
8361
8365
|
);
|
|
8362
8366
|
}
|
|
@@ -8367,7 +8371,8 @@ function SelectPattern({
|
|
|
8367
8371
|
disabled = false,
|
|
8368
8372
|
fieldError,
|
|
8369
8373
|
onChange,
|
|
8370
|
-
className
|
|
8374
|
+
className,
|
|
8375
|
+
fieldName
|
|
8371
8376
|
}) {
|
|
8372
8377
|
const { emit } = useEventBus();
|
|
8373
8378
|
const [localValue, setLocalValue] = React115__namespace.default.useState(value);
|
|
@@ -8386,7 +8391,8 @@ function SelectPattern({
|
|
|
8386
8391
|
disabled,
|
|
8387
8392
|
error: fieldError,
|
|
8388
8393
|
onChange: handleChange,
|
|
8389
|
-
className
|
|
8394
|
+
className,
|
|
8395
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8390
8396
|
}
|
|
8391
8397
|
);
|
|
8392
8398
|
}
|
package/dist/runtime/index.js
CHANGED
|
@@ -8256,7 +8256,8 @@ function InputPattern({
|
|
|
8256
8256
|
fieldError,
|
|
8257
8257
|
onChange,
|
|
8258
8258
|
onBlur,
|
|
8259
|
-
className
|
|
8259
|
+
className,
|
|
8260
|
+
fieldName
|
|
8260
8261
|
}) {
|
|
8261
8262
|
const { emit } = useEventBus();
|
|
8262
8263
|
const [localValue, setLocalValue] = React115__default.useState(value);
|
|
@@ -8281,7 +8282,8 @@ function InputPattern({
|
|
|
8281
8282
|
error: fieldError,
|
|
8282
8283
|
onChange: handleChange,
|
|
8283
8284
|
onBlur: handleBlur,
|
|
8284
|
-
className
|
|
8285
|
+
className,
|
|
8286
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8285
8287
|
}
|
|
8286
8288
|
);
|
|
8287
8289
|
}
|
|
@@ -8292,7 +8294,8 @@ function TextareaPattern({
|
|
|
8292
8294
|
disabled = false,
|
|
8293
8295
|
fieldError,
|
|
8294
8296
|
onChange,
|
|
8295
|
-
className
|
|
8297
|
+
className,
|
|
8298
|
+
fieldName
|
|
8296
8299
|
}) {
|
|
8297
8300
|
const { emit } = useEventBus();
|
|
8298
8301
|
const [localValue, setLocalValue] = React115__default.useState(value);
|
|
@@ -8311,7 +8314,8 @@ function TextareaPattern({
|
|
|
8311
8314
|
disabled,
|
|
8312
8315
|
error: fieldError,
|
|
8313
8316
|
onChange: handleChange,
|
|
8314
|
-
className
|
|
8317
|
+
className,
|
|
8318
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8315
8319
|
}
|
|
8316
8320
|
);
|
|
8317
8321
|
}
|
|
@@ -8322,7 +8326,8 @@ function SelectPattern({
|
|
|
8322
8326
|
disabled = false,
|
|
8323
8327
|
fieldError,
|
|
8324
8328
|
onChange,
|
|
8325
|
-
className
|
|
8329
|
+
className,
|
|
8330
|
+
fieldName
|
|
8326
8331
|
}) {
|
|
8327
8332
|
const { emit } = useEventBus();
|
|
8328
8333
|
const [localValue, setLocalValue] = React115__default.useState(value);
|
|
@@ -8341,7 +8346,8 @@ function SelectPattern({
|
|
|
8341
8346
|
disabled,
|
|
8342
8347
|
error: fieldError,
|
|
8343
8348
|
onChange: handleChange,
|
|
8344
|
-
className
|
|
8349
|
+
className,
|
|
8350
|
+
...fieldName !== void 0 && { name: fieldName, "data-field-name": fieldName }
|
|
8345
8351
|
}
|
|
8346
8352
|
);
|
|
8347
8353
|
}
|