@quasar/quasar-ui-qiconpicker 2.0.7 → 3.0.0-beta.1
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 +73 -252
- package/dist/api/QIconPicker.json +25 -42
- package/dist/index.css +2 -2
- package/dist/index.esm.js +463 -548
- package/dist/index.esm.min.js +3 -3
- package/dist/index.min.css +2 -2
- package/dist/index.rtl.css +2 -2
- package/dist/index.rtl.min.css +2 -2
- package/dist/index.umd.js +468 -564
- package/dist/index.umd.min.js +3 -3
- package/dist/types/index.d.ts +17 -19
- package/dist/types/types.d.ts +37 -37
- package/package.json +93 -82
- package/src/components/QIconPicker.json +177 -0
- package/src/components/QIconPicker.scss +37 -0
- package/src/components/QIconPicker.ts +574 -0
- package/src/components/icon-set-loader.ts +239 -0
- package/src/{index.esm.js → index.esm.ts} +0 -1
- package/src/index.scss +1 -0
- package/src/index.ts +16 -0
- package/src/{index.umd.js → index.umd.ts} +1 -2
- package/src/version.ts +1 -0
- package/src/vue-plugin.ts +10 -0
- package/dist/icon-set/bootstrap-icons.umd.js +0 -6
- package/dist/icon-set/eva-icons.umd.js +0 -6
- package/dist/icon-set/fontawesome-v5.umd.js +0 -6
- package/dist/icon-set/ionicons-v4.umd.js +0 -6
- package/dist/icon-set/line-awesome.umd.js +0 -6
- package/dist/icon-set/material-icons-outlined.umd.js +0 -6
- package/dist/icon-set/material-icons-round.umd.js +0 -6
- package/dist/icon-set/material-icons-sharp.umd.js +0 -6
- package/dist/icon-set/material-icons.umd.js +0 -6
- package/dist/icon-set/mdi-v4.umd.js +0 -6
- package/dist/icon-set/mdi-v5.umd.js +0 -6
- package/dist/icon-set/mdi-v6.umd.js +0 -6
- package/dist/icon-set/themify.umd.js +0 -6
- package/dist/index.cjs.js +0 -562
- package/dist/index.cjs.min.js +0 -6
- package/dist/types/ts-helpers.d.ts +0 -14
- package/dist/types/tsconfig.json +0 -7
- package/dist/vetur/attributes.json +0 -74
- package/dist/vetur/tags.json +0 -25
- package/src/components/QIconPicker.js +0 -544
- package/src/components/QIconPicker.sass +0 -32
- package/src/components/icon-set/bootstrap-icons.js +0 -1959
- package/src/components/icon-set/eva-icons.js +0 -495
- package/src/components/icon-set/fontawesome-v5.js +0 -1467
- package/src/components/icon-set/ionicons-v4.js +0 -701
- package/src/components/icon-set/line-awesome.js +0 -1403
- package/src/components/icon-set/material-icons-outlined.js +0 -2126
- package/src/components/icon-set/material-icons-round.js +0 -2130
- package/src/components/icon-set/material-icons-sharp.js +0 -2128
- package/src/components/icon-set/material-icons.js +0 -2143
- package/src/components/icon-set/mdi-v4.js +0 -5000
- package/src/components/icon-set/mdi-v5.js +0 -5960
- package/src/components/icon-set/mdi-v6.js +0 -6801
- package/src/components/icon-set/themify.js +0 -357
- package/src/index.cjs.js +0 -2
- package/src/index.js +0 -17
- package/src/index.sass +0 -2
- package/src/version.js +0 -1
- package/src/vue-plugin.js +0 -14
- package/types/types.d.ts +0 -152
package/README.md
CHANGED
|
@@ -1,297 +1,118 @@
|
|
|
1
|
-
QIconPicker
|
|
2
|
-
===
|
|
1
|
+
# QIconPicker
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/@quasar/quasar-ui-qiconpicker)
|
|
3
|
+
QIconPicker is a Quasar component that provides an icon picker for Vue and Quasar applications.
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/@quasar/quasar-ui-qiconpicker)
|
|
6
|
+
[](https://www.npmjs.com/package/@quasar/quasar-ui-qiconpicker)
|
|
8
7
|
|
|
9
|
-
](https://chat.quasar.dev)
|
|
9
|
+
[](https://twitter.com/jgalbraith64)
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
Can be found [here](https://quasarframework.github.io/quasar-ui-qiconpicker)
|
|
11
|
+
## Usage
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Quasar CLI project
|
|
13
|
+
### Quasar CLI Project
|
|
17
14
|
|
|
18
15
|
Install the [App Extension](../app-extension).
|
|
19
16
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Create and register a boot file:
|
|
17
|
+
Or install the UI package directly:
|
|
23
18
|
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
```bash
|
|
20
|
+
pnpm add @quasar/quasar-ui-qiconpicker@beta
|
|
21
|
+
# or
|
|
22
|
+
bun add @quasar/quasar-ui-qiconpicker@beta
|
|
23
|
+
# or
|
|
24
|
+
yarn add @quasar/quasar-ui-qiconpicker@beta
|
|
25
|
+
# or
|
|
26
|
+
npm install @quasar/quasar-ui-qiconpicker@beta
|
|
27
|
+
# or, in a Quasar CLI app
|
|
28
|
+
quasar ext add @quasar/qiconpicker@beta
|
|
30
29
|
```
|
|
31
30
|
|
|
32
|
-
|
|
31
|
+
Then create and register a boot file:
|
|
33
32
|
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
import { QIconPicker } from '@quasar/quasar-ui-qiconpicker'
|
|
33
|
+
```js
|
|
34
|
+
import { defineBoot } from '#q-app'
|
|
35
|
+
import VuePlugin from '@quasar/quasar-ui-qiconpicker'
|
|
36
|
+
import '@quasar/quasar-ui-qiconpicker/dist/index.css'
|
|
39
37
|
|
|
40
|
-
export default {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
</script>
|
|
38
|
+
export default defineBoot(({ app }) => {
|
|
39
|
+
app.use(VuePlugin)
|
|
40
|
+
})
|
|
46
41
|
```
|
|
47
42
|
|
|
48
|
-
|
|
43
|
+
### Vue 3 Project
|
|
49
44
|
|
|
50
45
|
```js
|
|
51
|
-
import
|
|
52
|
-
import
|
|
46
|
+
import { createApp } from 'vue'
|
|
47
|
+
import VuePlugin from '@quasar/quasar-ui-qiconpicker'
|
|
53
48
|
import '@quasar/quasar-ui-qiconpicker/dist/index.css'
|
|
49
|
+
import App from './App.vue'
|
|
50
|
+
|
|
51
|
+
const app = createApp(App)
|
|
54
52
|
|
|
55
|
-
|
|
53
|
+
app.use(VuePlugin)
|
|
54
|
+
app.mount('#app')
|
|
56
55
|
```
|
|
57
56
|
|
|
58
|
-
|
|
57
|
+
### Component Import
|
|
59
58
|
|
|
60
59
|
```html
|
|
61
60
|
<style src="@quasar/quasar-ui-qiconpicker/dist/index.css"></style>
|
|
62
61
|
|
|
63
|
-
<script>
|
|
64
|
-
import { QIconPicker } from '@quasar/quasar-ui-qiconpicker'
|
|
65
|
-
|
|
66
|
-
export default {
|
|
67
|
-
components: {
|
|
68
|
-
QIconPicker
|
|
69
|
-
}
|
|
70
|
-
}
|
|
62
|
+
<script setup>
|
|
63
|
+
import { QIconPicker } from '@quasar/quasar-ui-qiconpicker'
|
|
71
64
|
</script>
|
|
72
65
|
```
|
|
73
66
|
|
|
74
|
-
###
|
|
75
|
-
|
|
76
|
-
If you are using a large icon set and find it is taking too long to load, you can pre-cache the UMD variant.
|
|
67
|
+
### UMD Variant
|
|
77
68
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
```html
|
|
81
|
-
<template>
|
|
82
|
-
<div id="q-app">
|
|
83
|
-
<router-view />
|
|
84
|
-
</div>
|
|
85
|
-
</template>
|
|
86
|
-
|
|
87
|
-
<script>
|
|
88
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/eva-icons.umd.js'
|
|
89
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/fontawesome-v5.umd.js'
|
|
90
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/line-awesome.umd.js'
|
|
91
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/ionicons-v4.umd.js'
|
|
92
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/material-icons-outlined.umd.js'
|
|
93
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/material-icons-round.umd.js'
|
|
94
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/material-icons-sharp.umd.js'
|
|
95
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/material-icons.umd.js'
|
|
96
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/mdi-v6.umd.js'
|
|
97
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/themify.umd.js'
|
|
98
|
-
import '@quasar/quasar-ui-qiconpicker/dist/icon-set/bootstrap-icons.umd.js'
|
|
99
|
-
export default {
|
|
100
|
-
name: 'App'
|
|
101
|
-
}
|
|
102
|
-
</script>
|
|
103
|
-
|
|
104
|
-
<style>
|
|
105
|
-
</style>
|
|
106
|
-
```
|
|
69
|
+
The UMD bundle exports `window.QIconPicker`.
|
|
107
70
|
|
|
108
|
-
Don't add them all (unless you have this requirement). Remove the ones from above you won't be needing.
|
|
109
|
-
|
|
110
|
-
## UMD variant
|
|
111
|
-
|
|
112
|
-
Exports `window.QIconPicker`.
|
|
113
|
-
|
|
114
|
-
Add the following tag(s) after the Quasar ones:
|
|
115
|
-
|
|
116
|
-
```html
|
|
117
|
-
<head>
|
|
118
|
-
<!-- AFTER the Quasar stylesheet tags: -->
|
|
119
|
-
<link href="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qiconpicker/dist/index.min.css" rel="stylesheet" type="text/css">
|
|
120
|
-
</head>
|
|
121
|
-
<body>
|
|
122
|
-
<!-- at end of body, AFTER Quasar script(s): -->
|
|
123
|
-
<script src="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qiconpicker/dist/index.umd.min.js"></script>
|
|
124
|
-
</body>
|
|
125
|
-
```
|
|
126
|
-
If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):
|
|
127
71
|
```html
|
|
128
|
-
<link
|
|
72
|
+
<link
|
|
73
|
+
href="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qiconpicker/dist/index.min.css"
|
|
74
|
+
rel="stylesheet"
|
|
75
|
+
type="text/css"
|
|
76
|
+
/>
|
|
77
|
+
<script src="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qiconpicker/dist/index.umd.min.js"></script>
|
|
129
78
|
```
|
|
130
79
|
|
|
131
|
-
For
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
10. mdi-v5.umd.js
|
|
150
|
-
11. themify.umd.js
|
|
151
|
-
12. line-awesome.umd.js
|
|
152
|
-
13. bootstrap-icons.umd.js
|
|
153
|
-
|
|
154
|
-
> You can only use one of `mdi-v4`, `mdi-v5` or `mdi-v6`
|
|
155
|
-
|
|
156
|
-
### UMD Example
|
|
157
|
-
```html
|
|
158
|
-
<!DOCTYPE html>
|
|
159
|
-
<html lang="en">
|
|
160
|
-
<head>
|
|
161
|
-
<meta charset="utf-8">
|
|
162
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
163
|
-
<meta name="format-detection" content="telephone=no">
|
|
164
|
-
<meta name="msapplication-tap-highlight" content="no">
|
|
165
|
-
<meta name="viewport" content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width">
|
|
166
|
-
|
|
167
|
-
<title>UMD test</title>
|
|
168
|
-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet" type="text/css">
|
|
169
|
-
<link href="https://cdn.jsdelivr.net/npm/quasar@^1.0.0/dist/quasar.min.css" rel="stylesheet" type="text/css">
|
|
170
|
-
<link href="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qiconpicker/dist/index.css" rel="stylesheet" type="text/css">
|
|
171
|
-
</head>
|
|
172
|
-
<body>
|
|
173
|
-
<div id="q-app">
|
|
174
|
-
<q-layout view="lHh Lpr fff">
|
|
175
|
-
<q-header class="glossy bg-primary">
|
|
176
|
-
<q-toolbar>
|
|
177
|
-
<q-toolbar-title>
|
|
178
|
-
quasar-ui-qiconpicker <span class="text-subtitle2">v{{ version }}</span>
|
|
179
|
-
</q-toolbar-title>
|
|
180
|
-
|
|
181
|
-
<div>Quasar v{{ $q.version }}</div>
|
|
182
|
-
</q-toolbar>
|
|
183
|
-
</q-header>
|
|
184
|
-
|
|
185
|
-
<q-page-container>
|
|
186
|
-
<q-page padding>
|
|
187
|
-
<div style="width: 700px;">
|
|
188
|
-
<q-input
|
|
189
|
-
v-model="filter"
|
|
190
|
-
label="Filter"
|
|
191
|
-
outlined
|
|
192
|
-
clearable
|
|
193
|
-
class="q-ma-md">
|
|
194
|
-
</q-input>
|
|
195
|
-
<q-icon-picker
|
|
196
|
-
v-model="value"
|
|
197
|
-
icon-set="material-icons"
|
|
198
|
-
:filter="filter"
|
|
199
|
-
v-model:model-pagination="pagination"
|
|
200
|
-
style="height: 220px"
|
|
201
|
-
></q-icon-picker>
|
|
202
|
-
</div>
|
|
203
|
-
<ul class="q-mb-lg">
|
|
204
|
-
<li>In /ui, run: "yarn build"</li>
|
|
205
|
-
<li class="text-red">You need to build & refresh page on each change manually.</li>
|
|
206
|
-
<li>Use self-closing tags only!</li>
|
|
207
|
-
<li>Example: <my-component></my-component></li>
|
|
208
|
-
</ul>
|
|
209
|
-
</q-page>
|
|
210
|
-
</q-page-container>
|
|
211
|
-
</q-layout>
|
|
212
|
-
</div>
|
|
213
|
-
|
|
214
|
-
<script src="https://cdn.jsdelivr.net/npm/quasar@^1.0.0/dist/quasar.ie.polyfills.umd.min.js"></script>
|
|
215
|
-
<script src="https://cdn.jsdelivr.net/npm/vue@^2.0.0/dist/vue.min.js"></script>
|
|
216
|
-
<script src="https://cdn.jsdelivr.net/npm/quasar@^1.0.0/dist/quasar.umd.min.js"></script>
|
|
217
|
-
<script src="https://cdn.jsdelivr.net/npm/quasar@^1.0.0/dist/icon-set/material-icons.umd.min.js"></script>
|
|
218
|
-
<script src="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qiconpicker/dist/index.umd.js"></script>
|
|
219
|
-
<script src="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qiconpicker/dist/icon-set/material-icons.umd.js"></script>
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
<script>
|
|
223
|
-
new Vue({
|
|
224
|
-
el: '#q-app',
|
|
225
|
-
|
|
226
|
-
data: function () {
|
|
227
|
-
return {
|
|
228
|
-
version: QIconPicker.version,
|
|
229
|
-
value: '',
|
|
230
|
-
filter: '',
|
|
231
|
-
pagination: {
|
|
232
|
-
itemsPerPage: 60,
|
|
233
|
-
page: 0
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
})
|
|
238
|
-
</script>
|
|
239
|
-
</body>
|
|
240
|
-
</html>
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
# Codepen
|
|
244
|
-
|
|
245
|
-
[UMD Example on Codepen](https://codepen.io/Hawkeye64/pen/vYYYewG)
|
|
246
|
-
|
|
247
|
-
# Building the Projects
|
|
80
|
+
Built-in `icon-set` values lazy load from `@quasar/extras` and are intended for ESM/CJS bundler usage. For UMD, pass an `icons` array directly.
|
|
81
|
+
|
|
82
|
+
Supported built-in `icon-set` values are:
|
|
83
|
+
|
|
84
|
+
- `material-icons`
|
|
85
|
+
- `material-icons-outlined`
|
|
86
|
+
- `material-icons-round`
|
|
87
|
+
- `material-icons-sharp`
|
|
88
|
+
- `material-symbols-outlined`
|
|
89
|
+
- `material-symbols-rounded`
|
|
90
|
+
- `material-symbols-sharp`
|
|
91
|
+
- `ionicons-v8`
|
|
92
|
+
- `mdi-v7`
|
|
93
|
+
- `fontawesome-v7`
|
|
94
|
+
- `eva-icons`
|
|
95
|
+
- `themify`
|
|
96
|
+
- `line-awesome`
|
|
97
|
+
- `bootstrap-icons`
|
|
248
98
|
|
|
249
99
|
## Setup
|
|
250
100
|
|
|
251
|
-
|
|
101
|
+
This project is a pnpm workspace mono-repo.
|
|
252
102
|
|
|
253
103
|
```bash
|
|
254
|
-
|
|
104
|
+
pnpm install
|
|
105
|
+
pnpm build:ui
|
|
106
|
+
pnpm build:docs
|
|
255
107
|
```
|
|
256
108
|
|
|
257
|
-
##
|
|
258
|
-
|
|
259
|
-
In the `ui` folder
|
|
260
|
-
|
|
261
|
-
```bash
|
|
262
|
-
# start dev in SPA mode
|
|
263
|
-
$ yarn dev
|
|
109
|
+
## Support
|
|
264
110
|
|
|
265
|
-
|
|
266
|
-
$ yarn dev:umd
|
|
267
|
-
|
|
268
|
-
# start dev in SSR mode
|
|
269
|
-
$ yarn dev:ssr
|
|
270
|
-
|
|
271
|
-
# start dev in Cordova iOS mode
|
|
272
|
-
$ yarn dev:ios
|
|
273
|
-
|
|
274
|
-
# start dev in Cordova Android mode
|
|
275
|
-
$ yarn dev:android
|
|
276
|
-
|
|
277
|
-
# start dev in Electron mode
|
|
278
|
-
$ yarn dev:electron
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
## Building package
|
|
282
|
-
|
|
283
|
-
```bash
|
|
284
|
-
$ yarn build
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
# build just the JSON API
|
|
288
|
-
```bash
|
|
289
|
-
$ yarn build:api
|
|
290
|
-
```
|
|
111
|
+
If QIconPicker is useful in your workflow and you want to support ongoing maintenance:
|
|
291
112
|
|
|
292
|
-
|
|
113
|
+
GitHub Sponsors: https://github.com/sponsors/hawkeye64
|
|
114
|
+
PayPal: https://paypal.me/hawkeye64
|
|
293
115
|
|
|
294
|
-
|
|
116
|
+
## License
|
|
295
117
|
|
|
296
|
-
# License
|
|
297
118
|
MIT (c) Jeff Galbraith <jeff@quasar.dev>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "component",
|
|
3
3
|
"meta": {
|
|
4
|
-
"docsUrl": "https://
|
|
4
|
+
"docsUrl": "https://qiconpicker.netlify.app/developing/using-qiconpicker"
|
|
5
5
|
},
|
|
6
6
|
"props": {
|
|
7
|
-
"value": {
|
|
7
|
+
"model-value": {
|
|
8
8
|
"type": "String",
|
|
9
9
|
"desc": "`v-model`; The selected icon",
|
|
10
10
|
"default": "''",
|
|
@@ -16,18 +16,19 @@
|
|
|
16
16
|
},
|
|
17
17
|
"icon-set": {
|
|
18
18
|
"type": "String",
|
|
19
|
-
"desc": "The name of a [Quasar Icon Set](https://quasar.dev/options/quasar-icon-sets)",
|
|
19
|
+
"desc": "The name of a [Quasar Icon Set](https://quasar.dev/options/quasar-icon-sets). Built-in sets are lazy loaded from `@quasar/extras`.",
|
|
20
20
|
"category": "model",
|
|
21
21
|
"values": [
|
|
22
22
|
"material-icons",
|
|
23
23
|
"material-icons-outlined",
|
|
24
24
|
"material-icons-round",
|
|
25
25
|
"material-icons-sharp",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
26
|
+
"material-symbols-outlined",
|
|
27
|
+
"material-symbols-rounded",
|
|
28
|
+
"material-symbols-sharp",
|
|
29
|
+
"ionicons-v8",
|
|
30
|
+
"mdi-v7",
|
|
31
|
+
"fontawesome-v7",
|
|
31
32
|
"line-awesome",
|
|
32
33
|
"eva-icons",
|
|
33
34
|
"themify",
|
|
@@ -35,23 +36,17 @@
|
|
|
35
36
|
],
|
|
36
37
|
"examples": [
|
|
37
38
|
"icon-set=\"material-icons\"",
|
|
38
|
-
"icon-set=\"fontawesome-
|
|
39
|
+
"icon-set=\"fontawesome-v7\""
|
|
39
40
|
]
|
|
40
41
|
},
|
|
41
42
|
"icons": {
|
|
42
43
|
"type": "Array",
|
|
43
44
|
"tsType": "IconNameArray",
|
|
44
|
-
"desc": "An array of objects containing icon information. The object must contain the key `name` with the value being the icon name
|
|
45
|
+
"desc": "An array of objects containing icon information. The object must contain the key `name` with the value being the selected icon name. Use the optional `icon` key for SVG path data used for display, for example `{ name: 'bolt', icon: matBolt }`.",
|
|
45
46
|
"category": "model",
|
|
46
47
|
"examples": [
|
|
47
48
|
":icons=\"[{ name: 'calendar-today' }, { name: 'bolt' }]\""
|
|
48
|
-
]
|
|
49
|
-
"definition": {
|
|
50
|
-
"name": {
|
|
51
|
-
"type": "String",
|
|
52
|
-
"desc": "The icon name"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
49
|
+
]
|
|
55
50
|
},
|
|
56
51
|
"filter": {
|
|
57
52
|
"type": "String",
|
|
@@ -61,17 +56,6 @@
|
|
|
61
56
|
":filter=\"myFilter\""
|
|
62
57
|
]
|
|
63
58
|
},
|
|
64
|
-
"tags": {
|
|
65
|
-
"type": "Array",
|
|
66
|
-
"tsType": "StringArray",
|
|
67
|
-
"addedIn": "v1.0.7",
|
|
68
|
-
"desc": "An array of tags to be used to do filtering by category",
|
|
69
|
-
"category": "behavior",
|
|
70
|
-
"examples": [
|
|
71
|
-
":tags=\"['accessibility']\"",
|
|
72
|
-
":tags=\"['media']\""
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
59
|
"dense": {
|
|
76
60
|
"type": "Boolean",
|
|
77
61
|
"desc": "Use less of a foot print for the component",
|
|
@@ -148,7 +132,10 @@
|
|
|
148
132
|
"type": "Object",
|
|
149
133
|
"tsType": "PaginationProps",
|
|
150
134
|
"desc": "The properties to pass to the QPagination component",
|
|
151
|
-
"category": "behavior"
|
|
135
|
+
"category": "behavior",
|
|
136
|
+
"__exemption": [
|
|
137
|
+
"examples"
|
|
138
|
+
]
|
|
152
139
|
},
|
|
153
140
|
"animated": {
|
|
154
141
|
"type": "Boolean",
|
|
@@ -174,13 +161,19 @@
|
|
|
174
161
|
]
|
|
175
162
|
}
|
|
176
163
|
},
|
|
164
|
+
"events": {
|
|
165
|
+
"update:model-value": {
|
|
166
|
+
"type": "String",
|
|
167
|
+
"desc": "`v-model`; Selected icon name, including the icon prefix when required"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
177
170
|
"slots": {
|
|
178
171
|
"icon": {
|
|
179
|
-
"desc": "Slot for changing the display of the icon",
|
|
172
|
+
"desc": "Slot for changing the display of the icon.",
|
|
180
173
|
"scope": {
|
|
181
174
|
"name": {
|
|
182
175
|
"type": "String",
|
|
183
|
-
"desc": "The
|
|
176
|
+
"desc": "The selected icon name",
|
|
184
177
|
"examples": [
|
|
185
178
|
"bolt",
|
|
186
179
|
"calendar",
|
|
@@ -196,16 +189,6 @@
|
|
|
196
189
|
"desc": "Use if you want to provide your own pagination UI. You can control this with the data from the property `model-pagination`"
|
|
197
190
|
}
|
|
198
191
|
},
|
|
199
|
-
"events": {
|
|
200
|
-
"input": {
|
|
201
|
-
"type": "String",
|
|
202
|
-
"desc": "`v-model`; Value from when the selection changes"
|
|
203
|
-
},
|
|
204
|
-
"tags": {
|
|
205
|
-
"type": "Array",
|
|
206
|
-
"desc": "An array of categories (tags) for the selected icon set"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
192
|
"methods": {
|
|
210
193
|
"prevPage": {
|
|
211
194
|
"desc": "If paginated, will go to previous page if not on 1st page"
|
|
@@ -226,4 +209,4 @@
|
|
|
226
209
|
"desc": "True if on first page otherwise false"
|
|
227
210
|
}
|
|
228
211
|
}
|
|
229
|
-
}
|
|
212
|
+
}
|
package/dist/index.css
CHANGED