@weni/unnnic-system 3.12.8 → 3.13.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{es-62c1e8d3.mjs → es-41fceca9.mjs} +1 -1
  3. package/dist/{index-ef197fd5.mjs → index-cca96b43.mjs} +81802 -81503
  4. package/dist/index.d.ts +660 -20
  5. package/dist/{pt-br-198b147b.mjs → pt-br-a3088529.mjs} +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/unnnic.mjs +142 -140
  8. package/dist/unnnic.umd.js +35 -35
  9. package/package.json +1 -1
  10. package/src/components/Input/BaseInput.vue +25 -5
  11. package/src/components/Input/Input.scss +2 -1
  12. package/src/components/Input/Input.vue +24 -1
  13. package/src/components/Input/TextInput.vue +64 -25
  14. package/src/components/Input/__test__/TextInput.spec.js +1 -1
  15. package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +5 -1
  16. package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +7 -1
  17. package/src/components/Select/__tests__/Select.spec.js +422 -0
  18. package/src/components/Select/__tests__/SelectItem.spec.js +330 -0
  19. package/src/components/Select/__tests__/__snapshots__/Popover.spec.js.snap +8 -0
  20. package/src/components/Select/__tests__/__snapshots__/Select.spec.js.snap +71 -0
  21. package/src/components/Select/__tests__/__snapshots__/SelectItem.spec.js.snap +15 -0
  22. package/src/components/Select/__tests__/__snapshots__/SelectOption.spec.js.snap +25 -0
  23. package/src/components/Select/__tests__/__snapshots__/SelectPopover.spec.js.snap +8 -0
  24. package/src/components/Select/index.vue +308 -0
  25. package/src/components/index.ts +4 -4
  26. package/src/components/ui/popover/PopoverOption.vue +4 -0
  27. package/src/locales/en.json +3 -1
  28. package/src/locales/es.json +3 -1
  29. package/src/locales/pt_br.json +3 -1
  30. package/src/stories/Input.mdx +3 -0
  31. package/src/stories/Select.stories.js +161 -0
package/dist/index.d.ts CHANGED
@@ -8886,13 +8886,29 @@ disabled: {
8886
8886
  type: BooleanConstructor;
8887
8887
  default: boolean;
8888
8888
  };
8889
+ readonly: {
8890
+ type: BooleanConstructor;
8891
+ default: boolean;
8892
+ };
8893
+ useFocusProp: {
8894
+ type: BooleanConstructor;
8895
+ default: boolean;
8896
+ };
8897
+ focus: {
8898
+ type: BooleanConstructor;
8899
+ default: boolean;
8900
+ };
8901
+ showClear: {
8902
+ type: BooleanConstructor;
8903
+ default: boolean;
8904
+ };
8889
8905
  }>, {}, {
8890
8906
  val: string;
8891
8907
  }, {
8892
8908
  computedError(): string | boolean;
8893
8909
  }, {
8894
8910
  fullySanitize: fullySanitize;
8895
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
8911
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
8896
8912
  placeholder: {
8897
8913
  type: StringConstructor;
8898
8914
  default: string;
@@ -8970,9 +8986,27 @@ disabled: {
8970
8986
  type: BooleanConstructor;
8971
8987
  default: boolean;
8972
8988
  };
8989
+ readonly: {
8990
+ type: BooleanConstructor;
8991
+ default: boolean;
8992
+ };
8993
+ useFocusProp: {
8994
+ type: BooleanConstructor;
8995
+ default: boolean;
8996
+ };
8997
+ focus: {
8998
+ type: BooleanConstructor;
8999
+ default: boolean;
9000
+ };
9001
+ showClear: {
9002
+ type: BooleanConstructor;
9003
+ default: boolean;
9004
+ };
8973
9005
  }>> & Readonly<{
8974
9006
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
9007
+ onClear?: ((...args: any[]) => any) | undefined;
8975
9008
  }>, {
9009
+ focus: boolean;
8976
9010
  type: string;
8977
9011
  size: string;
8978
9012
  label: string;
@@ -8984,11 +9018,14 @@ disabled: boolean;
8984
9018
  modelValue: string;
8985
9019
  nativeType: string;
8986
9020
  maxlength: number | null;
9021
+ readonly: boolean;
9022
+ useFocusProp: boolean;
8987
9023
  iconLeft: string;
8988
9024
  iconRight: string;
8989
9025
  iconLeftClickable: boolean;
8990
9026
  iconRightClickable: boolean;
8991
9027
  allowTogglePassword: boolean;
9028
+ showClear: boolean;
8992
9029
  errors: string | unknown[];
8993
9030
  hasCloudyColor: boolean;
8994
9031
  showMaxlengthCounter: boolean;
@@ -9043,6 +9080,22 @@ disabled: {
9043
9080
  type: BooleanConstructor;
9044
9081
  default: boolean;
9045
9082
  };
9083
+ readonly: {
9084
+ type: BooleanConstructor;
9085
+ default: boolean;
9086
+ };
9087
+ useFocusProp: {
9088
+ type: BooleanConstructor;
9089
+ default: boolean;
9090
+ };
9091
+ focus: {
9092
+ type: BooleanConstructor;
9093
+ default: boolean;
9094
+ };
9095
+ showClear: {
9096
+ type: BooleanConstructor;
9097
+ default: boolean;
9098
+ };
9046
9099
  }>, {}, {
9047
9100
  isFocused: boolean;
9048
9101
  showPassword: boolean;
@@ -9052,12 +9105,13 @@ iconRightSvg(): string;
9052
9105
  iconScheme(): "fg-base" | "fg-muted";
9053
9106
  attributes(): any;
9054
9107
  }, {
9055
- focus(): void;
9108
+ focusInput(): void;
9056
9109
  onFocus(): void;
9057
9110
  onBlur(): void;
9058
9111
  onIconLeftClick(): void;
9112
+ onClearClick(): void;
9059
9113
  onIconRightClick(): void;
9060
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
9114
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
9061
9115
  placeholder: {
9062
9116
  type: StringConstructor;
9063
9117
  default: null;
@@ -9107,10 +9161,28 @@ disabled: {
9107
9161
  type: BooleanConstructor;
9108
9162
  default: boolean;
9109
9163
  };
9164
+ readonly: {
9165
+ type: BooleanConstructor;
9166
+ default: boolean;
9167
+ };
9168
+ useFocusProp: {
9169
+ type: BooleanConstructor;
9170
+ default: boolean;
9171
+ };
9172
+ focus: {
9173
+ type: BooleanConstructor;
9174
+ default: boolean;
9175
+ };
9176
+ showClear: {
9177
+ type: BooleanConstructor;
9178
+ default: boolean;
9179
+ };
9110
9180
  }>> & Readonly<{
9181
+ onClear?: ((...args: any[]) => any) | undefined;
9111
9182
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
9112
9183
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
9113
9184
  }>, {
9185
+ focus: boolean;
9114
9186
  type: string;
9115
9187
  size: string;
9116
9188
  placeholder: string;
@@ -9118,11 +9190,14 @@ disabled: boolean;
9118
9190
  modelValue: string;
9119
9191
  nativeType: string;
9120
9192
  maxlength: number;
9193
+ readonly: boolean;
9194
+ useFocusProp: boolean;
9121
9195
  iconLeft: string;
9122
9196
  iconRight: string;
9123
9197
  iconLeftClickable: boolean;
9124
9198
  iconRightClickable: boolean;
9125
9199
  allowTogglePassword: boolean;
9200
+ showClear: boolean;
9126
9201
  }, {}, {
9127
9202
  BaseInput: DefineComponent<ExtractPropTypes< {
9128
9203
  type: {
@@ -9148,15 +9223,29 @@ default: string;
9148
9223
  };
9149
9224
  hasIconLeft: BooleanConstructor;
9150
9225
  hasIconRight: BooleanConstructor;
9226
+ hasClearIcon: BooleanConstructor;
9151
9227
  maxlength: {
9152
9228
  type: NumberConstructor;
9153
9229
  default: null;
9154
9230
  };
9231
+ readonly: {
9232
+ type: BooleanConstructor;
9233
+ default: boolean;
9234
+ };
9235
+ useFocusProp: {
9236
+ type: BooleanConstructor;
9237
+ default: boolean;
9238
+ };
9239
+ focus: {
9240
+ type: BooleanConstructor;
9241
+ default: boolean;
9242
+ };
9155
9243
  }>, {}, {}, {
9156
9244
  attributes(): any;
9157
9245
  classes(): (string | {
9158
9246
  'input--has-icon-left': boolean;
9159
9247
  'input--has-icon-right': boolean;
9248
+ 'input--has-clear-icon': boolean;
9160
9249
  })[];
9161
9250
  }, {
9162
9251
  fullySanitize: fullySanitize;
@@ -9184,21 +9273,38 @@ default: string;
9184
9273
  };
9185
9274
  hasIconLeft: BooleanConstructor;
9186
9275
  hasIconRight: BooleanConstructor;
9276
+ hasClearIcon: BooleanConstructor;
9187
9277
  maxlength: {
9188
9278
  type: NumberConstructor;
9189
9279
  default: null;
9190
9280
  };
9281
+ readonly: {
9282
+ type: BooleanConstructor;
9283
+ default: boolean;
9284
+ };
9285
+ useFocusProp: {
9286
+ type: BooleanConstructor;
9287
+ default: boolean;
9288
+ };
9289
+ focus: {
9290
+ type: BooleanConstructor;
9291
+ default: boolean;
9292
+ };
9191
9293
  }>> & Readonly<{
9192
9294
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
9193
9295
  }>, {
9296
+ focus: boolean;
9194
9297
  type: string;
9195
9298
  size: string;
9196
9299
  mask: string | unknown[];
9197
9300
  hasIconLeft: boolean;
9198
9301
  hasIconRight: boolean;
9302
+ hasClearIcon: boolean;
9199
9303
  modelValue: string;
9200
9304
  nativeType: string;
9201
9305
  maxlength: number;
9306
+ readonly: boolean;
9307
+ useFocusProp: boolean;
9202
9308
  }, {}, {}, {
9203
9309
  mask: any;
9204
9310
  }, string, ComponentProvideOptions, true, {}, any>;
@@ -9440,13 +9546,29 @@ disabled: {
9440
9546
  type: BooleanConstructor;
9441
9547
  default: boolean;
9442
9548
  };
9549
+ readonly: {
9550
+ type: BooleanConstructor;
9551
+ default: boolean;
9552
+ };
9553
+ useFocusProp: {
9554
+ type: BooleanConstructor;
9555
+ default: boolean;
9556
+ };
9557
+ focus: {
9558
+ type: BooleanConstructor;
9559
+ default: boolean;
9560
+ };
9561
+ showClear: {
9562
+ type: BooleanConstructor;
9563
+ default: boolean;
9564
+ };
9443
9565
  }>, {}, {
9444
9566
  val: string;
9445
9567
  }, {
9446
9568
  computedError(): string | boolean;
9447
9569
  }, {
9448
9570
  fullySanitize: fullySanitize;
9449
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
9571
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
9450
9572
  placeholder: {
9451
9573
  type: StringConstructor;
9452
9574
  default: string;
@@ -9524,9 +9646,27 @@ disabled: {
9524
9646
  type: BooleanConstructor;
9525
9647
  default: boolean;
9526
9648
  };
9649
+ readonly: {
9650
+ type: BooleanConstructor;
9651
+ default: boolean;
9652
+ };
9653
+ useFocusProp: {
9654
+ type: BooleanConstructor;
9655
+ default: boolean;
9656
+ };
9657
+ focus: {
9658
+ type: BooleanConstructor;
9659
+ default: boolean;
9660
+ };
9661
+ showClear: {
9662
+ type: BooleanConstructor;
9663
+ default: boolean;
9664
+ };
9527
9665
  }>> & Readonly<{
9528
9666
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
9667
+ onClear?: ((...args: any[]) => any) | undefined;
9529
9668
  }>, {
9669
+ focus: boolean;
9530
9670
  type: string;
9531
9671
  size: string;
9532
9672
  label: string;
@@ -9538,11 +9678,14 @@ disabled: boolean;
9538
9678
  modelValue: string;
9539
9679
  nativeType: string;
9540
9680
  maxlength: number | null;
9681
+ readonly: boolean;
9682
+ useFocusProp: boolean;
9541
9683
  iconLeft: string;
9542
9684
  iconRight: string;
9543
9685
  iconLeftClickable: boolean;
9544
9686
  iconRightClickable: boolean;
9545
9687
  allowTogglePassword: boolean;
9688
+ showClear: boolean;
9546
9689
  errors: string | unknown[];
9547
9690
  hasCloudyColor: boolean;
9548
9691
  showMaxlengthCounter: boolean;
@@ -9597,6 +9740,22 @@ disabled: {
9597
9740
  type: BooleanConstructor;
9598
9741
  default: boolean;
9599
9742
  };
9743
+ readonly: {
9744
+ type: BooleanConstructor;
9745
+ default: boolean;
9746
+ };
9747
+ useFocusProp: {
9748
+ type: BooleanConstructor;
9749
+ default: boolean;
9750
+ };
9751
+ focus: {
9752
+ type: BooleanConstructor;
9753
+ default: boolean;
9754
+ };
9755
+ showClear: {
9756
+ type: BooleanConstructor;
9757
+ default: boolean;
9758
+ };
9600
9759
  }>, {}, {
9601
9760
  isFocused: boolean;
9602
9761
  showPassword: boolean;
@@ -9606,12 +9765,13 @@ iconRightSvg(): string;
9606
9765
  iconScheme(): "fg-base" | "fg-muted";
9607
9766
  attributes(): any;
9608
9767
  }, {
9609
- focus(): void;
9768
+ focusInput(): void;
9610
9769
  onFocus(): void;
9611
9770
  onBlur(): void;
9612
9771
  onIconLeftClick(): void;
9772
+ onClearClick(): void;
9613
9773
  onIconRightClick(): void;
9614
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
9774
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
9615
9775
  placeholder: {
9616
9776
  type: StringConstructor;
9617
9777
  default: null;
@@ -9661,10 +9821,28 @@ disabled: {
9661
9821
  type: BooleanConstructor;
9662
9822
  default: boolean;
9663
9823
  };
9824
+ readonly: {
9825
+ type: BooleanConstructor;
9826
+ default: boolean;
9827
+ };
9828
+ useFocusProp: {
9829
+ type: BooleanConstructor;
9830
+ default: boolean;
9831
+ };
9832
+ focus: {
9833
+ type: BooleanConstructor;
9834
+ default: boolean;
9835
+ };
9836
+ showClear: {
9837
+ type: BooleanConstructor;
9838
+ default: boolean;
9839
+ };
9664
9840
  }>> & Readonly<{
9841
+ onClear?: ((...args: any[]) => any) | undefined;
9665
9842
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
9666
9843
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
9667
9844
  }>, {
9845
+ focus: boolean;
9668
9846
  type: string;
9669
9847
  size: string;
9670
9848
  placeholder: string;
@@ -9672,11 +9850,14 @@ disabled: boolean;
9672
9850
  modelValue: string;
9673
9851
  nativeType: string;
9674
9852
  maxlength: number;
9853
+ readonly: boolean;
9854
+ useFocusProp: boolean;
9675
9855
  iconLeft: string;
9676
9856
  iconRight: string;
9677
9857
  iconLeftClickable: boolean;
9678
9858
  iconRightClickable: boolean;
9679
9859
  allowTogglePassword: boolean;
9860
+ showClear: boolean;
9680
9861
  }, {}, {
9681
9862
  BaseInput: DefineComponent<ExtractPropTypes< {
9682
9863
  type: {
@@ -9702,15 +9883,29 @@ default: string;
9702
9883
  };
9703
9884
  hasIconLeft: BooleanConstructor;
9704
9885
  hasIconRight: BooleanConstructor;
9886
+ hasClearIcon: BooleanConstructor;
9705
9887
  maxlength: {
9706
9888
  type: NumberConstructor;
9707
9889
  default: null;
9708
9890
  };
9891
+ readonly: {
9892
+ type: BooleanConstructor;
9893
+ default: boolean;
9894
+ };
9895
+ useFocusProp: {
9896
+ type: BooleanConstructor;
9897
+ default: boolean;
9898
+ };
9899
+ focus: {
9900
+ type: BooleanConstructor;
9901
+ default: boolean;
9902
+ };
9709
9903
  }>, {}, {}, {
9710
9904
  attributes(): any;
9711
9905
  classes(): (string | {
9712
9906
  'input--has-icon-left': boolean;
9713
9907
  'input--has-icon-right': boolean;
9908
+ 'input--has-clear-icon': boolean;
9714
9909
  })[];
9715
9910
  }, {
9716
9911
  fullySanitize: fullySanitize;
@@ -9738,21 +9933,38 @@ default: string;
9738
9933
  };
9739
9934
  hasIconLeft: BooleanConstructor;
9740
9935
  hasIconRight: BooleanConstructor;
9936
+ hasClearIcon: BooleanConstructor;
9741
9937
  maxlength: {
9742
9938
  type: NumberConstructor;
9743
9939
  default: null;
9744
9940
  };
9941
+ readonly: {
9942
+ type: BooleanConstructor;
9943
+ default: boolean;
9944
+ };
9945
+ useFocusProp: {
9946
+ type: BooleanConstructor;
9947
+ default: boolean;
9948
+ };
9949
+ focus: {
9950
+ type: BooleanConstructor;
9951
+ default: boolean;
9952
+ };
9745
9953
  }>> & Readonly<{
9746
9954
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
9747
9955
  }>, {
9956
+ focus: boolean;
9748
9957
  type: string;
9749
9958
  size: string;
9750
9959
  mask: string | unknown[];
9751
9960
  hasIconLeft: boolean;
9752
9961
  hasIconRight: boolean;
9962
+ hasClearIcon: boolean;
9753
9963
  modelValue: string;
9754
9964
  nativeType: string;
9755
9965
  maxlength: number;
9966
+ readonly: boolean;
9967
+ useFocusProp: boolean;
9756
9968
  }, {}, {}, {
9757
9969
  mask: any;
9758
9970
  }, string, ComponentProvideOptions, true, {}, any>;
@@ -11366,13 +11578,29 @@ disabled: {
11366
11578
  type: BooleanConstructor;
11367
11579
  default: boolean;
11368
11580
  };
11581
+ readonly: {
11582
+ type: BooleanConstructor;
11583
+ default: boolean;
11584
+ };
11585
+ useFocusProp: {
11586
+ type: BooleanConstructor;
11587
+ default: boolean;
11588
+ };
11589
+ focus: {
11590
+ type: BooleanConstructor;
11591
+ default: boolean;
11592
+ };
11593
+ showClear: {
11594
+ type: BooleanConstructor;
11595
+ default: boolean;
11596
+ };
11369
11597
  }>, {}, {
11370
11598
  val: string;
11371
11599
  }, {
11372
11600
  computedError(): string | boolean;
11373
11601
  }, {
11374
11602
  fullySanitize: fullySanitize;
11375
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
11603
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
11376
11604
  placeholder: {
11377
11605
  type: StringConstructor;
11378
11606
  default: string;
@@ -11450,9 +11678,27 @@ disabled: {
11450
11678
  type: BooleanConstructor;
11451
11679
  default: boolean;
11452
11680
  };
11681
+ readonly: {
11682
+ type: BooleanConstructor;
11683
+ default: boolean;
11684
+ };
11685
+ useFocusProp: {
11686
+ type: BooleanConstructor;
11687
+ default: boolean;
11688
+ };
11689
+ focus: {
11690
+ type: BooleanConstructor;
11691
+ default: boolean;
11692
+ };
11693
+ showClear: {
11694
+ type: BooleanConstructor;
11695
+ default: boolean;
11696
+ };
11453
11697
  }>> & Readonly<{
11454
11698
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11699
+ onClear?: ((...args: any[]) => any) | undefined;
11455
11700
  }>, {
11701
+ focus: boolean;
11456
11702
  type: string;
11457
11703
  size: string;
11458
11704
  label: string;
@@ -11464,11 +11710,14 @@ disabled: boolean;
11464
11710
  modelValue: string;
11465
11711
  nativeType: string;
11466
11712
  maxlength: number | null;
11713
+ readonly: boolean;
11714
+ useFocusProp: boolean;
11467
11715
  iconLeft: string;
11468
11716
  iconRight: string;
11469
11717
  iconLeftClickable: boolean;
11470
11718
  iconRightClickable: boolean;
11471
11719
  allowTogglePassword: boolean;
11720
+ showClear: boolean;
11472
11721
  errors: string | unknown[];
11473
11722
  hasCloudyColor: boolean;
11474
11723
  showMaxlengthCounter: boolean;
@@ -11523,6 +11772,22 @@ disabled: {
11523
11772
  type: BooleanConstructor;
11524
11773
  default: boolean;
11525
11774
  };
11775
+ readonly: {
11776
+ type: BooleanConstructor;
11777
+ default: boolean;
11778
+ };
11779
+ useFocusProp: {
11780
+ type: BooleanConstructor;
11781
+ default: boolean;
11782
+ };
11783
+ focus: {
11784
+ type: BooleanConstructor;
11785
+ default: boolean;
11786
+ };
11787
+ showClear: {
11788
+ type: BooleanConstructor;
11789
+ default: boolean;
11790
+ };
11526
11791
  }>, {}, {
11527
11792
  isFocused: boolean;
11528
11793
  showPassword: boolean;
@@ -11532,12 +11797,13 @@ iconRightSvg(): string;
11532
11797
  iconScheme(): "fg-base" | "fg-muted";
11533
11798
  attributes(): any;
11534
11799
  }, {
11535
- focus(): void;
11800
+ focusInput(): void;
11536
11801
  onFocus(): void;
11537
11802
  onBlur(): void;
11538
11803
  onIconLeftClick(): void;
11804
+ onClearClick(): void;
11539
11805
  onIconRightClick(): void;
11540
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
11806
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
11541
11807
  placeholder: {
11542
11808
  type: StringConstructor;
11543
11809
  default: null;
@@ -11587,10 +11853,28 @@ disabled: {
11587
11853
  type: BooleanConstructor;
11588
11854
  default: boolean;
11589
11855
  };
11856
+ readonly: {
11857
+ type: BooleanConstructor;
11858
+ default: boolean;
11859
+ };
11860
+ useFocusProp: {
11861
+ type: BooleanConstructor;
11862
+ default: boolean;
11863
+ };
11864
+ focus: {
11865
+ type: BooleanConstructor;
11866
+ default: boolean;
11867
+ };
11868
+ showClear: {
11869
+ type: BooleanConstructor;
11870
+ default: boolean;
11871
+ };
11590
11872
  }>> & Readonly<{
11873
+ onClear?: ((...args: any[]) => any) | undefined;
11591
11874
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
11592
11875
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
11593
11876
  }>, {
11877
+ focus: boolean;
11594
11878
  type: string;
11595
11879
  size: string;
11596
11880
  placeholder: string;
@@ -11598,11 +11882,14 @@ disabled: boolean;
11598
11882
  modelValue: string;
11599
11883
  nativeType: string;
11600
11884
  maxlength: number;
11885
+ readonly: boolean;
11886
+ useFocusProp: boolean;
11601
11887
  iconLeft: string;
11602
11888
  iconRight: string;
11603
11889
  iconLeftClickable: boolean;
11604
11890
  iconRightClickable: boolean;
11605
11891
  allowTogglePassword: boolean;
11892
+ showClear: boolean;
11606
11893
  }, {}, {
11607
11894
  BaseInput: DefineComponent<ExtractPropTypes< {
11608
11895
  type: {
@@ -11628,15 +11915,29 @@ default: string;
11628
11915
  };
11629
11916
  hasIconLeft: BooleanConstructor;
11630
11917
  hasIconRight: BooleanConstructor;
11918
+ hasClearIcon: BooleanConstructor;
11631
11919
  maxlength: {
11632
11920
  type: NumberConstructor;
11633
11921
  default: null;
11634
11922
  };
11923
+ readonly: {
11924
+ type: BooleanConstructor;
11925
+ default: boolean;
11926
+ };
11927
+ useFocusProp: {
11928
+ type: BooleanConstructor;
11929
+ default: boolean;
11930
+ };
11931
+ focus: {
11932
+ type: BooleanConstructor;
11933
+ default: boolean;
11934
+ };
11635
11935
  }>, {}, {}, {
11636
11936
  attributes(): any;
11637
11937
  classes(): (string | {
11638
11938
  'input--has-icon-left': boolean;
11639
11939
  'input--has-icon-right': boolean;
11940
+ 'input--has-clear-icon': boolean;
11640
11941
  })[];
11641
11942
  }, {
11642
11943
  fullySanitize: fullySanitize;
@@ -11664,21 +11965,38 @@ default: string;
11664
11965
  };
11665
11966
  hasIconLeft: BooleanConstructor;
11666
11967
  hasIconRight: BooleanConstructor;
11968
+ hasClearIcon: BooleanConstructor;
11667
11969
  maxlength: {
11668
11970
  type: NumberConstructor;
11669
11971
  default: null;
11670
11972
  };
11973
+ readonly: {
11974
+ type: BooleanConstructor;
11975
+ default: boolean;
11976
+ };
11977
+ useFocusProp: {
11978
+ type: BooleanConstructor;
11979
+ default: boolean;
11980
+ };
11981
+ focus: {
11982
+ type: BooleanConstructor;
11983
+ default: boolean;
11984
+ };
11671
11985
  }>> & Readonly<{
11672
11986
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11673
11987
  }>, {
11988
+ focus: boolean;
11674
11989
  type: string;
11675
11990
  size: string;
11676
11991
  mask: string | unknown[];
11677
11992
  hasIconLeft: boolean;
11678
11993
  hasIconRight: boolean;
11994
+ hasClearIcon: boolean;
11679
11995
  modelValue: string;
11680
11996
  nativeType: string;
11681
11997
  maxlength: number;
11998
+ readonly: boolean;
11999
+ useFocusProp: boolean;
11682
12000
  }, {}, {}, {
11683
12001
  mask: any;
11684
12002
  }, string, ComponentProvideOptions, true, {}, any>;
@@ -11855,13 +12173,29 @@ disabled: {
11855
12173
  type: BooleanConstructor;
11856
12174
  default: boolean;
11857
12175
  };
12176
+ readonly: {
12177
+ type: BooleanConstructor;
12178
+ default: boolean;
12179
+ };
12180
+ useFocusProp: {
12181
+ type: BooleanConstructor;
12182
+ default: boolean;
12183
+ };
12184
+ focus: {
12185
+ type: BooleanConstructor;
12186
+ default: boolean;
12187
+ };
12188
+ showClear: {
12189
+ type: BooleanConstructor;
12190
+ default: boolean;
12191
+ };
11858
12192
  }>, {}, {
11859
12193
  val: string;
11860
12194
  }, {
11861
12195
  computedError(): string | boolean;
11862
12196
  }, {
11863
12197
  fullySanitize: fullySanitize;
11864
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
12198
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
11865
12199
  placeholder: {
11866
12200
  type: StringConstructor;
11867
12201
  default: string;
@@ -11939,9 +12273,27 @@ disabled: {
11939
12273
  type: BooleanConstructor;
11940
12274
  default: boolean;
11941
12275
  };
12276
+ readonly: {
12277
+ type: BooleanConstructor;
12278
+ default: boolean;
12279
+ };
12280
+ useFocusProp: {
12281
+ type: BooleanConstructor;
12282
+ default: boolean;
12283
+ };
12284
+ focus: {
12285
+ type: BooleanConstructor;
12286
+ default: boolean;
12287
+ };
12288
+ showClear: {
12289
+ type: BooleanConstructor;
12290
+ default: boolean;
12291
+ };
11942
12292
  }>> & Readonly<{
11943
12293
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
12294
+ onClear?: ((...args: any[]) => any) | undefined;
11944
12295
  }>, {
12296
+ focus: boolean;
11945
12297
  type: string;
11946
12298
  size: string;
11947
12299
  label: string;
@@ -11953,11 +12305,14 @@ disabled: boolean;
11953
12305
  modelValue: string;
11954
12306
  nativeType: string;
11955
12307
  maxlength: number | null;
12308
+ readonly: boolean;
12309
+ useFocusProp: boolean;
11956
12310
  iconLeft: string;
11957
12311
  iconRight: string;
11958
12312
  iconLeftClickable: boolean;
11959
12313
  iconRightClickable: boolean;
11960
12314
  allowTogglePassword: boolean;
12315
+ showClear: boolean;
11961
12316
  errors: string | unknown[];
11962
12317
  hasCloudyColor: boolean;
11963
12318
  showMaxlengthCounter: boolean;
@@ -12012,6 +12367,22 @@ disabled: {
12012
12367
  type: BooleanConstructor;
12013
12368
  default: boolean;
12014
12369
  };
12370
+ readonly: {
12371
+ type: BooleanConstructor;
12372
+ default: boolean;
12373
+ };
12374
+ useFocusProp: {
12375
+ type: BooleanConstructor;
12376
+ default: boolean;
12377
+ };
12378
+ focus: {
12379
+ type: BooleanConstructor;
12380
+ default: boolean;
12381
+ };
12382
+ showClear: {
12383
+ type: BooleanConstructor;
12384
+ default: boolean;
12385
+ };
12015
12386
  }>, {}, {
12016
12387
  isFocused: boolean;
12017
12388
  showPassword: boolean;
@@ -12021,12 +12392,13 @@ iconRightSvg(): string;
12021
12392
  iconScheme(): "fg-base" | "fg-muted";
12022
12393
  attributes(): any;
12023
12394
  }, {
12024
- focus(): void;
12395
+ focusInput(): void;
12025
12396
  onFocus(): void;
12026
12397
  onBlur(): void;
12027
12398
  onIconLeftClick(): void;
12399
+ onClearClick(): void;
12028
12400
  onIconRightClick(): void;
12029
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
12401
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
12030
12402
  placeholder: {
12031
12403
  type: StringConstructor;
12032
12404
  default: null;
@@ -12076,10 +12448,28 @@ disabled: {
12076
12448
  type: BooleanConstructor;
12077
12449
  default: boolean;
12078
12450
  };
12451
+ readonly: {
12452
+ type: BooleanConstructor;
12453
+ default: boolean;
12454
+ };
12455
+ useFocusProp: {
12456
+ type: BooleanConstructor;
12457
+ default: boolean;
12458
+ };
12459
+ focus: {
12460
+ type: BooleanConstructor;
12461
+ default: boolean;
12462
+ };
12463
+ showClear: {
12464
+ type: BooleanConstructor;
12465
+ default: boolean;
12466
+ };
12079
12467
  }>> & Readonly<{
12468
+ onClear?: ((...args: any[]) => any) | undefined;
12080
12469
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
12081
12470
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
12082
12471
  }>, {
12472
+ focus: boolean;
12083
12473
  type: string;
12084
12474
  size: string;
12085
12475
  placeholder: string;
@@ -12087,11 +12477,14 @@ disabled: boolean;
12087
12477
  modelValue: string;
12088
12478
  nativeType: string;
12089
12479
  maxlength: number;
12480
+ readonly: boolean;
12481
+ useFocusProp: boolean;
12090
12482
  iconLeft: string;
12091
12483
  iconRight: string;
12092
12484
  iconLeftClickable: boolean;
12093
12485
  iconRightClickable: boolean;
12094
12486
  allowTogglePassword: boolean;
12487
+ showClear: boolean;
12095
12488
  }, {}, {
12096
12489
  BaseInput: DefineComponent<ExtractPropTypes< {
12097
12490
  type: {
@@ -12117,15 +12510,29 @@ default: string;
12117
12510
  };
12118
12511
  hasIconLeft: BooleanConstructor;
12119
12512
  hasIconRight: BooleanConstructor;
12513
+ hasClearIcon: BooleanConstructor;
12120
12514
  maxlength: {
12121
12515
  type: NumberConstructor;
12122
12516
  default: null;
12123
12517
  };
12518
+ readonly: {
12519
+ type: BooleanConstructor;
12520
+ default: boolean;
12521
+ };
12522
+ useFocusProp: {
12523
+ type: BooleanConstructor;
12524
+ default: boolean;
12525
+ };
12526
+ focus: {
12527
+ type: BooleanConstructor;
12528
+ default: boolean;
12529
+ };
12124
12530
  }>, {}, {}, {
12125
12531
  attributes(): any;
12126
12532
  classes(): (string | {
12127
12533
  'input--has-icon-left': boolean;
12128
12534
  'input--has-icon-right': boolean;
12535
+ 'input--has-clear-icon': boolean;
12129
12536
  })[];
12130
12537
  }, {
12131
12538
  fullySanitize: fullySanitize;
@@ -12153,21 +12560,38 @@ default: string;
12153
12560
  };
12154
12561
  hasIconLeft: BooleanConstructor;
12155
12562
  hasIconRight: BooleanConstructor;
12563
+ hasClearIcon: BooleanConstructor;
12156
12564
  maxlength: {
12157
12565
  type: NumberConstructor;
12158
12566
  default: null;
12159
12567
  };
12568
+ readonly: {
12569
+ type: BooleanConstructor;
12570
+ default: boolean;
12571
+ };
12572
+ useFocusProp: {
12573
+ type: BooleanConstructor;
12574
+ default: boolean;
12575
+ };
12576
+ focus: {
12577
+ type: BooleanConstructor;
12578
+ default: boolean;
12579
+ };
12160
12580
  }>> & Readonly<{
12161
12581
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
12162
12582
  }>, {
12583
+ focus: boolean;
12163
12584
  type: string;
12164
12585
  size: string;
12165
12586
  mask: string | unknown[];
12166
12587
  hasIconLeft: boolean;
12167
12588
  hasIconRight: boolean;
12589
+ hasClearIcon: boolean;
12168
12590
  modelValue: string;
12169
12591
  nativeType: string;
12170
12592
  maxlength: number;
12593
+ readonly: boolean;
12594
+ useFocusProp: boolean;
12171
12595
  }, {}, {}, {
12172
12596
  mask: any;
12173
12597
  }, string, ComponentProvideOptions, true, {}, any>;
@@ -12352,8 +12776,8 @@ type: string;
12352
12776
  size: string;
12353
12777
  disabled: boolean;
12354
12778
  nativeType: string;
12355
- allowTogglePassword: boolean;
12356
12779
  readonly: boolean;
12780
+ allowTogglePassword: boolean;
12357
12781
  }, {}, {
12358
12782
  UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12359
12783
  click: (event: Event) => any;
@@ -12454,8 +12878,8 @@ type: string;
12454
12878
  size: string;
12455
12879
  disabled: boolean;
12456
12880
  nativeType: string;
12457
- allowTogglePassword: boolean;
12458
12881
  readonly: boolean;
12882
+ allowTogglePassword: boolean;
12459
12883
  }, {}, {
12460
12884
  UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12461
12885
  click: (event: Event) => any;
@@ -13297,13 +13721,29 @@ disabled: {
13297
13721
  type: BooleanConstructor;
13298
13722
  default: boolean;
13299
13723
  };
13724
+ readonly: {
13725
+ type: BooleanConstructor;
13726
+ default: boolean;
13727
+ };
13728
+ useFocusProp: {
13729
+ type: BooleanConstructor;
13730
+ default: boolean;
13731
+ };
13732
+ focus: {
13733
+ type: BooleanConstructor;
13734
+ default: boolean;
13735
+ };
13736
+ showClear: {
13737
+ type: BooleanConstructor;
13738
+ default: boolean;
13739
+ };
13300
13740
  }>, {}, {
13301
13741
  val: string;
13302
13742
  }, {
13303
13743
  computedError(): string | boolean;
13304
13744
  }, {
13305
13745
  fullySanitize: fullySanitize;
13306
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
13746
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
13307
13747
  placeholder: {
13308
13748
  type: StringConstructor;
13309
13749
  default: string;
@@ -13381,9 +13821,27 @@ disabled: {
13381
13821
  type: BooleanConstructor;
13382
13822
  default: boolean;
13383
13823
  };
13824
+ readonly: {
13825
+ type: BooleanConstructor;
13826
+ default: boolean;
13827
+ };
13828
+ useFocusProp: {
13829
+ type: BooleanConstructor;
13830
+ default: boolean;
13831
+ };
13832
+ focus: {
13833
+ type: BooleanConstructor;
13834
+ default: boolean;
13835
+ };
13836
+ showClear: {
13837
+ type: BooleanConstructor;
13838
+ default: boolean;
13839
+ };
13384
13840
  }>> & Readonly<{
13385
13841
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13842
+ onClear?: ((...args: any[]) => any) | undefined;
13386
13843
  }>, {
13844
+ focus: boolean;
13387
13845
  type: string;
13388
13846
  size: string;
13389
13847
  label: string;
@@ -13395,11 +13853,14 @@ disabled: boolean;
13395
13853
  modelValue: string;
13396
13854
  nativeType: string;
13397
13855
  maxlength: number | null;
13856
+ readonly: boolean;
13857
+ useFocusProp: boolean;
13398
13858
  iconLeft: string;
13399
13859
  iconRight: string;
13400
13860
  iconLeftClickable: boolean;
13401
13861
  iconRightClickable: boolean;
13402
13862
  allowTogglePassword: boolean;
13863
+ showClear: boolean;
13403
13864
  errors: string | unknown[];
13404
13865
  hasCloudyColor: boolean;
13405
13866
  showMaxlengthCounter: boolean;
@@ -13454,6 +13915,22 @@ disabled: {
13454
13915
  type: BooleanConstructor;
13455
13916
  default: boolean;
13456
13917
  };
13918
+ readonly: {
13919
+ type: BooleanConstructor;
13920
+ default: boolean;
13921
+ };
13922
+ useFocusProp: {
13923
+ type: BooleanConstructor;
13924
+ default: boolean;
13925
+ };
13926
+ focus: {
13927
+ type: BooleanConstructor;
13928
+ default: boolean;
13929
+ };
13930
+ showClear: {
13931
+ type: BooleanConstructor;
13932
+ default: boolean;
13933
+ };
13457
13934
  }>, {}, {
13458
13935
  isFocused: boolean;
13459
13936
  showPassword: boolean;
@@ -13463,12 +13940,13 @@ iconRightSvg(): string;
13463
13940
  iconScheme(): "fg-base" | "fg-muted";
13464
13941
  attributes(): any;
13465
13942
  }, {
13466
- focus(): void;
13943
+ focusInput(): void;
13467
13944
  onFocus(): void;
13468
13945
  onBlur(): void;
13469
13946
  onIconLeftClick(): void;
13947
+ onClearClick(): void;
13470
13948
  onIconRightClick(): void;
13471
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
13949
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
13472
13950
  placeholder: {
13473
13951
  type: StringConstructor;
13474
13952
  default: null;
@@ -13518,10 +13996,28 @@ disabled: {
13518
13996
  type: BooleanConstructor;
13519
13997
  default: boolean;
13520
13998
  };
13999
+ readonly: {
14000
+ type: BooleanConstructor;
14001
+ default: boolean;
14002
+ };
14003
+ useFocusProp: {
14004
+ type: BooleanConstructor;
14005
+ default: boolean;
14006
+ };
14007
+ focus: {
14008
+ type: BooleanConstructor;
14009
+ default: boolean;
14010
+ };
14011
+ showClear: {
14012
+ type: BooleanConstructor;
14013
+ default: boolean;
14014
+ };
13521
14015
  }>> & Readonly<{
14016
+ onClear?: ((...args: any[]) => any) | undefined;
13522
14017
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
13523
14018
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
13524
14019
  }>, {
14020
+ focus: boolean;
13525
14021
  type: string;
13526
14022
  size: string;
13527
14023
  placeholder: string;
@@ -13529,11 +14025,14 @@ disabled: boolean;
13529
14025
  modelValue: string;
13530
14026
  nativeType: string;
13531
14027
  maxlength: number;
14028
+ readonly: boolean;
14029
+ useFocusProp: boolean;
13532
14030
  iconLeft: string;
13533
14031
  iconRight: string;
13534
14032
  iconLeftClickable: boolean;
13535
14033
  iconRightClickable: boolean;
13536
14034
  allowTogglePassword: boolean;
14035
+ showClear: boolean;
13537
14036
  }, {}, {
13538
14037
  BaseInput: DefineComponent<ExtractPropTypes< {
13539
14038
  type: {
@@ -13559,15 +14058,29 @@ default: string;
13559
14058
  };
13560
14059
  hasIconLeft: BooleanConstructor;
13561
14060
  hasIconRight: BooleanConstructor;
14061
+ hasClearIcon: BooleanConstructor;
13562
14062
  maxlength: {
13563
14063
  type: NumberConstructor;
13564
14064
  default: null;
13565
14065
  };
14066
+ readonly: {
14067
+ type: BooleanConstructor;
14068
+ default: boolean;
14069
+ };
14070
+ useFocusProp: {
14071
+ type: BooleanConstructor;
14072
+ default: boolean;
14073
+ };
14074
+ focus: {
14075
+ type: BooleanConstructor;
14076
+ default: boolean;
14077
+ };
13566
14078
  }>, {}, {}, {
13567
14079
  attributes(): any;
13568
14080
  classes(): (string | {
13569
14081
  'input--has-icon-left': boolean;
13570
14082
  'input--has-icon-right': boolean;
14083
+ 'input--has-clear-icon': boolean;
13571
14084
  })[];
13572
14085
  }, {
13573
14086
  fullySanitize: fullySanitize;
@@ -13595,21 +14108,38 @@ default: string;
13595
14108
  };
13596
14109
  hasIconLeft: BooleanConstructor;
13597
14110
  hasIconRight: BooleanConstructor;
14111
+ hasClearIcon: BooleanConstructor;
13598
14112
  maxlength: {
13599
14113
  type: NumberConstructor;
13600
14114
  default: null;
13601
14115
  };
14116
+ readonly: {
14117
+ type: BooleanConstructor;
14118
+ default: boolean;
14119
+ };
14120
+ useFocusProp: {
14121
+ type: BooleanConstructor;
14122
+ default: boolean;
14123
+ };
14124
+ focus: {
14125
+ type: BooleanConstructor;
14126
+ default: boolean;
14127
+ };
13602
14128
  }>> & Readonly<{
13603
14129
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13604
14130
  }>, {
14131
+ focus: boolean;
13605
14132
  type: string;
13606
14133
  size: string;
13607
14134
  mask: string | unknown[];
13608
14135
  hasIconLeft: boolean;
13609
14136
  hasIconRight: boolean;
14137
+ hasClearIcon: boolean;
13610
14138
  modelValue: string;
13611
14139
  nativeType: string;
13612
14140
  maxlength: number;
14141
+ readonly: boolean;
14142
+ useFocusProp: boolean;
13613
14143
  }, {}, {}, {
13614
14144
  mask: any;
13615
14145
  }, string, ComponentProvideOptions, true, {}, any>;
@@ -13912,13 +14442,29 @@ disabled: {
13912
14442
  type: BooleanConstructor;
13913
14443
  default: boolean;
13914
14444
  };
14445
+ readonly: {
14446
+ type: BooleanConstructor;
14447
+ default: boolean;
14448
+ };
14449
+ useFocusProp: {
14450
+ type: BooleanConstructor;
14451
+ default: boolean;
14452
+ };
14453
+ focus: {
14454
+ type: BooleanConstructor;
14455
+ default: boolean;
14456
+ };
14457
+ showClear: {
14458
+ type: BooleanConstructor;
14459
+ default: boolean;
14460
+ };
13915
14461
  }>, {}, {
13916
14462
  val: string;
13917
14463
  }, {
13918
14464
  computedError(): string | boolean;
13919
14465
  }, {
13920
14466
  fullySanitize: fullySanitize;
13921
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
14467
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
13922
14468
  placeholder: {
13923
14469
  type: StringConstructor;
13924
14470
  default: string;
@@ -13996,9 +14542,27 @@ disabled: {
13996
14542
  type: BooleanConstructor;
13997
14543
  default: boolean;
13998
14544
  };
14545
+ readonly: {
14546
+ type: BooleanConstructor;
14547
+ default: boolean;
14548
+ };
14549
+ useFocusProp: {
14550
+ type: BooleanConstructor;
14551
+ default: boolean;
14552
+ };
14553
+ focus: {
14554
+ type: BooleanConstructor;
14555
+ default: boolean;
14556
+ };
14557
+ showClear: {
14558
+ type: BooleanConstructor;
14559
+ default: boolean;
14560
+ };
13999
14561
  }>> & Readonly<{
14000
14562
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14563
+ onClear?: ((...args: any[]) => any) | undefined;
14001
14564
  }>, {
14565
+ focus: boolean;
14002
14566
  type: string;
14003
14567
  size: string;
14004
14568
  label: string;
@@ -14010,11 +14574,14 @@ disabled: boolean;
14010
14574
  modelValue: string;
14011
14575
  nativeType: string;
14012
14576
  maxlength: number | null;
14577
+ readonly: boolean;
14578
+ useFocusProp: boolean;
14013
14579
  iconLeft: string;
14014
14580
  iconRight: string;
14015
14581
  iconLeftClickable: boolean;
14016
14582
  iconRightClickable: boolean;
14017
14583
  allowTogglePassword: boolean;
14584
+ showClear: boolean;
14018
14585
  errors: string | unknown[];
14019
14586
  hasCloudyColor: boolean;
14020
14587
  showMaxlengthCounter: boolean;
@@ -14069,6 +14636,22 @@ disabled: {
14069
14636
  type: BooleanConstructor;
14070
14637
  default: boolean;
14071
14638
  };
14639
+ readonly: {
14640
+ type: BooleanConstructor;
14641
+ default: boolean;
14642
+ };
14643
+ useFocusProp: {
14644
+ type: BooleanConstructor;
14645
+ default: boolean;
14646
+ };
14647
+ focus: {
14648
+ type: BooleanConstructor;
14649
+ default: boolean;
14650
+ };
14651
+ showClear: {
14652
+ type: BooleanConstructor;
14653
+ default: boolean;
14654
+ };
14072
14655
  }>, {}, {
14073
14656
  isFocused: boolean;
14074
14657
  showPassword: boolean;
@@ -14078,12 +14661,13 @@ iconRightSvg(): string;
14078
14661
  iconScheme(): "fg-base" | "fg-muted";
14079
14662
  attributes(): any;
14080
14663
  }, {
14081
- focus(): void;
14664
+ focusInput(): void;
14082
14665
  onFocus(): void;
14083
14666
  onBlur(): void;
14084
14667
  onIconLeftClick(): void;
14668
+ onClearClick(): void;
14085
14669
  onIconRightClick(): void;
14086
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
14670
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", PublicProps, Readonly<ExtractPropTypes< {
14087
14671
  placeholder: {
14088
14672
  type: StringConstructor;
14089
14673
  default: null;
@@ -14133,10 +14717,28 @@ disabled: {
14133
14717
  type: BooleanConstructor;
14134
14718
  default: boolean;
14135
14719
  };
14720
+ readonly: {
14721
+ type: BooleanConstructor;
14722
+ default: boolean;
14723
+ };
14724
+ useFocusProp: {
14725
+ type: BooleanConstructor;
14726
+ default: boolean;
14727
+ };
14728
+ focus: {
14729
+ type: BooleanConstructor;
14730
+ default: boolean;
14731
+ };
14732
+ showClear: {
14733
+ type: BooleanConstructor;
14734
+ default: boolean;
14735
+ };
14136
14736
  }>> & Readonly<{
14737
+ onClear?: ((...args: any[]) => any) | undefined;
14137
14738
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
14138
14739
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
14139
14740
  }>, {
14741
+ focus: boolean;
14140
14742
  type: string;
14141
14743
  size: string;
14142
14744
  placeholder: string;
@@ -14144,11 +14746,14 @@ disabled: boolean;
14144
14746
  modelValue: string;
14145
14747
  nativeType: string;
14146
14748
  maxlength: number;
14749
+ readonly: boolean;
14750
+ useFocusProp: boolean;
14147
14751
  iconLeft: string;
14148
14752
  iconRight: string;
14149
14753
  iconLeftClickable: boolean;
14150
14754
  iconRightClickable: boolean;
14151
14755
  allowTogglePassword: boolean;
14756
+ showClear: boolean;
14152
14757
  }, {}, {
14153
14758
  BaseInput: DefineComponent<ExtractPropTypes< {
14154
14759
  type: {
@@ -14174,15 +14779,29 @@ default: string;
14174
14779
  };
14175
14780
  hasIconLeft: BooleanConstructor;
14176
14781
  hasIconRight: BooleanConstructor;
14782
+ hasClearIcon: BooleanConstructor;
14177
14783
  maxlength: {
14178
14784
  type: NumberConstructor;
14179
14785
  default: null;
14180
14786
  };
14787
+ readonly: {
14788
+ type: BooleanConstructor;
14789
+ default: boolean;
14790
+ };
14791
+ useFocusProp: {
14792
+ type: BooleanConstructor;
14793
+ default: boolean;
14794
+ };
14795
+ focus: {
14796
+ type: BooleanConstructor;
14797
+ default: boolean;
14798
+ };
14181
14799
  }>, {}, {}, {
14182
14800
  attributes(): any;
14183
14801
  classes(): (string | {
14184
14802
  'input--has-icon-left': boolean;
14185
14803
  'input--has-icon-right': boolean;
14804
+ 'input--has-clear-icon': boolean;
14186
14805
  })[];
14187
14806
  }, {
14188
14807
  fullySanitize: fullySanitize;
@@ -14210,21 +14829,38 @@ default: string;
14210
14829
  };
14211
14830
  hasIconLeft: BooleanConstructor;
14212
14831
  hasIconRight: BooleanConstructor;
14832
+ hasClearIcon: BooleanConstructor;
14213
14833
  maxlength: {
14214
14834
  type: NumberConstructor;
14215
14835
  default: null;
14216
14836
  };
14837
+ readonly: {
14838
+ type: BooleanConstructor;
14839
+ default: boolean;
14840
+ };
14841
+ useFocusProp: {
14842
+ type: BooleanConstructor;
14843
+ default: boolean;
14844
+ };
14845
+ focus: {
14846
+ type: BooleanConstructor;
14847
+ default: boolean;
14848
+ };
14217
14849
  }>> & Readonly<{
14218
14850
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14219
14851
  }>, {
14852
+ focus: boolean;
14220
14853
  type: string;
14221
14854
  size: string;
14222
14855
  mask: string | unknown[];
14223
14856
  hasIconLeft: boolean;
14224
14857
  hasIconRight: boolean;
14858
+ hasClearIcon: boolean;
14225
14859
  modelValue: string;
14226
14860
  nativeType: string;
14227
14861
  maxlength: number;
14862
+ readonly: boolean;
14863
+ useFocusProp: boolean;
14228
14864
  }, {}, {}, {
14229
14865
  mask: any;
14230
14866
  }, string, ComponentProvideOptions, true, {}, any>;
@@ -16847,6 +17483,10 @@ class?: HTMLAttributes["class"];
16847
17483
  };
16848
17484
  });
16849
17485
 
17486
+ export declare const UnnnicSelect: VueComponent;
17487
+
17488
+ export declare const unnnicSelect: VueComponent;
17489
+
16850
17490
  export declare const UnnnicSelectItem: DefineComponent<ExtractPropTypes< {
16851
17491
  size: {
16852
17492
  type: StringConstructor;