vx-vue 0.7.0 → 0.7.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/README.md +16 -16
- package/dist/vxvue.es.js +507 -494
- package/dist/vxvue.umd.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -45,19 +45,19 @@ The components use an extra color palette.
|
|
|
45
45
|
## Provided components
|
|
46
46
|
So far the following components have been implemented:
|
|
47
47
|
|
|
48
|
-
| element | description | props
|
|
49
|
-
|
|
50
|
-
| `confirm` | promise-based component which can either take one ("confirm") or two buttons ("confirm", "cancel") |
|
|
51
|
-
| `date-input` | input element for guided date inputs, also used by the datepicker | `outputFormat
|
|
52
|
-
| `datepicker` | a bare bones datepicker component | `modelValue
|
|
53
|
-
| `form-file-button` | a thinly wrapped type-file input to allow proper styling and integration | `modelValue
|
|
54
|
-
| `form-select` | a select element adapted for Vue.js integration | `options
|
|
55
|
-
| `form-switch` | a fancy checkbox | `modelValue`
|
|
56
|
-
| `message-toast` | displays a notification which dismisses itself after a configurable timeout | `title
|
|
57
|
-
| `modal` | modal overlay | `show
|
|
58
|
-
| `pagination` | a pagination component for arbitrary items; opinionated in its layout | `page
|
|
59
|
-
| `password-input` | a simple input with toggle button which toggles between `type='button'` and `type='text'` | `modelValue`
|
|
60
|
-
| `simple-tree` | a simple tree implemented with a recursive component | `branch`
|
|
61
|
-
| `slider` | a slider with one or more thumbs; `modelValue` can be a number or an array of numbers; the length of the array determines the number of thumbs | `modelValue
|
|
62
|
-
| `sortable` | a sortable table; the `columns` prop specifies the columns and their sorting options | `columns
|
|
63
|
-
| `tabs` | a tabs component which allows both badges and icons | `items
|
|
48
|
+
| element | description | props | events | slots |
|
|
49
|
+
|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|--------------------------------------------------|
|
|
50
|
+
| `confirm` | promise-based component which can either take one ("confirm") or two buttons ("confirm", "cancel") | | | `title`<br/>`icon`<br/>`message` |
|
|
51
|
+
| `date-input` | input element for guided date inputs, also used by the datepicker | `modelValue [Date]`<br/>`outputFormat [String]`<br/>`inputFormat [String]`<br/>`showButton [Boolean]`<br/>`locale [String]` | `update:modelValue`<br/>`toggle-datepicker` | `default` |
|
|
52
|
+
| `datepicker` | a bare bones datepicker component | `modelValue [Date]`<br/>`validFrom [Date]`<br/>`validUntil [Date]`<br/>`dayNames [Array]`<br/>`locale [String]`<br/>`startOfWeekIndex [Number]`<br/>`hasInput [Boolean]` | `update:modelValue`<br/>`month-change` | |
|
|
53
|
+
| `form-file-button` | a thinly wrapped type-file input to allow proper styling and integration | `modelValue [Array]`<br/>`accept [String]`<br/>`multiple [Boolean]`<br/>`name [String]`<br/>`id [String]` | `update:modelValue`<br/>`form-data` | |
|
|
54
|
+
| `form-select` | a select element adapted for Vue.js integration | `modelValue [String, Number]`<br/>`options [Array]`<br/>`disabledLabel [String]` | `update:modelValue` | |
|
|
55
|
+
| `form-switch` | a fancy checkbox | `modelValue [Mixed]` | `update:modelValue` | `default` |
|
|
56
|
+
| `message-toast` | displays a notification which dismisses itself after a configurable timeout | `title [String]`<br/>`message [String, Array]`<br/>`timeout [Number]`<br/>`active [Boolean]` | `timeout`<br/>`close` | `icon`<br/>`title`<br/>`default` |
|
|
57
|
+
| `modal` | modal overlay | `show [Boolean]`<br/>`containerClass [String]`<br/>`headerClass [String]`<br/>`contentClass [String]` | `clicked-outside` | `title`<br/>`default` |
|
|
58
|
+
| `pagination` | a pagination component for arbitrary items; opinionated in its layout | `page [Number]`<br/>`total [Number]`<br/>`perPage [Number]`<br/>`showNavButtons [Boolean]`<br/>`prevText [String]`<br/>`nextText [String]`<br/>`showAllPages [Boolean]`<br/>`markerPosition ['above', 'below']` | `update:page` | |
|
|
59
|
+
| `password-input` | a simple input with toggle button which toggles between `type='button'` and `type='text'` | `modelValue [String]` | `update:modelValue` | `default` |
|
|
60
|
+
| `simple-tree` | a simple tree implemented with a recursive component | `branch [Object]` | `branch-selected`<br/>`expand` | |
|
|
61
|
+
| `slider` | a slider with one or more thumbs; `modelValue` can be a number or an array of numbers; the length of the array determines the number of thumbs | `modelValue [Number]`<br/>`min [Number]`<br/>`max [Number]`<br/>`vertical [Boolean]`<br/>`disabled [Boolean]` | `update:modelValue` | |
|
|
62
|
+
| `sortable` | a sortable table; the `columns` prop specifies the columns and their sorting options | `columns [Array]`<br/>`rows [Array]`<br/>`offset [Number]`<br/>`count [Number]`<br/>`sortProp [String]`<br/>`sortDirection ['asc', 'desc']`<br/>`keyProperty [String]` | `before-sort`<br/>`after-sort` | `{ column: prop }-header`<br/>`{ column: prop }` |
|
|
63
|
+
| `tabs` | a tabs component which allows both badges and icons | `items [Array]`<br/>`activeIndex [Number]` | `update:active-index` | `icon`<br/>`default` |
|