vue-quest-ui 0.0.84 → 0.0.86
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/README.md +44 -32
- package/dist/vue-quest-ui.css +1 -1
- package/dist/vue-quest-ui.js +2480 -2305
- package/dist/vue-quest-ui.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/shared/ui/QstImageUploader.vue +209 -0
- package/src/components/shared/ui/QstImg.vue +73 -28
- package/src/components/shared/ui/QstModal.vue +34 -5
package/README.md
CHANGED
|
@@ -167,6 +167,9 @@ All components can be customized based on your needs by passing props to them. R
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
170
173
|
|
|
171
174
|
|
|
172
175
|
|
|
@@ -200,20 +203,20 @@ All components can be customized based on your needs by passing props to them. R
|
|
|
200
203
|
* [VisualTable (v0.0.58)](#visualtable)
|
|
201
204
|
* [QstBox (v0.0.59)](#qstbox)
|
|
202
205
|
* [QstToast (v0.0.59)](#qsttoast)
|
|
203
|
-
* [QstToastContent (v0.0.59)](#qsttoastcontent)
|
|
204
206
|
* [QstUserSnippet (v0.0.67)](#qstusersnippet)
|
|
205
207
|
* [QstCreditCardForm (v0.0.76)](#qstcreditcardform)
|
|
206
208
|
* [QstDigitInput (v0.0.76)](#qstdigitinput)
|
|
207
209
|
* [QstImgGallery (v0.0.76)](#qstimggallery)
|
|
208
210
|
* [QstTimeline (v0.0.78)](#qsttimeline)
|
|
209
211
|
* [QstStatusPipeline (v0.0.79)](#qststatuspipeline)
|
|
212
|
+
* [QstImageUploader (v0.0.86)](#qstimageuploader)
|
|
210
213
|
|
|
211
214
|
## Props
|
|
212
215
|
|
|
213
216
|
### `QstIcon`
|
|
214
217
|
|
|
215
218
|
|
|
216
|
-
A
|
|
219
|
+
A customizable icon component that displays Iconify icons with a built-in library of shortcut icons (qst-*), optional circular styling, and color support.
|
|
217
220
|
|
|
218
221
|
| Name | Type | Required | Default | Description |
|
|
219
222
|
|------|------|----------|---------|-------------|
|
|
@@ -362,7 +365,7 @@ A dropdown component that displays an interactive menu, which can be triggered b
|
|
|
362
365
|
### `QstLoader`
|
|
363
366
|
|
|
364
367
|
|
|
365
|
-
A loader component
|
|
368
|
+
A loader component with support for inline, absolute, and full-page positioning modes, optional backdrop overlay, custom loading images, and subtext.
|
|
366
369
|
|
|
367
370
|
| Name | Type | Required | Default | Description |
|
|
368
371
|
|------|------|----------|---------|-------------|
|
|
@@ -404,6 +407,9 @@ A reusable modal component that provides a flexible, customizable overlay for di
|
|
|
404
407
|
| hideCloseBtn | boolean | false | false | — |
|
|
405
408
|
| closeOnSubmit | boolean | false | false | The modal will be closed when the submit button is clicked. |
|
|
406
409
|
| hideScroll | boolean | false | true | If the modal has overflow, the scrollbar will be hidden. |
|
|
410
|
+
| closeOnOutsideClick | boolean | false | true | Closes the modal on outside click and emits the 'on-cancel' event. (if cancelOnModalClose is also true) |
|
|
411
|
+
| cancelOnModalClose | boolean | false | true | Emits the 'on-cancel' event when the modal closes by either clicking the 'X' icon or clicking outside the modal. (event is always emited when showCancel is true and user clicks Cancel button) |
|
|
412
|
+
| hideOverlay | boolean | false | false | Removes the overlay behind the modal. |
|
|
407
413
|
|
|
408
414
|
|
|
409
415
|
|
|
@@ -437,7 +443,7 @@ A custom designed switch component that allows users to toggle between two state
|
|
|
437
443
|
### `QstScrollContainer`
|
|
438
444
|
|
|
439
445
|
|
|
440
|
-
A scroll wrapper component
|
|
446
|
+
A horizontal scroll wrapper component with configurable navigation arrows, pagination dots, progress bar, and autoplay functionality for carousel-like content.
|
|
441
447
|
|
|
442
448
|
| Name | Type | Required | Default | Description |
|
|
443
449
|
|------|------|----------|---------|-------------|
|
|
@@ -461,18 +467,20 @@ A scroll wrapper component that uses a slot to render content, with configurable
|
|
|
461
467
|
### `QstImg`
|
|
462
468
|
|
|
463
469
|
|
|
464
|
-
A component for displaying images
|
|
470
|
+
A component for displaying images with support for lazy loading, hover image toggling, zoomable modal view, and optional overlay and delete functionality.
|
|
465
471
|
|
|
466
472
|
| Name | Type | Required | Default | Description |
|
|
467
473
|
|------|------|----------|---------|-------------|
|
|
468
474
|
| src | string | true | — | The source of image that will be displayed. |
|
|
469
475
|
| alt | string | false | null | Alt text for the image. |
|
|
470
|
-
| width |
|
|
471
|
-
| height |
|
|
476
|
+
| width | string | false | 100px | The width of the image. |
|
|
477
|
+
| height | string | false | — | The height of the image. |
|
|
472
478
|
| lazyLoad | boolean | false | false | Utilizes Intersection Observer to lazy load images, only when the image is in the viewport. |
|
|
473
479
|
| hoverImage | string | false | null | The source of the image that will be showed when hovering over the image src. |
|
|
474
480
|
| circle | boolean | false | false | Shows the image in a circle. |
|
|
475
481
|
| useZoom | boolean | false | false | When the user clicks the image, a modal will open with a zoomed image. |
|
|
482
|
+
| showOverlay | boolean | false | false | Shows an overlay when hovering over the image. |
|
|
483
|
+
| useDeleteBtn | boolean | false | false | Shows a delete button when hovering over the image, emits the 'on-delete' event. |
|
|
476
484
|
|
|
477
485
|
|
|
478
486
|
|
|
@@ -483,7 +491,7 @@ A component for displaying images, with options to toggle images on hover or ope
|
|
|
483
491
|
### `QstTag`
|
|
484
492
|
|
|
485
493
|
|
|
486
|
-
A component
|
|
494
|
+
A customizable label component for displaying tags, badges, or status indicators with support for links, icons, tooltips, and dismissible close buttons.
|
|
487
495
|
|
|
488
496
|
| Name | Type | Required | Default | Description |
|
|
489
497
|
|------|------|----------|---------|-------------|
|
|
@@ -636,7 +644,7 @@ A container component that manages a group of radio buttons for controlled selec
|
|
|
636
644
|
### `QstAutocomplete`
|
|
637
645
|
|
|
638
646
|
|
|
639
|
-
An autocomplete input component
|
|
647
|
+
An autocomplete input component with single/multiselect support, search filtering, custom option rendering, and optional API endpoint fetching.
|
|
640
648
|
|
|
641
649
|
| Name | Type | Required | Default | Description |
|
|
642
650
|
|------|------|----------|---------|-------------|
|
|
@@ -707,7 +715,7 @@ A set of input fields designed for selecting an address. The first field feature
|
|
|
707
715
|
### `QstSelect`
|
|
708
716
|
|
|
709
717
|
|
|
710
|
-
A select component
|
|
718
|
+
A select input component with single/multiselect support, search filtering, custom option rendering, and select all support.
|
|
711
719
|
|
|
712
720
|
| Name | Type | Required | Default | Description |
|
|
713
721
|
|------|------|----------|---------|-------------|
|
|
@@ -802,7 +810,7 @@ A reusable table component that displays structured data with built-in support f
|
|
|
802
810
|
### `QstViewSelector`
|
|
803
811
|
|
|
804
812
|
|
|
805
|
-
A selector component
|
|
813
|
+
A selector component with three display modes (view toggle, tabs, and container) for switching between options, with optional local storage persistence for user selections.
|
|
806
814
|
|
|
807
815
|
| Name | Type | Required | Default | Description |
|
|
808
816
|
|------|------|----------|---------|-------------|
|
|
@@ -910,7 +918,7 @@ A simple UI component designed to highlight important information on a page. Wit
|
|
|
910
918
|
### `QstToast`
|
|
911
919
|
|
|
912
920
|
|
|
913
|
-
A
|
|
921
|
+
A notification component for displaying success, error, warning, and info alerts with customizable positioning and duration. Includes a promise-based loading toast that automatically resolves to success or error.
|
|
914
922
|
|
|
915
923
|
| Name | Type | Required | Default | Description |
|
|
916
924
|
|------|------|----------|---------|-------------|
|
|
@@ -926,22 +934,6 @@ A lightweight notification component used to deliver feedback, alerts, or update
|
|
|
926
934
|
|
|
927
935
|
|
|
928
936
|
|
|
929
|
-
### `QstToastContent`
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
The child component to QstToast, displays the toast notification. *(This is only the inner component - does not have position, timeout, toggling functionality)*
|
|
933
|
-
|
|
934
|
-
| Name | Type | Required | Default | Description |
|
|
935
|
-
|------|------|----------|---------|-------------|
|
|
936
|
-
| toast | object | true | — | The details of the toast notification to be displayed. |
|
|
937
|
-
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
937
|
### `QstUserSnippet`
|
|
946
938
|
|
|
947
939
|
|
|
@@ -969,7 +961,7 @@ A clickable UI element designed to display a compact summary of user information
|
|
|
969
961
|
### `QstCreditCardForm`
|
|
970
962
|
|
|
971
963
|
|
|
972
|
-
|
|
964
|
+
A credit card input form for capturing payment information, with fields for card number, expiration date, and CVV, including automatic formatting and validation.
|
|
973
965
|
|
|
974
966
|
| Name | Type | Required | Default | Description |
|
|
975
967
|
|------|------|----------|---------|-------------|
|
|
@@ -985,7 +977,7 @@ This component renders a secure and accessible credit card input form for captur
|
|
|
985
977
|
### `QstDigitInput`
|
|
986
978
|
|
|
987
979
|
|
|
988
|
-
|
|
980
|
+
A multi-digit input component for entering passcodes and OTPs, featuring auto-focus navigation between fields and mobile OTP autofill support.
|
|
989
981
|
|
|
990
982
|
| Name | Type | Required | Default | Description |
|
|
991
983
|
|------|------|----------|---------|-------------|
|
|
@@ -1026,7 +1018,7 @@ A media gallery designed to display a collection of images and/or videos in an i
|
|
|
1026
1018
|
### `QstTimeline`
|
|
1027
1019
|
|
|
1028
1020
|
|
|
1029
|
-
|
|
1021
|
+
A timeline component for displaying a chronological list of events with expandable entries showing changes between previous and new values. Supports expanded and collapsed layouts with customizable markers.
|
|
1030
1022
|
|
|
1031
1023
|
| Name | Type | Required | Default | Description |
|
|
1032
1024
|
|------|------|----------|---------|-------------|
|
|
@@ -1057,7 +1049,7 @@ The timeline component presents a chronological list of events or actions, each
|
|
|
1057
1049
|
### `QstStatusPipeline`
|
|
1058
1050
|
|
|
1059
1051
|
|
|
1060
|
-
|
|
1052
|
+
A progress indicator component for visualizing stages in a workflow or timeline, supporting horizontal and vertical orientations with date-based positioning and a today marker.
|
|
1061
1053
|
|
|
1062
1054
|
| Name | Type | Required | Default | Description |
|
|
1063
1055
|
|------|------|----------|---------|-------------|
|
|
@@ -1079,4 +1071,24 @@ This component is a versatile UI element designed to visually represent progress
|
|
|
1079
1071
|
|
|
1080
1072
|
|
|
1081
1073
|
|
|
1074
|
+
|
|
1075
|
+
### `QstImageUploader`
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
An image upload component with drag and drop functionality, supporting single or multiple file uploads with thumbnail previews and delete capabilities.
|
|
1079
|
+
|
|
1080
|
+
| Name | Type | Required | Default | Description |
|
|
1081
|
+
|------|------|----------|---------|-------------|
|
|
1082
|
+
| modelValue | array | true | — | — |
|
|
1083
|
+
| label | string | false | — | — |
|
|
1084
|
+
| uploadLabel | string | false | Browse or Drag and Drop files to upload | — |
|
|
1085
|
+
| error | string | false | — | — |
|
|
1086
|
+
| useMultiUpload | boolean | false | true | — |
|
|
1087
|
+
| hideDragAnimation | boolean | false | false | — |
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
|
|
1082
1094
|
|