origam 2.38.1 → 2.38.2
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/CHANGELOG.md +24 -0
- package/dist/src/assets/locales/en.json +1 -1
- package/dist/src/assets/locales/fr.json +2 -2
- package/dist/src/components/Alert/OrigamAlert.vue +739 -165
- package/dist/src/components/App/OrigamApp.vue +95 -19
- package/dist/src/components/App/OrigamAppBar.vue +751 -158
- package/dist/src/components/Audio/OrigamAudio.vue +1288 -346
- package/dist/src/components/Audio/OrigamAudioWaveform.vue +63 -7
- package/dist/src/components/Avatar/OrigamAvatar.vue +678 -126
- package/dist/src/components/Avatar/OrigamAvatarGroup.vue +700 -153
- package/dist/src/components/Badge/OrigamBadge.vue +548 -135
- package/dist/src/components/Blockquote/OrigamBlockquote.vue +698 -140
- package/dist/src/components/BottomNav/OrigamBottomNav.vue +864 -156
- package/dist/src/components/Bracket/OrigamBracket.vue +1013 -380
- package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +674 -154
- package/dist/src/components/Bracket/OrigamBracketMatch.vue +663 -163
- package/dist/src/components/Bracket/OrigamBracketRound.vue +116 -34
- package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +654 -119
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbDivider.vue +292 -54
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbItem.vue +657 -126
- package/dist/src/components/Btn/OrigamBtn.vue +928 -249
- package/dist/src/components/Btn/OrigamBtnGroup.vue +658 -141
- package/dist/src/components/Btn/OrigamBtnToggle.vue +578 -91
- package/dist/src/components/Calendar/OrigamCalendar.vue +1142 -484
- package/dist/src/components/Card/OrigamCard.vue +938 -194
- package/dist/src/components/Card/OrigamCardHeader.vue +593 -104
- package/dist/src/components/Card/OrigamCardText.vue +536 -84
- package/dist/src/components/Carousel/OrigamCarousel.vue +778 -202
- package/dist/src/components/Carousel/OrigamCarouselItem.vue +660 -109
- package/dist/src/components/Chart/OrigamChart.vue +942 -452
- package/dist/src/components/Chart/OrigamChartAxis.vue +111 -19
- package/dist/src/components/Chart/OrigamChartBoxPlot.vue +713 -297
- package/dist/src/components/Chart/OrigamChartBullet.vue +701 -286
- package/dist/src/components/Chart/OrigamChartCandlestick.vue +663 -243
- package/dist/src/components/Chart/OrigamChartCartesian.vue +1055 -487
- package/dist/src/components/Chart/OrigamChartGauge.vue +563 -164
- package/dist/src/components/Chart/OrigamChartHeatmap.vue +677 -251
- package/dist/src/components/Chart/OrigamChartHoneycomb.vue +700 -288
- package/dist/src/components/Chart/OrigamChartLegend.vue +108 -16
- package/dist/src/components/Chart/OrigamChartMap.vue +723 -299
- package/dist/src/components/Chart/OrigamChartPareto.vue +721 -276
- package/dist/src/components/Chart/OrigamChartPictorial.vue +777 -355
- package/dist/src/components/Chart/OrigamChartPolar.vue +603 -210
- package/dist/src/components/Chart/OrigamChartPolarBar.vue +674 -271
- package/dist/src/components/Chart/OrigamChartPyramid.vue +685 -250
- package/dist/src/components/Chart/OrigamChartRadar.vue +515 -165
- package/dist/src/components/Chart/OrigamChartRangeSelector.vue +50 -25
- package/dist/src/components/Chart/OrigamChartSankey.vue +913 -467
- package/dist/src/components/Chart/OrigamChartSparkline.vue +711 -268
- package/dist/src/components/Chart/OrigamChartStreamgraph.vue +810 -368
- package/dist/src/components/Chart/OrigamChartSunburst.vue +779 -368
- package/dist/src/components/Chart/OrigamChartTooltip.vue +78 -19
- package/dist/src/components/Chart/OrigamChartTreemap.vue +750 -288
- package/dist/src/components/Chart/OrigamChartVariwide.vue +679 -251
- package/dist/src/components/Chart/OrigamChartWordCloud.vue +674 -265
- package/dist/src/components/Checkbox/OrigamCheckbox.vue +781 -136
- package/dist/src/components/Checkbox/OrigamCheckboxBtn.vue +465 -81
- package/dist/src/components/Checkbox/OrigamCheckboxGroup.vue +824 -137
- package/dist/src/components/Chip/OrigamChip.vue +867 -202
- package/dist/src/components/Chip/OrigamChipGroup.vue +633 -121
- package/dist/src/components/ClientOnly/OrigamClientOnly.vue +30 -4
- package/dist/src/components/Clipboard/OrigamClipboard.vue +624 -105
- package/dist/src/components/Code/OrigamCode.vue +844 -206
- package/dist/src/components/CodeGroup/OrigamCodeGroup.vue +494 -83
- package/dist/src/components/ColorPicker/OrigamColorPicker.vue +777 -159
- package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +295 -181
- package/dist/src/components/ColorPicker/OrigamColorPickerEdit.vue +108 -45
- package/dist/src/components/ColorPicker/OrigamColorPickerPreview.vue +131 -46
- package/dist/src/components/ColorPicker/OrigamColorPickerSwatches.vue +128 -39
- package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +1123 -258
- package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +415 -162
- package/dist/src/components/ConfirmWrapper/OrigamConfirmWrapper.vue +389 -145
- package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +852 -147
- package/dist/src/components/Counter/OrigamCounter.vue +588 -96
- package/dist/src/components/DataList/OrigamDataList.vue +619 -113
- package/dist/src/components/DataList/OrigamDataText.vue +295 -65
- package/dist/src/components/DataList/OrigamDataTitle.vue +295 -65
- package/dist/src/components/DataTable/OrigamDataTable.vue +934 -222
- package/dist/src/components/DataTable/OrigamDataTableColumnCell.vue +196 -51
- package/dist/src/components/DataTable/OrigamDataTableFooter.vue +319 -78
- package/dist/src/components/DataTable/OrigamDataTableGroupHeaderRow.vue +124 -44
- package/dist/src/components/DataTable/OrigamDataTableHeaderCell.vue +181 -70
- package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +155 -46
- package/dist/src/components/DataTable/OrigamDataTableHeadersCell.vue +145 -27
- package/dist/src/components/DataTable/OrigamDataTableHeadersCellMobile.vue +126 -43
- package/dist/src/components/DataTable/OrigamDataTableRow.vue +151 -73
- package/dist/src/components/DataTable/OrigamDataTableRows.vue +261 -106
- package/dist/src/components/DatePicker/OrigamDatePicker.vue +1048 -261
- package/dist/src/components/DatePicker/OrigamDatePickerControls.vue +155 -51
- package/dist/src/components/DatePicker/OrigamDatePickerHeader.vue +147 -46
- package/dist/src/components/DatePicker/OrigamDatePickerMonth.vue +312 -134
- package/dist/src/components/DatePicker/OrigamDatePickerMonths.vue +151 -61
- package/dist/src/components/DatePicker/OrigamDatePickerYears.vue +154 -67
- package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +1147 -306
- package/dist/src/components/DefaultsProvider/OrigamDefaultsProvider.vue +74 -14
- package/dist/src/components/Dialog/OrigamDialog.vue +953 -196
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +886 -148
- package/dist/src/components/Divider/OrigamDivider.vue +210 -50
- package/dist/src/components/Drawer/OrigamDrawer.vue +909 -207
- package/dist/src/components/EmptyState/OrigamEmptyState.vue +146 -35
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +746 -159
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +591 -95
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +663 -143
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +675 -134
- package/dist/src/components/Field/OrigamField.vue +1118 -306
- package/dist/src/components/FileField/OrigamFileField.vue +1188 -311
- package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +155 -36
- package/dist/src/components/FileField/OrigamFileFieldListItem.vue +155 -36
- package/dist/src/components/Form/OrigamForm.vue +197 -74
- package/dist/src/components/Grid/OrigamGrid.vue +707 -147
- package/dist/src/components/Grid/OrigamGridItem.vue +110 -37
- package/dist/src/components/Grids/OrigamCol.vue +593 -110
- package/dist/src/components/Grids/OrigamContainer.vue +461 -80
- package/dist/src/components/Grids/OrigamRow.vue +573 -112
- package/dist/src/components/Grids/OrigamSpacer.vue +54 -17
- package/dist/src/components/Icon/OrigamClassIcon.vue +573 -98
- package/dist/src/components/Icon/OrigamComponentIcon.vue +561 -101
- package/dist/src/components/Icon/OrigamIcon.vue +561 -98
- package/dist/src/components/Icon/OrigamLigatureIcon.vue +558 -98
- package/dist/src/components/Icon/OrigamSvgIcon.vue +593 -100
- package/dist/src/components/Img/OrigamImg.vue +869 -228
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +319 -111
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScrollIntersect.vue +80 -17
- package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +476 -140
- package/dist/src/components/Input/OrigamInput.vue +747 -180
- package/dist/src/components/ItemGroup/OrigamItemGroup.vue +112 -36
- package/dist/src/components/ItemGroup/OrigamItemGroupItem.vue +80 -29
- package/dist/src/components/Kbd/OrigamKbd.vue +450 -75
- package/dist/src/components/Label/OrigamLabel.vue +584 -95
- package/dist/src/components/Layout/OrigamLayout.vue +563 -94
- package/dist/src/components/Lazy/OrigamLazy.vue +131 -34
- package/dist/src/components/List/OrigamList.vue +755 -170
- package/dist/src/components/List/OrigamListChildren.vue +59 -19
- package/dist/src/components/List/OrigamListGroup.vue +631 -134
- package/dist/src/components/List/OrigamListGroupActivator.vue +45 -17
- package/dist/src/components/List/OrigamListItem.vue +890 -224
- package/dist/src/components/List/OrigamListItemWrapper.vue +20 -10
- package/dist/src/components/List/OrigamListSubheader.vue +542 -93
- package/dist/src/components/Loader/OrigamLoader.vue +110 -25
- package/dist/src/components/Main/OrigamMain.vue +565 -96
- package/dist/src/components/Masonry/OrigamMasonry.vue +799 -187
- package/dist/src/components/Media/OrigamMediaController.vue +465 -182
- package/dist/src/components/Media/OrigamMediaScrubber.vue +389 -152
- package/dist/src/components/Media/OrigamMediaVolumeControl.vue +174 -44
- package/dist/src/components/Menu/OrigamMenu.vue +1079 -255
- package/dist/src/components/Messages/OrigamMessages.vue +606 -97
- package/dist/src/components/NumberField/OrigamNumberField.vue +1208 -333
- package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +177 -57
- package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +1016 -272
- package/dist/src/components/Overlay/OrigamOverlay.vue +446 -158
- package/dist/src/components/Overlay/OrigamOverlayScrim.vue +122 -30
- package/dist/src/components/Pagination/OrigamPagination.vue +982 -313
- package/dist/src/components/Parallax/OrigamParallax.vue +800 -259
- package/dist/src/components/Parallax/OrigamParallaxElement.vue +694 -178
- package/dist/src/components/Parallax/OrigamParallaxLayer.vue +132 -47
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +1098 -265
- package/dist/src/components/Picker/OrigamPicker.vue +655 -108
- package/dist/src/components/Picker/OrigamPickerTitle.vue +108 -26
- package/dist/src/components/Progress/OrigamProgress.vue +436 -70
- package/dist/src/components/Progress/OrigamProgressCircular.vue +399 -82
- package/dist/src/components/Progress/OrigamProgressLinear.vue +468 -115
- package/dist/src/components/QrCode/OrigamQrCode.vue +642 -126
- package/dist/src/components/Radio/OrigamRadio.vue +772 -132
- package/dist/src/components/Radio/OrigamRadioBtn.vue +446 -71
- package/dist/src/components/Radio/OrigamRadioGroup.vue +808 -135
- package/dist/src/components/RatingField/OrigamRatingField.vue +963 -194
- package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +657 -106
- package/dist/src/components/Responsive/OrigamResponsive.vue +548 -91
- package/dist/src/components/Select/OrigamSelect.vue +1639 -567
- package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +564 -151
- package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +178 -62
- package/dist/src/components/Sheet/OrigamSheet.vue +773 -199
- package/dist/src/components/Skeleton/OrigamSkeleton.vue +249 -46
- package/dist/src/components/Skeleton/OrigamSkeletonGroup.vue +66 -11
- package/dist/src/components/Slide/OrigamSlideGroup.vue +772 -257
- package/dist/src/components/SliderField/OrigamSliderField.vue +1157 -335
- package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +236 -112
- package/dist/src/components/Snackbar/OrigamSnackbar.vue +871 -214
- package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +218 -51
- package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +175 -43
- package/dist/src/components/Stepper/OrigamStepper.vue +618 -126
- package/dist/src/components/Stepper/OrigamStepperItem.vue +98 -37
- package/dist/src/components/Switch/OrigamSwitch.vue +879 -156
- package/dist/src/components/Switch/OrigamSwitchTrack.vue +431 -78
- package/dist/src/components/SystemBar/OrigamSystemBar.vue +517 -87
- package/dist/src/components/Table/OrigamTable.vue +585 -124
- package/dist/src/components/Tabs/OrigamTab.vue +239 -73
- package/dist/src/components/Tabs/OrigamTabPanel.vue +125 -39
- package/dist/src/components/Tabs/OrigamTabPanels.vue +148 -57
- package/dist/src/components/Tabs/OrigamTabs.vue +381 -109
- package/dist/src/components/TextField/OrigamTextField.vue +1077 -258
- package/dist/src/components/TextMask/OrigamTextMask.vue +150 -43
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +1162 -310
- package/dist/src/components/TextareaField/OrigamTextareaFieldRichToolbar.vue +77 -79
- package/dist/src/components/ThemeProvider/OrigamThemeProvider.vue +44 -9
- package/dist/src/components/Timeline/OrigamTimeline.vue +113 -43
- package/dist/src/components/Timeline/OrigamTimelineItem.vue +163 -76
- package/dist/src/components/Title/OrigamTitle.vue +505 -82
- package/dist/src/components/Toolbar/OrigamToolbar.vue +679 -142
- package/dist/src/components/Tooltip/OrigamTooltip.vue +288 -72
- package/dist/src/components/Transition/OrigamExpandX.vue +219 -106
- package/dist/src/components/Transition/OrigamExpandY.vue +219 -106
- package/dist/src/components/Transition/OrigamFade.vue +47 -9
- package/dist/src/components/Transition/OrigamReverseTranslatePicker.vue +52 -10
- package/dist/src/components/Transition/OrigamScaleRotate.vue +52 -10
- package/dist/src/components/Transition/OrigamSlideX.vue +52 -10
- package/dist/src/components/Transition/OrigamSlideY.vue +52 -10
- package/dist/src/components/Transition/OrigamSnack.vue +52 -10
- package/dist/src/components/Transition/OrigamTransition.vue +40 -12
- package/dist/src/components/Transition/OrigamTranslateBottom.vue +52 -10
- package/dist/src/components/Transition/OrigamTranslatePicker.vue +52 -10
- package/dist/src/components/Transition/OrigamTranslateScale.vue +209 -97
- package/dist/src/components/Transition/OrigamWindowXReverseTranslate.vue +40 -7
- package/dist/src/components/Transition/OrigamWindowXTranslate.vue +40 -7
- package/dist/src/components/Transition/OrigamWindowYReverseTranslate.vue +40 -7
- package/dist/src/components/Transition/OrigamWindowYTranslate.vue +40 -7
- package/dist/src/components/Treeview/OrigamTreeview.vue +258 -118
- package/dist/src/components/Treeview/OrigamTreeviewNode.vue +126 -88
- package/dist/src/components/Video/OrigamVideo.vue +1178 -331
- package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +147 -55
- package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +94 -19
- package/dist/src/components/Watermark/OrigamWatermark.vue +224 -124
- package/dist/src/components/Window/OrigamWindow.vue +745 -175
- package/dist/src/components/Window/OrigamWindowItem.vue +162 -69
- package/dist/src/composables/Commons/display.composable.cjs +2 -0
- package/dist/src/composables/Commons/display.composable.js +1 -1
- package/dist/src/interfaces/Pagination/pagination.interface.d.ts +1 -1
- package/package.json +6 -6
|
@@ -328,350 +328,1183 @@ import { MDI_ICONS } from "../../enums/Commons/mdi.enum";
|
|
|
328
328
|
import { TEXT_FIELD_TYPE } from "../../enums/TextField/text-field.enum";
|
|
329
329
|
import { filterInputAttrs } from "../../utils/Input/input.util";
|
|
330
330
|
import { forwardRefs } from "../../utils/Commons/forwardRefs.util";
|
|
331
|
+
/*********************************************************
|
|
332
|
+
* Global
|
|
333
|
+
*
|
|
334
|
+
* `<OrigamPasswordField>` is a TextField specialised for password
|
|
335
|
+
* entry. Beyond the parent's text affordances, it adds:
|
|
336
|
+
* - Show/hide toggle on the appendInner icon.
|
|
337
|
+
* - Strength-requirements popup driven by `requirements` + the
|
|
338
|
+
* `need*` flags + `minLength`. The popup auto-opens on focus
|
|
339
|
+
* (or stays open when `persistentRequirements`).
|
|
340
|
+
* - Each enabled requirement is auto-injected as a validation rule
|
|
341
|
+
* so consumers don't have to repeat the regex in their `rules`.
|
|
342
|
+
********************************************************/
|
|
331
343
|
const props = defineProps({
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
344
|
+
onIcon: {
|
|
345
|
+
type: null,
|
|
346
|
+
required: false,
|
|
347
|
+
default: MDI_ICONS.EYE_OUTLINE
|
|
348
|
+
},
|
|
349
|
+
offIcon: {
|
|
350
|
+
type: null,
|
|
351
|
+
required: false,
|
|
352
|
+
default: MDI_ICONS.EYE_OFF
|
|
353
|
+
},
|
|
354
|
+
maxlength: {
|
|
355
|
+
type: Number,
|
|
356
|
+
required: false
|
|
357
|
+
},
|
|
358
|
+
requirements: {
|
|
359
|
+
type: Boolean,
|
|
360
|
+
required: false
|
|
361
|
+
},
|
|
362
|
+
persistentRequirements: {
|
|
363
|
+
type: Boolean,
|
|
364
|
+
required: false
|
|
365
|
+
},
|
|
366
|
+
minLength: {
|
|
367
|
+
type: Number,
|
|
368
|
+
required: false,
|
|
369
|
+
default: 8
|
|
370
|
+
},
|
|
371
|
+
needTiny: {
|
|
372
|
+
type: Boolean,
|
|
373
|
+
required: false
|
|
374
|
+
},
|
|
375
|
+
needUppercase: {
|
|
376
|
+
type: Boolean,
|
|
377
|
+
required: false
|
|
378
|
+
},
|
|
379
|
+
needNumber: {
|
|
380
|
+
type: Boolean,
|
|
381
|
+
required: false
|
|
382
|
+
},
|
|
383
|
+
needSpecial: {
|
|
384
|
+
type: Boolean,
|
|
385
|
+
required: false
|
|
386
|
+
},
|
|
387
|
+
menuProps: {
|
|
388
|
+
type: Object,
|
|
389
|
+
required: false,
|
|
390
|
+
default: () => ({
|
|
391
|
+
closeDelay: 250,
|
|
392
|
+
closeOnContentClick: true,
|
|
393
|
+
locationStrategy: "connected",
|
|
394
|
+
location: "bottom left",
|
|
395
|
+
openDelay: 300,
|
|
396
|
+
scrim: false,
|
|
397
|
+
scrollStrategy: "reposition"
|
|
398
|
+
})
|
|
399
|
+
},
|
|
400
|
+
menu: {
|
|
401
|
+
type: Boolean,
|
|
402
|
+
required: false
|
|
403
|
+
},
|
|
404
|
+
strengthBar: {
|
|
405
|
+
type: Boolean,
|
|
406
|
+
required: false
|
|
407
|
+
},
|
|
408
|
+
requirementRules: {
|
|
409
|
+
type: Array,
|
|
410
|
+
required: false
|
|
411
|
+
},
|
|
412
|
+
requirementsLayout: {
|
|
413
|
+
type: String,
|
|
414
|
+
required: false
|
|
415
|
+
},
|
|
416
|
+
minimal: {
|
|
417
|
+
type: Boolean,
|
|
418
|
+
required: false
|
|
419
|
+
},
|
|
420
|
+
autofocus: {
|
|
421
|
+
type: Boolean,
|
|
422
|
+
required: false
|
|
423
|
+
},
|
|
424
|
+
counter: {
|
|
425
|
+
type: [
|
|
426
|
+
Boolean,
|
|
427
|
+
Number,
|
|
428
|
+
String
|
|
429
|
+
],
|
|
430
|
+
required: false
|
|
431
|
+
},
|
|
432
|
+
counterValue: {
|
|
433
|
+
type: [Number, Function],
|
|
434
|
+
required: false
|
|
435
|
+
},
|
|
436
|
+
placeholder: {
|
|
437
|
+
type: String,
|
|
438
|
+
required: false
|
|
439
|
+
},
|
|
440
|
+
persistentPlaceholder: {
|
|
441
|
+
type: Boolean,
|
|
442
|
+
required: false
|
|
443
|
+
},
|
|
444
|
+
persistentCounter: {
|
|
445
|
+
type: Boolean,
|
|
446
|
+
required: false
|
|
447
|
+
},
|
|
448
|
+
role: {
|
|
449
|
+
type: String,
|
|
450
|
+
required: false
|
|
451
|
+
},
|
|
452
|
+
type: {
|
|
453
|
+
type: null,
|
|
454
|
+
required: false
|
|
455
|
+
},
|
|
456
|
+
modelModifiers: {
|
|
457
|
+
type: [String, Boolean],
|
|
458
|
+
required: false
|
|
459
|
+
},
|
|
460
|
+
mask: {
|
|
461
|
+
type: null,
|
|
462
|
+
required: false
|
|
463
|
+
},
|
|
464
|
+
id: {
|
|
465
|
+
type: String,
|
|
466
|
+
required: false
|
|
467
|
+
},
|
|
468
|
+
class: {
|
|
469
|
+
type: [
|
|
470
|
+
String,
|
|
471
|
+
Array,
|
|
472
|
+
Object
|
|
473
|
+
],
|
|
474
|
+
required: false
|
|
475
|
+
},
|
|
476
|
+
style: {
|
|
477
|
+
type: [
|
|
478
|
+
String,
|
|
479
|
+
Array,
|
|
480
|
+
Object,
|
|
481
|
+
Boolean,
|
|
482
|
+
null
|
|
483
|
+
],
|
|
484
|
+
required: false,
|
|
485
|
+
skipCheck: true
|
|
486
|
+
},
|
|
487
|
+
color: {
|
|
488
|
+
type: [
|
|
489
|
+
String,
|
|
490
|
+
Object,
|
|
491
|
+
Boolean,
|
|
492
|
+
null
|
|
493
|
+
],
|
|
494
|
+
required: false,
|
|
495
|
+
skipCheck: true
|
|
496
|
+
},
|
|
497
|
+
density: {
|
|
498
|
+
type: null,
|
|
499
|
+
required: false,
|
|
500
|
+
default: DENSITY.DEFAULT
|
|
501
|
+
},
|
|
502
|
+
centerAffix: {
|
|
503
|
+
type: Boolean,
|
|
504
|
+
required: false,
|
|
505
|
+
default: true
|
|
506
|
+
},
|
|
507
|
+
dirty: {
|
|
508
|
+
type: Boolean,
|
|
509
|
+
required: false
|
|
510
|
+
},
|
|
511
|
+
disabled: {
|
|
512
|
+
type: Boolean,
|
|
513
|
+
required: false
|
|
514
|
+
},
|
|
515
|
+
error: {
|
|
516
|
+
type: [String, Boolean],
|
|
517
|
+
required: false
|
|
518
|
+
},
|
|
519
|
+
inline: {
|
|
520
|
+
type: Boolean,
|
|
521
|
+
required: false
|
|
522
|
+
},
|
|
523
|
+
label: {
|
|
524
|
+
type: String,
|
|
525
|
+
required: false
|
|
526
|
+
},
|
|
527
|
+
prefix: {
|
|
528
|
+
type: String,
|
|
529
|
+
required: false
|
|
530
|
+
},
|
|
531
|
+
suffix: {
|
|
532
|
+
type: String,
|
|
533
|
+
required: false
|
|
534
|
+
},
|
|
535
|
+
persistentClear: {
|
|
536
|
+
type: Boolean,
|
|
537
|
+
required: false
|
|
538
|
+
},
|
|
539
|
+
singleLine: {
|
|
540
|
+
type: Boolean,
|
|
541
|
+
required: false
|
|
542
|
+
},
|
|
543
|
+
required: {
|
|
544
|
+
type: Boolean,
|
|
545
|
+
required: false
|
|
546
|
+
},
|
|
547
|
+
loading: {
|
|
548
|
+
type: [
|
|
549
|
+
Boolean,
|
|
550
|
+
Number,
|
|
551
|
+
Object
|
|
552
|
+
],
|
|
553
|
+
required: false
|
|
554
|
+
},
|
|
555
|
+
loadingText: {
|
|
556
|
+
type: String,
|
|
557
|
+
required: false
|
|
558
|
+
},
|
|
559
|
+
tag: {
|
|
560
|
+
type: String,
|
|
561
|
+
required: false
|
|
562
|
+
},
|
|
563
|
+
bgColor: {
|
|
564
|
+
type: [
|
|
565
|
+
String,
|
|
566
|
+
Object,
|
|
567
|
+
Boolean,
|
|
568
|
+
null
|
|
569
|
+
],
|
|
570
|
+
required: false,
|
|
571
|
+
skipCheck: true
|
|
572
|
+
},
|
|
573
|
+
appendInnerAvatar: {
|
|
574
|
+
type: String,
|
|
575
|
+
required: false
|
|
576
|
+
},
|
|
577
|
+
appendInnerIcon: {
|
|
578
|
+
type: null,
|
|
579
|
+
required: false
|
|
580
|
+
},
|
|
581
|
+
prependInnerAvatar: {
|
|
582
|
+
type: String,
|
|
583
|
+
required: false
|
|
584
|
+
},
|
|
585
|
+
prependInnerIcon: {
|
|
586
|
+
type: null,
|
|
587
|
+
required: false
|
|
588
|
+
},
|
|
589
|
+
clearIcon: {
|
|
590
|
+
type: null,
|
|
591
|
+
required: false
|
|
592
|
+
},
|
|
593
|
+
clearable: {
|
|
594
|
+
type: Boolean,
|
|
595
|
+
required: false
|
|
596
|
+
},
|
|
597
|
+
prependInnerAriaLabel: {
|
|
598
|
+
type: String,
|
|
599
|
+
required: false
|
|
600
|
+
},
|
|
601
|
+
appendInnerAriaLabel: {
|
|
602
|
+
type: String,
|
|
603
|
+
required: false
|
|
604
|
+
},
|
|
605
|
+
border: {
|
|
606
|
+
type: [
|
|
607
|
+
Boolean,
|
|
608
|
+
Number,
|
|
609
|
+
String,
|
|
610
|
+
Array
|
|
611
|
+
],
|
|
612
|
+
required: false,
|
|
613
|
+
skipCheck: true
|
|
614
|
+
},
|
|
615
|
+
borderTop: {
|
|
616
|
+
type: [
|
|
617
|
+
Boolean,
|
|
618
|
+
Number,
|
|
619
|
+
String
|
|
620
|
+
],
|
|
621
|
+
required: false
|
|
622
|
+
},
|
|
623
|
+
borderLeft: {
|
|
624
|
+
type: [
|
|
625
|
+
Boolean,
|
|
626
|
+
Number,
|
|
627
|
+
String
|
|
628
|
+
],
|
|
629
|
+
required: false
|
|
630
|
+
},
|
|
631
|
+
borderBottom: {
|
|
632
|
+
type: [
|
|
633
|
+
Boolean,
|
|
634
|
+
Number,
|
|
635
|
+
String
|
|
636
|
+
],
|
|
637
|
+
required: false
|
|
638
|
+
},
|
|
639
|
+
borderRight: {
|
|
640
|
+
type: [
|
|
641
|
+
Boolean,
|
|
642
|
+
Number,
|
|
643
|
+
String
|
|
644
|
+
],
|
|
645
|
+
required: false
|
|
646
|
+
},
|
|
647
|
+
borderBlock: {
|
|
648
|
+
type: [
|
|
649
|
+
Boolean,
|
|
650
|
+
Number,
|
|
651
|
+
String
|
|
652
|
+
],
|
|
653
|
+
required: false
|
|
654
|
+
},
|
|
655
|
+
borderInline: {
|
|
656
|
+
type: [
|
|
657
|
+
Boolean,
|
|
658
|
+
Number,
|
|
659
|
+
String
|
|
660
|
+
],
|
|
661
|
+
required: false
|
|
662
|
+
},
|
|
663
|
+
borderInlineStart: {
|
|
664
|
+
type: [
|
|
665
|
+
Boolean,
|
|
666
|
+
Number,
|
|
667
|
+
String
|
|
668
|
+
],
|
|
669
|
+
required: false
|
|
670
|
+
},
|
|
671
|
+
borderInlineEnd: {
|
|
672
|
+
type: [
|
|
673
|
+
Boolean,
|
|
674
|
+
Number,
|
|
675
|
+
String
|
|
676
|
+
],
|
|
677
|
+
required: false
|
|
678
|
+
},
|
|
679
|
+
borderBlockStart: {
|
|
680
|
+
type: [
|
|
681
|
+
Boolean,
|
|
682
|
+
Number,
|
|
683
|
+
String
|
|
684
|
+
],
|
|
685
|
+
required: false
|
|
686
|
+
},
|
|
687
|
+
borderBlockEnd: {
|
|
688
|
+
type: [
|
|
689
|
+
Boolean,
|
|
690
|
+
Number,
|
|
691
|
+
String
|
|
692
|
+
],
|
|
693
|
+
required: false
|
|
694
|
+
},
|
|
695
|
+
borderColor: {
|
|
696
|
+
type: String,
|
|
697
|
+
required: false
|
|
698
|
+
},
|
|
699
|
+
borderStyle: {
|
|
700
|
+
type: String,
|
|
701
|
+
required: false
|
|
702
|
+
},
|
|
703
|
+
borderTopColor: {
|
|
704
|
+
type: [
|
|
705
|
+
String,
|
|
706
|
+
Object,
|
|
707
|
+
Boolean,
|
|
708
|
+
null
|
|
709
|
+
],
|
|
710
|
+
required: false,
|
|
711
|
+
skipCheck: true
|
|
712
|
+
},
|
|
713
|
+
borderRightColor: {
|
|
714
|
+
type: [
|
|
715
|
+
String,
|
|
716
|
+
Object,
|
|
717
|
+
Boolean,
|
|
718
|
+
null
|
|
719
|
+
],
|
|
720
|
+
required: false,
|
|
721
|
+
skipCheck: true
|
|
722
|
+
},
|
|
723
|
+
borderBottomColor: {
|
|
724
|
+
type: [
|
|
725
|
+
String,
|
|
726
|
+
Object,
|
|
727
|
+
Boolean,
|
|
728
|
+
null
|
|
729
|
+
],
|
|
730
|
+
required: false,
|
|
731
|
+
skipCheck: true
|
|
732
|
+
},
|
|
733
|
+
borderLeftColor: {
|
|
734
|
+
type: [
|
|
735
|
+
String,
|
|
736
|
+
Object,
|
|
737
|
+
Boolean,
|
|
738
|
+
null
|
|
739
|
+
],
|
|
740
|
+
required: false,
|
|
741
|
+
skipCheck: true
|
|
742
|
+
},
|
|
743
|
+
borderInlineStartColor: {
|
|
744
|
+
type: [
|
|
745
|
+
String,
|
|
746
|
+
Object,
|
|
747
|
+
Boolean,
|
|
748
|
+
null
|
|
749
|
+
],
|
|
750
|
+
required: false,
|
|
751
|
+
skipCheck: true
|
|
752
|
+
},
|
|
753
|
+
borderInlineEndColor: {
|
|
754
|
+
type: [
|
|
755
|
+
String,
|
|
756
|
+
Object,
|
|
757
|
+
Boolean,
|
|
758
|
+
null
|
|
759
|
+
],
|
|
760
|
+
required: false,
|
|
761
|
+
skipCheck: true
|
|
762
|
+
},
|
|
763
|
+
borderBlockStartColor: {
|
|
764
|
+
type: [
|
|
765
|
+
String,
|
|
766
|
+
Object,
|
|
767
|
+
Boolean,
|
|
768
|
+
null
|
|
769
|
+
],
|
|
770
|
+
required: false,
|
|
771
|
+
skipCheck: true
|
|
772
|
+
},
|
|
773
|
+
borderBlockEndColor: {
|
|
774
|
+
type: [
|
|
775
|
+
String,
|
|
776
|
+
Object,
|
|
777
|
+
Boolean,
|
|
778
|
+
null
|
|
779
|
+
],
|
|
780
|
+
required: false,
|
|
781
|
+
skipCheck: true
|
|
782
|
+
},
|
|
783
|
+
focused: {
|
|
784
|
+
type: Boolean,
|
|
785
|
+
required: false
|
|
786
|
+
},
|
|
787
|
+
text: {
|
|
788
|
+
type: String,
|
|
789
|
+
required: false
|
|
790
|
+
},
|
|
791
|
+
floating: {
|
|
792
|
+
type: Boolean,
|
|
793
|
+
required: false
|
|
794
|
+
},
|
|
795
|
+
name: {
|
|
796
|
+
type: String,
|
|
797
|
+
required: false
|
|
798
|
+
},
|
|
799
|
+
margin: {
|
|
800
|
+
type: [
|
|
801
|
+
Boolean,
|
|
802
|
+
Number,
|
|
803
|
+
String
|
|
804
|
+
],
|
|
805
|
+
required: false
|
|
806
|
+
},
|
|
807
|
+
marginTop: {
|
|
808
|
+
type: [
|
|
809
|
+
Boolean,
|
|
810
|
+
Number,
|
|
811
|
+
String
|
|
812
|
+
],
|
|
813
|
+
required: false
|
|
814
|
+
},
|
|
815
|
+
marginLeft: {
|
|
816
|
+
type: [
|
|
817
|
+
Boolean,
|
|
818
|
+
Number,
|
|
819
|
+
String
|
|
820
|
+
],
|
|
821
|
+
required: false
|
|
822
|
+
},
|
|
823
|
+
marginBottom: {
|
|
824
|
+
type: [
|
|
825
|
+
Boolean,
|
|
826
|
+
Number,
|
|
827
|
+
String
|
|
828
|
+
],
|
|
829
|
+
required: false
|
|
830
|
+
},
|
|
831
|
+
marginRight: {
|
|
832
|
+
type: [
|
|
833
|
+
Boolean,
|
|
834
|
+
Number,
|
|
835
|
+
String
|
|
836
|
+
],
|
|
837
|
+
required: false
|
|
838
|
+
},
|
|
839
|
+
marginBlock: {
|
|
840
|
+
type: [
|
|
841
|
+
Boolean,
|
|
842
|
+
Number,
|
|
843
|
+
String
|
|
844
|
+
],
|
|
845
|
+
required: false
|
|
846
|
+
},
|
|
847
|
+
marginInline: {
|
|
848
|
+
type: [
|
|
849
|
+
Boolean,
|
|
850
|
+
Number,
|
|
851
|
+
String
|
|
852
|
+
],
|
|
853
|
+
required: false
|
|
854
|
+
},
|
|
855
|
+
marginInlineStart: {
|
|
856
|
+
type: [
|
|
857
|
+
Boolean,
|
|
858
|
+
Number,
|
|
859
|
+
String
|
|
860
|
+
],
|
|
861
|
+
required: false
|
|
862
|
+
},
|
|
863
|
+
marginInlineEnd: {
|
|
864
|
+
type: [
|
|
865
|
+
Boolean,
|
|
866
|
+
Number,
|
|
867
|
+
String
|
|
868
|
+
],
|
|
869
|
+
required: false
|
|
870
|
+
},
|
|
871
|
+
marginBlockStart: {
|
|
872
|
+
type: [
|
|
873
|
+
Boolean,
|
|
874
|
+
Number,
|
|
875
|
+
String
|
|
876
|
+
],
|
|
877
|
+
required: false
|
|
878
|
+
},
|
|
879
|
+
marginBlockEnd: {
|
|
880
|
+
type: [
|
|
881
|
+
Boolean,
|
|
882
|
+
Number,
|
|
883
|
+
String
|
|
884
|
+
],
|
|
885
|
+
required: false
|
|
886
|
+
},
|
|
887
|
+
padding: {
|
|
888
|
+
type: [
|
|
889
|
+
Boolean,
|
|
890
|
+
Number,
|
|
891
|
+
String
|
|
892
|
+
],
|
|
893
|
+
required: false
|
|
894
|
+
},
|
|
895
|
+
paddingTop: {
|
|
896
|
+
type: [
|
|
897
|
+
Boolean,
|
|
898
|
+
Number,
|
|
899
|
+
String
|
|
900
|
+
],
|
|
901
|
+
required: false
|
|
902
|
+
},
|
|
903
|
+
paddingLeft: {
|
|
904
|
+
type: [
|
|
905
|
+
Boolean,
|
|
906
|
+
Number,
|
|
907
|
+
String
|
|
908
|
+
],
|
|
909
|
+
required: false
|
|
910
|
+
},
|
|
911
|
+
paddingBottom: {
|
|
912
|
+
type: [
|
|
913
|
+
Boolean,
|
|
914
|
+
Number,
|
|
915
|
+
String
|
|
916
|
+
],
|
|
917
|
+
required: false
|
|
918
|
+
},
|
|
919
|
+
paddingRight: {
|
|
920
|
+
type: [
|
|
921
|
+
Boolean,
|
|
922
|
+
Number,
|
|
923
|
+
String
|
|
924
|
+
],
|
|
925
|
+
required: false
|
|
926
|
+
},
|
|
927
|
+
paddingBlock: {
|
|
928
|
+
type: [
|
|
929
|
+
Boolean,
|
|
930
|
+
Number,
|
|
931
|
+
String
|
|
932
|
+
],
|
|
933
|
+
required: false
|
|
934
|
+
},
|
|
935
|
+
paddingInline: {
|
|
936
|
+
type: [
|
|
937
|
+
Boolean,
|
|
938
|
+
Number,
|
|
939
|
+
String
|
|
940
|
+
],
|
|
941
|
+
required: false
|
|
942
|
+
},
|
|
943
|
+
paddingInlineStart: {
|
|
944
|
+
type: [
|
|
945
|
+
Boolean,
|
|
946
|
+
Number,
|
|
947
|
+
String
|
|
948
|
+
],
|
|
949
|
+
required: false
|
|
950
|
+
},
|
|
951
|
+
paddingInlineEnd: {
|
|
952
|
+
type: [
|
|
953
|
+
Boolean,
|
|
954
|
+
Number,
|
|
955
|
+
String
|
|
956
|
+
],
|
|
957
|
+
required: false
|
|
958
|
+
},
|
|
959
|
+
paddingBlockStart: {
|
|
960
|
+
type: [
|
|
961
|
+
Boolean,
|
|
962
|
+
Number,
|
|
963
|
+
String
|
|
964
|
+
],
|
|
965
|
+
required: false
|
|
966
|
+
},
|
|
967
|
+
paddingBlockEnd: {
|
|
968
|
+
type: [
|
|
969
|
+
Boolean,
|
|
970
|
+
Number,
|
|
971
|
+
String
|
|
972
|
+
],
|
|
973
|
+
required: false
|
|
974
|
+
},
|
|
975
|
+
rounded: {
|
|
976
|
+
type: [
|
|
977
|
+
Boolean,
|
|
978
|
+
Number,
|
|
979
|
+
String,
|
|
980
|
+
null
|
|
981
|
+
],
|
|
982
|
+
required: false,
|
|
983
|
+
skipCheck: true,
|
|
984
|
+
default: true
|
|
985
|
+
},
|
|
986
|
+
roundedTopRight: {
|
|
987
|
+
type: [
|
|
988
|
+
Boolean,
|
|
989
|
+
Number,
|
|
990
|
+
String
|
|
991
|
+
],
|
|
992
|
+
required: false
|
|
993
|
+
},
|
|
994
|
+
roundedTopLeft: {
|
|
995
|
+
type: [
|
|
996
|
+
Boolean,
|
|
997
|
+
Number,
|
|
998
|
+
String
|
|
999
|
+
],
|
|
1000
|
+
required: false
|
|
1001
|
+
},
|
|
1002
|
+
roundedBottomLeft: {
|
|
1003
|
+
type: [
|
|
1004
|
+
Boolean,
|
|
1005
|
+
Number,
|
|
1006
|
+
String
|
|
1007
|
+
],
|
|
1008
|
+
required: false
|
|
1009
|
+
},
|
|
1010
|
+
roundedBottomRight: {
|
|
1011
|
+
type: [
|
|
1012
|
+
Boolean,
|
|
1013
|
+
Number,
|
|
1014
|
+
String
|
|
1015
|
+
],
|
|
1016
|
+
required: false
|
|
1017
|
+
},
|
|
1018
|
+
roundedStartStart: {
|
|
1019
|
+
type: [
|
|
1020
|
+
Boolean,
|
|
1021
|
+
Number,
|
|
1022
|
+
String
|
|
1023
|
+
],
|
|
1024
|
+
required: false
|
|
1025
|
+
},
|
|
1026
|
+
roundedStartEnd: {
|
|
1027
|
+
type: [
|
|
1028
|
+
Boolean,
|
|
1029
|
+
Number,
|
|
1030
|
+
String
|
|
1031
|
+
],
|
|
1032
|
+
required: false
|
|
1033
|
+
},
|
|
1034
|
+
roundedEndStart: {
|
|
1035
|
+
type: [
|
|
1036
|
+
Boolean,
|
|
1037
|
+
Number,
|
|
1038
|
+
String
|
|
1039
|
+
],
|
|
1040
|
+
required: false
|
|
1041
|
+
},
|
|
1042
|
+
roundedEndEnd: {
|
|
1043
|
+
type: [
|
|
1044
|
+
Boolean,
|
|
1045
|
+
Number,
|
|
1046
|
+
String
|
|
1047
|
+
],
|
|
1048
|
+
required: false
|
|
1049
|
+
},
|
|
1050
|
+
fontSize: {
|
|
1051
|
+
type: null,
|
|
1052
|
+
required: false
|
|
1053
|
+
},
|
|
1054
|
+
fontWeight: {
|
|
1055
|
+
type: null,
|
|
1056
|
+
required: false
|
|
1057
|
+
},
|
|
1058
|
+
lineHeight: {
|
|
1059
|
+
type: null,
|
|
1060
|
+
required: false
|
|
1061
|
+
},
|
|
1062
|
+
letterSpacing: {
|
|
1063
|
+
type: null,
|
|
1064
|
+
required: false
|
|
1065
|
+
},
|
|
1066
|
+
active: {
|
|
1067
|
+
type: [Boolean, Object],
|
|
1068
|
+
required: false
|
|
1069
|
+
},
|
|
1070
|
+
activeClass: {
|
|
1071
|
+
type: String,
|
|
1072
|
+
required: false
|
|
1073
|
+
},
|
|
1074
|
+
variant: {
|
|
1075
|
+
type: null,
|
|
1076
|
+
required: false
|
|
1077
|
+
},
|
|
1078
|
+
elevation: {
|
|
1079
|
+
type: [Number, String],
|
|
1080
|
+
required: false
|
|
1081
|
+
},
|
|
1082
|
+
size: {
|
|
1083
|
+
type: null,
|
|
1084
|
+
required: false
|
|
1085
|
+
},
|
|
1086
|
+
hideDetails: {
|
|
1087
|
+
type: [Boolean, String],
|
|
1088
|
+
required: false
|
|
1089
|
+
},
|
|
1090
|
+
hideSpinButtons: {
|
|
1091
|
+
type: Boolean,
|
|
1092
|
+
required: false
|
|
1093
|
+
},
|
|
1094
|
+
hint: {
|
|
1095
|
+
type: String,
|
|
1096
|
+
required: false
|
|
1097
|
+
},
|
|
1098
|
+
persistentHint: {
|
|
1099
|
+
type: Boolean,
|
|
1100
|
+
required: false
|
|
1101
|
+
},
|
|
1102
|
+
messages: {
|
|
1103
|
+
type: [Array, String],
|
|
1104
|
+
required: false
|
|
1105
|
+
},
|
|
1106
|
+
height: {
|
|
1107
|
+
type: [Number, String],
|
|
1108
|
+
required: false
|
|
1109
|
+
},
|
|
1110
|
+
maxHeight: {
|
|
1111
|
+
type: [Number, String],
|
|
1112
|
+
required: false
|
|
1113
|
+
},
|
|
1114
|
+
maxWidth: {
|
|
1115
|
+
type: [Number, String],
|
|
1116
|
+
required: false
|
|
1117
|
+
},
|
|
1118
|
+
minHeight: {
|
|
1119
|
+
type: [Number, String],
|
|
1120
|
+
required: false
|
|
1121
|
+
},
|
|
1122
|
+
minWidth: {
|
|
1123
|
+
type: [Number, String],
|
|
1124
|
+
required: false
|
|
1125
|
+
},
|
|
1126
|
+
width: {
|
|
1127
|
+
type: [Number, String],
|
|
1128
|
+
required: false
|
|
1129
|
+
},
|
|
1130
|
+
direction: {
|
|
1131
|
+
type: null,
|
|
1132
|
+
required: false,
|
|
1133
|
+
default: DIRECTION.HORIZONTAL
|
|
1134
|
+
},
|
|
1135
|
+
errorMessages: {
|
|
1136
|
+
type: [Array, String],
|
|
1137
|
+
required: false
|
|
1138
|
+
},
|
|
1139
|
+
maxErrors: {
|
|
1140
|
+
type: [Number, String],
|
|
1141
|
+
required: false
|
|
1142
|
+
},
|
|
1143
|
+
readonly: {
|
|
1144
|
+
type: Boolean,
|
|
1145
|
+
required: false
|
|
1146
|
+
},
|
|
1147
|
+
rules: {
|
|
1148
|
+
type: Array,
|
|
1149
|
+
required: false
|
|
1150
|
+
},
|
|
1151
|
+
modelValue: {
|
|
1152
|
+
type: null,
|
|
1153
|
+
required: false
|
|
1154
|
+
},
|
|
1155
|
+
validateOn: {
|
|
1156
|
+
type: null,
|
|
1157
|
+
required: false
|
|
1158
|
+
},
|
|
1159
|
+
validationValue: {
|
|
1160
|
+
type: null,
|
|
1161
|
+
required: false
|
|
1162
|
+
},
|
|
1163
|
+
appendAvatar: {
|
|
1164
|
+
type: String,
|
|
1165
|
+
required: false
|
|
1166
|
+
},
|
|
1167
|
+
appendIcon: {
|
|
1168
|
+
type: null,
|
|
1169
|
+
required: false
|
|
1170
|
+
},
|
|
1171
|
+
prependAvatar: {
|
|
1172
|
+
type: String,
|
|
1173
|
+
required: false
|
|
1174
|
+
},
|
|
1175
|
+
prependIcon: {
|
|
1176
|
+
type: null,
|
|
1177
|
+
required: false
|
|
1178
|
+
},
|
|
1179
|
+
prependAriaLabel: {
|
|
1180
|
+
type: String,
|
|
1181
|
+
required: false
|
|
1182
|
+
},
|
|
1183
|
+
appendAriaLabel: {
|
|
1184
|
+
type: String,
|
|
1185
|
+
required: false
|
|
1186
|
+
}
|
|
484
1187
|
});
|
|
485
|
-
const emits = defineEmits([
|
|
1188
|
+
const emits = defineEmits([
|
|
1189
|
+
"click:control",
|
|
1190
|
+
"mousedown:control",
|
|
1191
|
+
"update:strength",
|
|
1192
|
+
"update:focused",
|
|
1193
|
+
"click:appendInner",
|
|
1194
|
+
"click:prependInner",
|
|
1195
|
+
"click:clear",
|
|
1196
|
+
"update:modelValue",
|
|
1197
|
+
"click:append",
|
|
1198
|
+
"click:prepend"
|
|
1199
|
+
]);
|
|
486
1200
|
defineSlots();
|
|
487
1201
|
const slots = useSlots();
|
|
488
1202
|
const attrs = useAttrs();
|
|
489
1203
|
const { t } = useLocale();
|
|
1204
|
+
/*********************************************************
|
|
1205
|
+
* Value
|
|
1206
|
+
********************************************************/
|
|
490
1207
|
const model = useVModel(props, "modelValue");
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
1208
|
+
/*********************************************************
|
|
1209
|
+
* Adjacent (outer + inner)
|
|
1210
|
+
********************************************************/
|
|
1211
|
+
/*********************************************************
|
|
1212
|
+
* Composables
|
|
1213
|
+
********************************************************/
|
|
1214
|
+
const { onClickPrependInner: handleClickPrependInner, onClickAppendInner: handleClickAppendInner } = useAdjacentInner(props);
|
|
1215
|
+
/*********************************************************
|
|
1216
|
+
* Icon
|
|
1217
|
+
********************************************************/
|
|
1218
|
+
const { onClickPrepend: handleClickPrepend, onClickAppend: handleClickAppend } = useAdjacent(props);
|
|
1219
|
+
/*********************************************************
|
|
1220
|
+
* Intersect — focuses the input on first scroll-into-view when
|
|
1221
|
+
* `autofocus` is set. Avoids stealing focus from off-screen forms.
|
|
1222
|
+
********************************************************/
|
|
499
1223
|
const handleIntersect = (isIntersecting, entries) => {
|
|
500
|
-
|
|
501
|
-
|
|
1224
|
+
if (!props.autofocus || !isIntersecting) return;
|
|
1225
|
+
entries[0].target?.focus?.();
|
|
502
1226
|
};
|
|
503
1227
|
const intersect = computed(() => {
|
|
504
|
-
|
|
1228
|
+
return { handler: handleIntersect };
|
|
505
1229
|
});
|
|
1230
|
+
/*********************************************************
|
|
1231
|
+
* Refs
|
|
1232
|
+
********************************************************/
|
|
506
1233
|
const origamInputRef = ref();
|
|
507
1234
|
const origamFieldRef = ref();
|
|
508
1235
|
const origamMenuRef = ref();
|
|
509
1236
|
const inputRef = ref();
|
|
1237
|
+
/*********************************************************
|
|
1238
|
+
* Focus / control events
|
|
1239
|
+
********************************************************/
|
|
510
1240
|
const { isFocused, onFocus, onBlur: handleBlur } = useFocus(props);
|
|
511
1241
|
const isActive = computed(() => {
|
|
512
|
-
|
|
1242
|
+
return props.persistentPlaceholder || isFocused.value || props.active;
|
|
513
1243
|
});
|
|
514
1244
|
const handleFocus = () => {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
1245
|
+
nextTick(() => {
|
|
1246
|
+
const input = inputRef.value;
|
|
1247
|
+
if (input && input !== document.activeElement) {
|
|
1248
|
+
input.focus();
|
|
1249
|
+
}
|
|
1250
|
+
});
|
|
1251
|
+
if (!isFocused.value) onFocus();
|
|
522
1252
|
};
|
|
523
1253
|
const handleControlMousedown = (e) => {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
1254
|
+
emits("mousedown:control", e);
|
|
1255
|
+
if (e.target === inputRef.value) return;
|
|
1256
|
+
handleFocus();
|
|
1257
|
+
e.preventDefault();
|
|
528
1258
|
};
|
|
529
1259
|
const handleControlClick = (e) => {
|
|
530
|
-
|
|
531
|
-
|
|
1260
|
+
handleFocus();
|
|
1261
|
+
emits("click:control", e);
|
|
532
1262
|
};
|
|
533
1263
|
const handleClear = (e) => {
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
1264
|
+
e.stopPropagation();
|
|
1265
|
+
handleFocus();
|
|
1266
|
+
nextTick(() => {
|
|
1267
|
+
model.value = null;
|
|
1268
|
+
emits("click:clear", e);
|
|
1269
|
+
});
|
|
540
1270
|
};
|
|
541
1271
|
const handleInput = (e) => {
|
|
542
|
-
|
|
543
|
-
|
|
1272
|
+
const el = e.target;
|
|
1273
|
+
model.value = el.value;
|
|
544
1274
|
};
|
|
1275
|
+
/*********************************************************
|
|
1276
|
+
* Counter & details
|
|
1277
|
+
********************************************************/
|
|
545
1278
|
const counterValue = computed(() => {
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
1279
|
+
if (typeof props.counterValue === "function") {
|
|
1280
|
+
return props.counterValue(model.value);
|
|
1281
|
+
}
|
|
1282
|
+
if (props.counterValue) {
|
|
1283
|
+
return props.counterValue;
|
|
1284
|
+
}
|
|
1285
|
+
return (model.value ?? "").toString().length;
|
|
553
1286
|
});
|
|
554
1287
|
const max = computed(() => {
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
1288
|
+
if (props.maxlength) return props.maxlength;
|
|
1289
|
+
if (!props.counter || typeof props.counter !== "number" && typeof props.counter !== "string") {
|
|
1290
|
+
return undefined;
|
|
1291
|
+
}
|
|
1292
|
+
return props.counter;
|
|
560
1293
|
});
|
|
561
1294
|
const hasCounter = computed(() => {
|
|
562
|
-
|
|
1295
|
+
return slots.counter || props.counter !== false && props.counter != null;
|
|
563
1296
|
});
|
|
564
1297
|
const hasDetails = computed(() => {
|
|
565
|
-
|
|
1298
|
+
return hasCounter.value || slots.details;
|
|
566
1299
|
});
|
|
1300
|
+
/*********************************************************
|
|
1301
|
+
* Requirements popup
|
|
1302
|
+
*
|
|
1303
|
+
* `infos` is the live map of enabled requirements (keyed by
|
|
1304
|
+
* `info.key` so the menu and validation rule both see the same
|
|
1305
|
+
* descriptor). `showRequirements` gates the popup visibility.
|
|
1306
|
+
* `isChecked` evaluates each rule against the current value.
|
|
1307
|
+
********************************************************/
|
|
567
1308
|
const infos = computed(() => {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
if (props.needSpecial) localeInfos.special = REQUIREMENT_SPECIAL;
|
|
575
|
-
return localeInfos;
|
|
1309
|
+
const localeInfos = { minLength: REQUIREMENT_MIN_LENGTH(props.minLength) };
|
|
1310
|
+
if (props.needTiny) localeInfos.tiny = REQUIREMENT_TINY;
|
|
1311
|
+
if (props.needUppercase) localeInfos.uppercase = REQUIREMENT_UPPERCASE;
|
|
1312
|
+
if (props.needNumber) localeInfos.number = REQUIREMENT_NUMBER;
|
|
1313
|
+
if (props.needSpecial) localeInfos.special = REQUIREMENT_SPECIAL;
|
|
1314
|
+
return localeInfos;
|
|
576
1315
|
});
|
|
577
1316
|
const showRequirements = computed(() => {
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
1317
|
+
// The legacy popup-menu mode only fires when `requirements` is the
|
|
1318
|
+
// boolean `true`. The new inline checklist (driven by `rules` /
|
|
1319
|
+
// `requirementsLayout`) lives in the `#details` slot — it is
|
|
1320
|
+
// orthogonal to this menu and never opens it.
|
|
1321
|
+
if (props.requirements !== true) return false;
|
|
1322
|
+
if (props.minimal) return false;
|
|
1323
|
+
return isFocused.value || props.persistentRequirements;
|
|
581
1324
|
});
|
|
582
1325
|
const isChecked = (key) => {
|
|
583
|
-
|
|
1326
|
+
return infos.value[key]?.reg.test(model.value);
|
|
584
1327
|
};
|
|
1328
|
+
/*********************************************************
|
|
1329
|
+
* Strength bar (display mode 1 / 6 — also used in "Combined")
|
|
1330
|
+
*
|
|
1331
|
+
* `strength` recomputes on every keystroke. The 4-segment bar in
|
|
1332
|
+
* the template uses `strength.score` to fill segments and
|
|
1333
|
+
* `strength.level` to pick the colour token. We also emit
|
|
1334
|
+
* `update:strength` so consumers can v-model it for analytics or
|
|
1335
|
+
* cross-field validation (e.g. "block submit when level=weak").
|
|
1336
|
+
********************************************************/
|
|
585
1337
|
const strength = computed(() => computeStrength(model.value));
|
|
586
1338
|
watch(() => strength.value.level, (level) => {
|
|
587
|
-
|
|
1339
|
+
emits("update:strength", level);
|
|
588
1340
|
}, { immediate: false });
|
|
1341
|
+
/*********************************************************
|
|
1342
|
+
* Inline requirements (display modes 2/3/6)
|
|
1343
|
+
*
|
|
1344
|
+
* `requirementRules` (preferred) drives the checklist. When the
|
|
1345
|
+
* caller only passes `requirements: true` without an array, we
|
|
1346
|
+
* fall back to the default rule set so the component is still
|
|
1347
|
+
* usable out-of-the-box.
|
|
1348
|
+
*
|
|
1349
|
+
* `requirementsLayout` decides between `<ul>` (default `list`)
|
|
1350
|
+
* and `<OrigamChip>` flex-wrap (`tiles`).
|
|
1351
|
+
********************************************************/
|
|
589
1352
|
const inlineRequirements = computed(() => {
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
1353
|
+
if (Array.isArray(props.requirementRules) && props.requirementRules.length > 0) {
|
|
1354
|
+
return props.requirementRules;
|
|
1355
|
+
}
|
|
1356
|
+
// Fallback: when consumer enables the checklist via `requirements: true`
|
|
1357
|
+
// without supplying explicit rules, ship the default 4-rule set.
|
|
1358
|
+
if (props.requirements === true) {
|
|
1359
|
+
return DEFAULT_PASSWORD_REQUIREMENTS;
|
|
1360
|
+
}
|
|
1361
|
+
return [];
|
|
597
1362
|
});
|
|
598
1363
|
const hasInlineRequirements = computed(() => {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
1364
|
+
// The new checklist is opt-in: render only when the caller
|
|
1365
|
+
// supplied `requirementRules` (any layout) OR when they passed
|
|
1366
|
+
// `requirementsLayout` explicitly together with `requirements:true`
|
|
1367
|
+
// (signalling they want the inline UI rather than the legacy popup).
|
|
1368
|
+
if (props.minimal) return false;
|
|
1369
|
+
if (Array.isArray(props.requirementRules) && props.requirementRules.length > 0) return true;
|
|
1370
|
+
return props.requirements === true && props.requirementsLayout != null;
|
|
602
1371
|
});
|
|
603
1372
|
const hasInlineFooter = computed(() => {
|
|
604
|
-
|
|
605
|
-
|
|
1373
|
+
if (props.minimal) return false;
|
|
1374
|
+
return !!props.strengthBar || hasInlineRequirements.value;
|
|
606
1375
|
});
|
|
607
1376
|
const isRuleSatisfied = (rule) => {
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
1377
|
+
const v = (model.value ?? "").toString();
|
|
1378
|
+
try {
|
|
1379
|
+
return !!rule.test(v);
|
|
1380
|
+
} catch {
|
|
1381
|
+
// A misbehaving consumer-supplied predicate must not crash
|
|
1382
|
+
// the field. Treat thrown predicates as "not satisfied".
|
|
1383
|
+
return false;
|
|
1384
|
+
}
|
|
614
1385
|
};
|
|
1386
|
+
/*********************************************************
|
|
1387
|
+
* Show / hide toggle
|
|
1388
|
+
*
|
|
1389
|
+
* @description
|
|
1390
|
+
* issue #443 — the toggle was a bare <div @mousedown>: mouse-only, no
|
|
1391
|
+
* accessible name, no tabindex (OrigamIcon never sets one either, so
|
|
1392
|
+
* nothing inside it was reachable). Now a real <button type="button">;
|
|
1393
|
+
* the trigger stays `@mousedown` (`.prevent` added to stop the native
|
|
1394
|
+
* button from shifting focus off the input on click — the div never
|
|
1395
|
+
* could) so mouse timing is unchanged. `@keydown` is a MANUAL
|
|
1396
|
+
* Enter/Space handler, not `@click` — the button's native keyboard
|
|
1397
|
+
* activation synthesizes a `click` DOM event nothing listens for, so
|
|
1398
|
+
* there is no double-fire risk between the two paths.
|
|
1399
|
+
********************************************************/
|
|
615
1400
|
const show = ref(false);
|
|
616
1401
|
const currentIcon = computed(() => {
|
|
617
|
-
|
|
1402
|
+
return show.value ? props.offIcon : props.onIcon;
|
|
618
1403
|
});
|
|
619
1404
|
const currentType = computed(() => {
|
|
620
|
-
|
|
1405
|
+
return show.value ? TEXT_FIELD_TYPE.TEXT : TEXT_FIELD_TYPE.PASSWORD;
|
|
621
1406
|
});
|
|
622
1407
|
const toggleLabel = computed(() => t(show.value ? "origam.password_field.hide" : "origam.password_field.show"));
|
|
623
1408
|
const handleToggleShow = () => {
|
|
624
|
-
|
|
1409
|
+
show.value = !show.value;
|
|
625
1410
|
};
|
|
626
1411
|
const handleToggleKeydown = (e) => {
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
1412
|
+
if (e.key !== KEYBOARD_VALUES.ENTER && e.key !== KEYBOARD_VALUES.EMPTY) return;
|
|
1413
|
+
e.preventDefault();
|
|
1414
|
+
handleToggleShow();
|
|
630
1415
|
};
|
|
1416
|
+
/*********************************************************
|
|
1417
|
+
* Validation
|
|
1418
|
+
*
|
|
1419
|
+
* Auto-injects one rule per enabled requirement so `<origam-input>`'s
|
|
1420
|
+
* validation pipeline picks them up. Keeps user-supplied `rules`
|
|
1421
|
+
* intact and prepends the requirement rules so user errors win
|
|
1422
|
+
* the priority race.
|
|
1423
|
+
********************************************************/
|
|
631
1424
|
const enrichedRules = computed(() => {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
1425
|
+
const base = Array.isArray(props.rules) ? [...props.rules] : [];
|
|
1426
|
+
Object.keys(infos.value).forEach((key) => {
|
|
1427
|
+
const info = infos.value[key];
|
|
1428
|
+
base.push((value) => {
|
|
1429
|
+
return info.reg.test(value || "") || t("origam.validation.must_contains", { value: info.message });
|
|
1430
|
+
});
|
|
1431
|
+
});
|
|
1432
|
+
return base;
|
|
640
1433
|
});
|
|
1434
|
+
/*********************************************************
|
|
1435
|
+
* Props passed down
|
|
1436
|
+
********************************************************/
|
|
641
1437
|
const [rootAttrs, inputAttrs] = filterInputAttrs(attrs);
|
|
1438
|
+
/*********************************************************
|
|
1439
|
+
* inputProps
|
|
1440
|
+
*
|
|
1441
|
+
* @description
|
|
1442
|
+
* #421 — `id` is deliberately NOT filtered out: OrigamInput needs it to
|
|
1443
|
+
* build `<id>-messages`, the target of its own `aria-describedby`, and
|
|
1444
|
+
* to feed its default slot's `id` (consumed by OrigamField, then the
|
|
1445
|
+
* real `<input>`). Filtering it forced OrigamInput to invent an id, so
|
|
1446
|
+
* a consumer passing `id` got an `<input>` unreachable by
|
|
1447
|
+
* `getElementById` and a `<label for>` pointing nowhere — same fix as
|
|
1448
|
+
* OrigamTextField (ce365b10).
|
|
1449
|
+
********************************************************/
|
|
642
1450
|
const inputProps = computed(() => {
|
|
643
|
-
|
|
1451
|
+
/*********************************************************
|
|
1452
|
+
* Border withheld — #726
|
|
1453
|
+
*
|
|
1454
|
+
* @description
|
|
1455
|
+
* Withheld from the INPUT (no notch, its top edge crosses the floating
|
|
1456
|
+
* label) and handed to the FIELD's notched outline instead.
|
|
1457
|
+
********************************************************/
|
|
1458
|
+
return filterPropsOf(OrigamInput, props, [
|
|
1459
|
+
"modelValue",
|
|
1460
|
+
"class",
|
|
1461
|
+
"style",
|
|
1462
|
+
"focused",
|
|
1463
|
+
...BORDER_PROP_KEYS
|
|
1464
|
+
]);
|
|
644
1465
|
});
|
|
645
1466
|
const fieldProps = computed(() => {
|
|
646
|
-
|
|
1467
|
+
return filterPropsOf(OrigamField, props, [
|
|
1468
|
+
"class",
|
|
1469
|
+
"id",
|
|
1470
|
+
"active",
|
|
1471
|
+
"dirty",
|
|
1472
|
+
"disabled",
|
|
1473
|
+
"focused",
|
|
1474
|
+
"error",
|
|
1475
|
+
"style"
|
|
1476
|
+
]);
|
|
647
1477
|
});
|
|
648
1478
|
const resolvedMenuProps = computed(() => {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
1479
|
+
return {
|
|
1480
|
+
...props.menuProps,
|
|
1481
|
+
activatorProps: {
|
|
1482
|
+
...props.menuProps?.activatorProps || {},
|
|
1483
|
+
"aria-haspopup": "listbox"
|
|
1484
|
+
}
|
|
1485
|
+
};
|
|
656
1486
|
});
|
|
1487
|
+
/*********************************************************
|
|
1488
|
+
* Class & Style
|
|
1489
|
+
********************************************************/
|
|
657
1490
|
const passwordFieldStyles = computed(() => {
|
|
658
|
-
|
|
1491
|
+
return [props.style];
|
|
659
1492
|
});
|
|
660
1493
|
const passwordFieldClasses = computed(() => {
|
|
661
|
-
|
|
662
|
-
"origam-password-field",
|
|
663
|
-
props.class
|
|
664
|
-
];
|
|
1494
|
+
return ["origam-password-field", props.class];
|
|
665
1495
|
});
|
|
1496
|
+
/*********************************************************
|
|
1497
|
+
* Expose
|
|
1498
|
+
********************************************************/
|
|
666
1499
|
const { filterProps } = useProps(props);
|
|
667
1500
|
const { id, css, load, isLoaded, unload } = useStyle(passwordFieldStyles);
|
|
668
1501
|
defineExpose(forwardRefs({
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
1502
|
+
filterProps,
|
|
1503
|
+
css,
|
|
1504
|
+
id,
|
|
1505
|
+
load,
|
|
1506
|
+
unload,
|
|
1507
|
+
isLoaded
|
|
675
1508
|
}));
|
|
676
1509
|
</script>
|
|
677
1510
|
|