vue-quest-ui 0.0.85 → 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 +40 -32
- package/dist/vue-quest-ui.css +1 -1
- package/dist/vue-quest-ui.js +2404 -2255
- 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/README.md
CHANGED
|
@@ -169,6 +169,8 @@ All components can be customized based on your needs by passing props to them. R
|
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
|
|
172
|
+
|
|
173
|
+
|
|
172
174
|
|
|
173
175
|
|
|
174
176
|
|
|
@@ -201,20 +203,20 @@ All components can be customized based on your needs by passing props to them. R
|
|
|
201
203
|
* [VisualTable (v0.0.58)](#visualtable)
|
|
202
204
|
* [QstBox (v0.0.59)](#qstbox)
|
|
203
205
|
* [QstToast (v0.0.59)](#qsttoast)
|
|
204
|
-
* [QstToastContent (v0.0.59)](#qsttoastcontent)
|
|
205
206
|
* [QstUserSnippet (v0.0.67)](#qstusersnippet)
|
|
206
207
|
* [QstCreditCardForm (v0.0.76)](#qstcreditcardform)
|
|
207
208
|
* [QstDigitInput (v0.0.76)](#qstdigitinput)
|
|
208
209
|
* [QstImgGallery (v0.0.76)](#qstimggallery)
|
|
209
210
|
* [QstTimeline (v0.0.78)](#qsttimeline)
|
|
210
211
|
* [QstStatusPipeline (v0.0.79)](#qststatuspipeline)
|
|
212
|
+
* [QstImageUploader (v0.0.86)](#qstimageuploader)
|
|
211
213
|
|
|
212
214
|
## Props
|
|
213
215
|
|
|
214
216
|
### `QstIcon`
|
|
215
217
|
|
|
216
218
|
|
|
217
|
-
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.
|
|
218
220
|
|
|
219
221
|
| Name | Type | Required | Default | Description |
|
|
220
222
|
|------|------|----------|---------|-------------|
|
|
@@ -363,7 +365,7 @@ A dropdown component that displays an interactive menu, which can be triggered b
|
|
|
363
365
|
### `QstLoader`
|
|
364
366
|
|
|
365
367
|
|
|
366
|
-
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.
|
|
367
369
|
|
|
368
370
|
| Name | Type | Required | Default | Description |
|
|
369
371
|
|------|------|----------|---------|-------------|
|
|
@@ -441,7 +443,7 @@ A custom designed switch component that allows users to toggle between two state
|
|
|
441
443
|
### `QstScrollContainer`
|
|
442
444
|
|
|
443
445
|
|
|
444
|
-
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.
|
|
445
447
|
|
|
446
448
|
| Name | Type | Required | Default | Description |
|
|
447
449
|
|------|------|----------|---------|-------------|
|
|
@@ -465,18 +467,20 @@ A scroll wrapper component that uses a slot to render content, with configurable
|
|
|
465
467
|
### `QstImg`
|
|
466
468
|
|
|
467
469
|
|
|
468
|
-
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.
|
|
469
471
|
|
|
470
472
|
| Name | Type | Required | Default | Description |
|
|
471
473
|
|------|------|----------|---------|-------------|
|
|
472
474
|
| src | string | true | — | The source of image that will be displayed. |
|
|
473
475
|
| alt | string | false | null | Alt text for the image. |
|
|
474
|
-
| width |
|
|
475
|
-
| height |
|
|
476
|
+
| width | string | false | 100px | The width of the image. |
|
|
477
|
+
| height | string | false | — | The height of the image. |
|
|
476
478
|
| lazyLoad | boolean | false | false | Utilizes Intersection Observer to lazy load images, only when the image is in the viewport. |
|
|
477
479
|
| hoverImage | string | false | null | The source of the image that will be showed when hovering over the image src. |
|
|
478
480
|
| circle | boolean | false | false | Shows the image in a circle. |
|
|
479
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. |
|
|
480
484
|
|
|
481
485
|
|
|
482
486
|
|
|
@@ -487,7 +491,7 @@ A component for displaying images, with options to toggle images on hover or ope
|
|
|
487
491
|
### `QstTag`
|
|
488
492
|
|
|
489
493
|
|
|
490
|
-
A component
|
|
494
|
+
A customizable label component for displaying tags, badges, or status indicators with support for links, icons, tooltips, and dismissible close buttons.
|
|
491
495
|
|
|
492
496
|
| Name | Type | Required | Default | Description |
|
|
493
497
|
|------|------|----------|---------|-------------|
|
|
@@ -640,7 +644,7 @@ A container component that manages a group of radio buttons for controlled selec
|
|
|
640
644
|
### `QstAutocomplete`
|
|
641
645
|
|
|
642
646
|
|
|
643
|
-
An autocomplete input component
|
|
647
|
+
An autocomplete input component with single/multiselect support, search filtering, custom option rendering, and optional API endpoint fetching.
|
|
644
648
|
|
|
645
649
|
| Name | Type | Required | Default | Description |
|
|
646
650
|
|------|------|----------|---------|-------------|
|
|
@@ -711,7 +715,7 @@ A set of input fields designed for selecting an address. The first field feature
|
|
|
711
715
|
### `QstSelect`
|
|
712
716
|
|
|
713
717
|
|
|
714
|
-
A select component
|
|
718
|
+
A select input component with single/multiselect support, search filtering, custom option rendering, and select all support.
|
|
715
719
|
|
|
716
720
|
| Name | Type | Required | Default | Description |
|
|
717
721
|
|------|------|----------|---------|-------------|
|
|
@@ -806,7 +810,7 @@ A reusable table component that displays structured data with built-in support f
|
|
|
806
810
|
### `QstViewSelector`
|
|
807
811
|
|
|
808
812
|
|
|
809
|
-
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.
|
|
810
814
|
|
|
811
815
|
| Name | Type | Required | Default | Description |
|
|
812
816
|
|------|------|----------|---------|-------------|
|
|
@@ -914,7 +918,7 @@ A simple UI component designed to highlight important information on a page. Wit
|
|
|
914
918
|
### `QstToast`
|
|
915
919
|
|
|
916
920
|
|
|
917
|
-
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.
|
|
918
922
|
|
|
919
923
|
| Name | Type | Required | Default | Description |
|
|
920
924
|
|------|------|----------|---------|-------------|
|
|
@@ -930,22 +934,6 @@ A lightweight notification component used to deliver feedback, alerts, or update
|
|
|
930
934
|
|
|
931
935
|
|
|
932
936
|
|
|
933
|
-
### `QstToastContent`
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
The child component to QstToast, displays the toast notification. *(This is only the inner component - does not have position, timeout, toggling functionality)*
|
|
937
|
-
|
|
938
|
-
| Name | Type | Required | Default | Description |
|
|
939
|
-
|------|------|----------|---------|-------------|
|
|
940
|
-
| toast | object | true | — | The details of the toast notification to be displayed. |
|
|
941
|
-
| size | string | false | 14px | Pixel value to resize the component, styles are adjusted when the size is updated. |
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
937
|
### `QstUserSnippet`
|
|
950
938
|
|
|
951
939
|
|
|
@@ -973,7 +961,7 @@ A clickable UI element designed to display a compact summary of user information
|
|
|
973
961
|
### `QstCreditCardForm`
|
|
974
962
|
|
|
975
963
|
|
|
976
|
-
|
|
964
|
+
A credit card input form for capturing payment information, with fields for card number, expiration date, and CVV, including automatic formatting and validation.
|
|
977
965
|
|
|
978
966
|
| Name | Type | Required | Default | Description |
|
|
979
967
|
|------|------|----------|---------|-------------|
|
|
@@ -989,7 +977,7 @@ This component renders a secure and accessible credit card input form for captur
|
|
|
989
977
|
### `QstDigitInput`
|
|
990
978
|
|
|
991
979
|
|
|
992
|
-
|
|
980
|
+
A multi-digit input component for entering passcodes and OTPs, featuring auto-focus navigation between fields and mobile OTP autofill support.
|
|
993
981
|
|
|
994
982
|
| Name | Type | Required | Default | Description |
|
|
995
983
|
|------|------|----------|---------|-------------|
|
|
@@ -1030,7 +1018,7 @@ A media gallery designed to display a collection of images and/or videos in an i
|
|
|
1030
1018
|
### `QstTimeline`
|
|
1031
1019
|
|
|
1032
1020
|
|
|
1033
|
-
|
|
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.
|
|
1034
1022
|
|
|
1035
1023
|
| Name | Type | Required | Default | Description |
|
|
1036
1024
|
|------|------|----------|---------|-------------|
|
|
@@ -1061,7 +1049,7 @@ The timeline component presents a chronological list of events or actions, each
|
|
|
1061
1049
|
### `QstStatusPipeline`
|
|
1062
1050
|
|
|
1063
1051
|
|
|
1064
|
-
|
|
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.
|
|
1065
1053
|
|
|
1066
1054
|
| Name | Type | Required | Default | Description |
|
|
1067
1055
|
|------|------|----------|---------|-------------|
|
|
@@ -1083,4 +1071,24 @@ This component is a versatile UI element designed to visually represent progress
|
|
|
1083
1071
|
|
|
1084
1072
|
|
|
1085
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
|
+
|
|
1086
1094
|
|