vuetify-swatches 1.0.4 → 1.0.5
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/LICENSE +1 -1
- package/dist/Meta.d.ts +3 -0
- package/dist/Meta.js +6 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.es.js +14 -14
- package/dist/index.iife.js +39 -34
- package/dist/index.js +10 -0
- package/dist/index.umd.js +41 -36
- package/dist/interfaces/MetaInterface.d.ts +7 -0
- package/dist/interfaces/MetaInterface.js +1 -0
- package/dist/style.css +1 -1
- package/package.json +30 -28
- package/src/components/VSwatches.vue +0 -7
- package/dist/index.d.ts.map +0 -1
package/LICENSE
CHANGED
package/dist/Meta.d.ts
ADDED
package/dist/Meta.js
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import VSwatches from '
|
|
1
|
+
import VSwatches from '@/components/VSwatches.vue';
|
|
2
|
+
import Meta from '@/Meta';
|
|
2
3
|
declare const installVSwatches: (app: any) => any;
|
|
3
|
-
export { VSwatches as default, installVSwatches as install };
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
4
|
+
export { VSwatches as default, installVSwatches as install, Meta };
|
package/dist/index.es.js
CHANGED
|
@@ -3,23 +3,18 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @description Color Swatch component for Vuetify.
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
|
-
* @copyright 2022 By Masashi Yoshikawa All rights reserved.
|
|
6
|
+
* @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @version 1.0.4
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import { defineComponent, ref } from 'vue-demi';
|
|
13
12
|
import { VSheet, VBtn, VIcon } from 'vuetify/lib';
|
|
13
|
+
import { defineComponent, ref } from 'vue-demi';
|
|
14
14
|
import colors from 'vuetify/lib/util/colors';
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
var _sfc_main = defineComponent({
|
|
17
17
|
name: "VSwatches",
|
|
18
|
-
components: {
|
|
19
|
-
VSheet,
|
|
20
|
-
VBtn,
|
|
21
|
-
VIcon
|
|
22
|
-
},
|
|
23
18
|
model: {
|
|
24
19
|
prop: "modelValue",
|
|
25
20
|
event: "update:modelValue"
|
|
@@ -82,7 +77,7 @@ const _sfc_main = defineComponent({
|
|
|
82
77
|
}
|
|
83
78
|
});
|
|
84
79
|
|
|
85
|
-
|
|
80
|
+
/* unplugin-vue-components disabled */var VSwatches_vue_vue_type_style_index_0_lang = '';
|
|
86
81
|
|
|
87
82
|
function normalizeComponent (
|
|
88
83
|
scriptExports,
|
|
@@ -179,11 +174,11 @@ function normalizeComponent (
|
|
|
179
174
|
|
|
180
175
|
var _sfc_render = function render() {
|
|
181
176
|
var _vm = this, _c = _vm._self._c; _vm._self._setupProxy;
|
|
182
|
-
return _c(
|
|
177
|
+
return _c(VSheet, { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
|
|
183
178
|
return _c("div", { key: rows }, _vm._l(colors, function(color) {
|
|
184
|
-
return _c(
|
|
179
|
+
return _c(VBtn, { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
|
|
185
180
|
return _vm.onSwatchClick($event);
|
|
186
|
-
} } }, [color === _vm.modelValue ? _c(
|
|
181
|
+
} } }, [color === _vm.modelValue ? _c(VIcon, { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
|
|
187
182
|
}), 1);
|
|
188
183
|
}), 0);
|
|
189
184
|
};
|
|
@@ -198,11 +193,16 @@ var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
|
198
193
|
null,
|
|
199
194
|
null
|
|
200
195
|
);
|
|
201
|
-
|
|
196
|
+
var VSwatches = __component__.exports;
|
|
197
|
+
|
|
198
|
+
const meta = {
|
|
199
|
+
version: "1.0.4",
|
|
200
|
+
date: "2023-01-19T12:01:47.957Z"
|
|
201
|
+
};
|
|
202
202
|
|
|
203
203
|
const installVSwatches = (app) => app.component("VSwatches", VSwatches);
|
|
204
204
|
if (typeof window !== "undefined" && window.Vue) {
|
|
205
205
|
window.Vue.use(VSwatches);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
export { VSwatches as default, installVSwatches as install };
|
|
208
|
+
export { meta as Meta, VSwatches as default, installVSwatches as install };
|
package/dist/index.iife.js
CHANGED
|
@@ -3,22 +3,21 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @description Color Swatch component for Vuetify.
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
|
-
* @copyright 2022 By Masashi Yoshikawa All rights reserved.
|
|
6
|
+
* @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @version 1.0.4
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var VSwatches = (function (exports,
|
|
12
|
+
var VSwatches = (function (exports, lib, vueDemi, colors) {
|
|
13
13
|
'use strict';
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
|
+
|
|
17
|
+
var colors__default = /*#__PURE__*/_interopDefaultCompat(colors);
|
|
18
|
+
|
|
19
|
+
var _sfc_main = vueDemi.defineComponent({
|
|
16
20
|
name: "VSwatches",
|
|
17
|
-
components: {
|
|
18
|
-
VSheet: lib.VSheet,
|
|
19
|
-
VBtn: lib.VBtn,
|
|
20
|
-
VIcon: lib.VIcon
|
|
21
|
-
},
|
|
22
21
|
model: {
|
|
23
22
|
prop: "modelValue",
|
|
24
23
|
event: "update:modelValue"
|
|
@@ -28,28 +27,28 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
|
|
|
28
27
|
swatches: {
|
|
29
28
|
type: Array,
|
|
30
29
|
default: () => [
|
|
31
|
-
[
|
|
30
|
+
[colors__default["default"].shades.black, colors__default["default"].shades.white, colors__default["default"].shades.transparent],
|
|
32
31
|
[
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
colors__default["default"].red.base,
|
|
33
|
+
colors__default["default"].pink.base,
|
|
34
|
+
colors__default["default"].purple.base,
|
|
35
|
+
colors__default["default"].deepPurple.base,
|
|
36
|
+
colors__default["default"].indigo.base,
|
|
37
|
+
colors__default["default"].blue.base,
|
|
38
|
+
colors__default["default"].lightBlue.base,
|
|
39
|
+
colors__default["default"].cyan.base
|
|
41
40
|
],
|
|
42
41
|
[
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
colors__default["default"].teal.base,
|
|
43
|
+
colors__default["default"].green.base,
|
|
44
|
+
colors__default["default"].lightGreen.base,
|
|
45
|
+
colors__default["default"].lime.base,
|
|
46
|
+
colors__default["default"].yellow.base,
|
|
47
|
+
colors__default["default"].amber.base,
|
|
48
|
+
colors__default["default"].orange.base,
|
|
49
|
+
colors__default["default"].deepOrange.base
|
|
51
50
|
],
|
|
52
|
-
[
|
|
51
|
+
[colors__default["default"].brown.base, colors__default["default"].blueGrey.base, colors__default["default"].grey.base]
|
|
53
52
|
]
|
|
54
53
|
},
|
|
55
54
|
size: { type: String, default: "2rem" },
|
|
@@ -81,7 +80,7 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
|
|
|
81
80
|
}
|
|
82
81
|
});
|
|
83
82
|
|
|
84
|
-
|
|
83
|
+
/* unplugin-vue-components disabled */var VSwatches_vue_vue_type_style_index_0_lang = '';
|
|
85
84
|
|
|
86
85
|
function normalizeComponent (
|
|
87
86
|
scriptExports,
|
|
@@ -178,11 +177,11 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
|
|
|
178
177
|
|
|
179
178
|
var _sfc_render = function render() {
|
|
180
179
|
var _vm = this, _c = _vm._self._c; _vm._self._setupProxy;
|
|
181
|
-
return _c(
|
|
180
|
+
return _c(lib.VSheet, { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
|
|
182
181
|
return _c("div", { key: rows }, _vm._l(colors, function(color) {
|
|
183
|
-
return _c(
|
|
182
|
+
return _c(lib.VBtn, { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
|
|
184
183
|
return _vm.onSwatchClick($event);
|
|
185
|
-
} } }, [color === _vm.modelValue ? _c(
|
|
184
|
+
} } }, [color === _vm.modelValue ? _c(lib.VIcon, { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
|
|
186
185
|
}), 1);
|
|
187
186
|
}), 0);
|
|
188
187
|
};
|
|
@@ -197,18 +196,24 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
|
|
|
197
196
|
null,
|
|
198
197
|
null
|
|
199
198
|
);
|
|
200
|
-
|
|
199
|
+
var VSwatches = __component__.exports;
|
|
200
|
+
|
|
201
|
+
const meta = {
|
|
202
|
+
version: "1.0.4",
|
|
203
|
+
date: "2023-01-19T12:01:47.957Z"
|
|
204
|
+
};
|
|
201
205
|
|
|
202
206
|
const installVSwatches = (app) => app.component("VSwatches", VSwatches);
|
|
203
207
|
if (typeof window !== "undefined" && window.Vue) {
|
|
204
208
|
window.Vue.use(VSwatches);
|
|
205
209
|
}
|
|
206
210
|
|
|
207
|
-
exports.
|
|
211
|
+
exports.Meta = meta;
|
|
212
|
+
exports["default"] = VSwatches;
|
|
208
213
|
exports.install = installVSwatches;
|
|
209
214
|
|
|
210
|
-
Object.
|
|
215
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
211
216
|
|
|
212
217
|
return exports;
|
|
213
218
|
|
|
214
|
-
})({},
|
|
219
|
+
})({}, Vuetify, VueDemi, colors);
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import VSwatches from '@/components/VSwatches.vue';
|
|
2
|
+
import Meta from '@/Meta';
|
|
3
|
+
const installVSwatches = (app) => app.component('VSwatches', VSwatches);
|
|
4
|
+
export { VSwatches as default, installVSwatches as install, Meta };
|
|
5
|
+
// For CDN.
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
window.Vue.use(VSwatches);
|
|
10
|
+
}
|
package/dist/index.umd.js
CHANGED
|
@@ -3,25 +3,24 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @description Color Swatch component for Vuetify.
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
|
-
* @copyright 2022 By Masashi Yoshikawa All rights reserved.
|
|
6
|
+
* @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @version 1.0.4
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
(function (global, factory) {
|
|
13
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('
|
|
14
|
-
typeof define === 'function' && define.amd ? define(['exports', '
|
|
15
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VSwatches = {}, global.
|
|
16
|
-
})(this, (function (exports,
|
|
13
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vuetify/lib'), require('vue-demi'), require('vuetify/lib/util/colors')) :
|
|
14
|
+
typeof define === 'function' && define.amd ? define(['exports', 'vuetify/lib', 'vue-demi', 'vuetify/lib/util/colors'], factory) :
|
|
15
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VSwatches = {}, global.Vuetify, global.VueDemi, global.colors));
|
|
16
|
+
})(this, (function (exports, lib, vueDemi, colors) { 'use strict';
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
19
|
+
|
|
20
|
+
var colors__default = /*#__PURE__*/_interopDefaultCompat(colors);
|
|
21
|
+
|
|
22
|
+
var _sfc_main = vueDemi.defineComponent({
|
|
19
23
|
name: "VSwatches",
|
|
20
|
-
components: {
|
|
21
|
-
VSheet: lib.VSheet,
|
|
22
|
-
VBtn: lib.VBtn,
|
|
23
|
-
VIcon: lib.VIcon
|
|
24
|
-
},
|
|
25
24
|
model: {
|
|
26
25
|
prop: "modelValue",
|
|
27
26
|
event: "update:modelValue"
|
|
@@ -31,28 +30,28 @@
|
|
|
31
30
|
swatches: {
|
|
32
31
|
type: Array,
|
|
33
32
|
default: () => [
|
|
34
|
-
[
|
|
33
|
+
[colors__default["default"].shades.black, colors__default["default"].shades.white, colors__default["default"].shades.transparent],
|
|
35
34
|
[
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
35
|
+
colors__default["default"].red.base,
|
|
36
|
+
colors__default["default"].pink.base,
|
|
37
|
+
colors__default["default"].purple.base,
|
|
38
|
+
colors__default["default"].deepPurple.base,
|
|
39
|
+
colors__default["default"].indigo.base,
|
|
40
|
+
colors__default["default"].blue.base,
|
|
41
|
+
colors__default["default"].lightBlue.base,
|
|
42
|
+
colors__default["default"].cyan.base
|
|
44
43
|
],
|
|
45
44
|
[
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
colors__default["default"].teal.base,
|
|
46
|
+
colors__default["default"].green.base,
|
|
47
|
+
colors__default["default"].lightGreen.base,
|
|
48
|
+
colors__default["default"].lime.base,
|
|
49
|
+
colors__default["default"].yellow.base,
|
|
50
|
+
colors__default["default"].amber.base,
|
|
51
|
+
colors__default["default"].orange.base,
|
|
52
|
+
colors__default["default"].deepOrange.base
|
|
54
53
|
],
|
|
55
|
-
[
|
|
54
|
+
[colors__default["default"].brown.base, colors__default["default"].blueGrey.base, colors__default["default"].grey.base]
|
|
56
55
|
]
|
|
57
56
|
},
|
|
58
57
|
size: { type: String, default: "2rem" },
|
|
@@ -84,7 +83,7 @@
|
|
|
84
83
|
}
|
|
85
84
|
});
|
|
86
85
|
|
|
87
|
-
|
|
86
|
+
/* unplugin-vue-components disabled */var VSwatches_vue_vue_type_style_index_0_lang = '';
|
|
88
87
|
|
|
89
88
|
function normalizeComponent (
|
|
90
89
|
scriptExports,
|
|
@@ -181,11 +180,11 @@
|
|
|
181
180
|
|
|
182
181
|
var _sfc_render = function render() {
|
|
183
182
|
var _vm = this, _c = _vm._self._c; _vm._self._setupProxy;
|
|
184
|
-
return _c(
|
|
183
|
+
return _c(lib.VSheet, { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
|
|
185
184
|
return _c("div", { key: rows }, _vm._l(colors, function(color) {
|
|
186
|
-
return _c(
|
|
185
|
+
return _c(lib.VBtn, { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
|
|
187
186
|
return _vm.onSwatchClick($event);
|
|
188
|
-
} } }, [color === _vm.modelValue ? _c(
|
|
187
|
+
} } }, [color === _vm.modelValue ? _c(lib.VIcon, { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
|
|
189
188
|
}), 1);
|
|
190
189
|
}), 0);
|
|
191
190
|
};
|
|
@@ -200,16 +199,22 @@
|
|
|
200
199
|
null,
|
|
201
200
|
null
|
|
202
201
|
);
|
|
203
|
-
|
|
202
|
+
var VSwatches = __component__.exports;
|
|
203
|
+
|
|
204
|
+
const meta = {
|
|
205
|
+
version: "1.0.4",
|
|
206
|
+
date: "2023-01-19T12:01:47.957Z"
|
|
207
|
+
};
|
|
204
208
|
|
|
205
209
|
const installVSwatches = (app) => app.component("VSwatches", VSwatches);
|
|
206
210
|
if (typeof window !== "undefined" && window.Vue) {
|
|
207
211
|
window.Vue.use(VSwatches);
|
|
208
212
|
}
|
|
209
213
|
|
|
210
|
-
exports.
|
|
214
|
+
exports.Meta = meta;
|
|
215
|
+
exports["default"] = VSwatches;
|
|
211
216
|
exports.install = installVSwatches;
|
|
212
217
|
|
|
213
|
-
Object.
|
|
218
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
214
219
|
|
|
215
220
|
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/style.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @description Color Swatch component for Vuetify.
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
|
-
* @copyright 2022 By Masashi Yoshikawa All rights reserved.
|
|
6
|
+
* @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @version 1.0.4
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "vuetify-swatches",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Color Swatch component for Vuetify.",
|
|
7
7
|
"keywords": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"sideEffects": false,
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": ">=18.12.1",
|
|
58
|
-
"yarn": ">=1.22.
|
|
58
|
+
"yarn": ">=1.22.19"
|
|
59
59
|
},
|
|
60
60
|
"packageManager": "yarn@3.3.1",
|
|
61
61
|
"scripts": {
|
|
@@ -63,12 +63,13 @@
|
|
|
63
63
|
"clean": "rimraf node_modules/.vite",
|
|
64
64
|
"type-check": "tsc --noEmit --composite false",
|
|
65
65
|
"build": "run-p type-check build-only build-declaration",
|
|
66
|
-
"build:
|
|
67
|
-
"build:
|
|
68
|
-
"build:docs": "vite build --
|
|
66
|
+
"build:analyze": "vite build --mode=analyze",
|
|
67
|
+
"build:clean": "rimraf dist docs",
|
|
68
|
+
"build:docs": "vite build --mode=docs",
|
|
69
69
|
"build-only": "vite build",
|
|
70
|
-
"build-declaration": "tsc -p tsconfig.app.json --composite false
|
|
70
|
+
"build-declaration": "tsc -p tsconfig.app.json --composite false",
|
|
71
71
|
"lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . --write",
|
|
72
|
+
"preview": "vite preview --mode=docs",
|
|
72
73
|
"prepare": "husky install",
|
|
73
74
|
"version": "auto-changelog -p && git add CHANGELOG.md"
|
|
74
75
|
},
|
|
@@ -76,9 +77,9 @@
|
|
|
76
77
|
"vue-demi": "latest"
|
|
77
78
|
},
|
|
78
79
|
"peerDependencies": {
|
|
79
|
-
"@vue/composition-api": "^1.7.
|
|
80
|
+
"@vue/composition-api": "^1.7.1",
|
|
80
81
|
"vue": "^2.6.14 || <3",
|
|
81
|
-
"vuetify": "^2.6.
|
|
82
|
+
"vuetify": "^2.6.14"
|
|
82
83
|
},
|
|
83
84
|
"peerDependenciesMeta": {
|
|
84
85
|
"@vue/composition-api": {
|
|
@@ -86,32 +87,33 @@
|
|
|
86
87
|
}
|
|
87
88
|
},
|
|
88
89
|
"devDependencies": {
|
|
89
|
-
"@codemirror/lang-html": "^6.4.
|
|
90
|
+
"@codemirror/lang-html": "^6.4.1",
|
|
90
91
|
"@types/lodash": "^4.14.191",
|
|
91
92
|
"@types/node": "^18.11.18",
|
|
92
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
93
|
-
"@typescript-eslint/parser": "^5.
|
|
93
|
+
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
94
|
+
"@typescript-eslint/parser": "^5.48.2",
|
|
94
95
|
"@vitejs/plugin-vue2": "^2.2.0",
|
|
95
96
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
96
97
|
"@vue/tsconfig": "^0.1.3",
|
|
97
|
-
"
|
|
98
|
-
"eslint": "^8.30.0",
|
|
98
|
+
"eslint": "^8.32.0",
|
|
99
99
|
"eslint-config-google": "^0.14.0",
|
|
100
|
-
"eslint-config-prettier": "^8.
|
|
100
|
+
"eslint-config-prettier": "^8.6.0",
|
|
101
101
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
102
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
103
|
-
"eslint-plugin-import": "^2.
|
|
104
|
-
"eslint-plugin-jsdoc": "^39.6.
|
|
102
|
+
"eslint-import-resolver-typescript": "^3.5.3",
|
|
103
|
+
"eslint-plugin-import": "^2.27.5",
|
|
104
|
+
"eslint-plugin-jsdoc": "^39.6.6",
|
|
105
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
105
106
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
106
|
-
"eslint-plugin-vue": "^9.
|
|
107
|
-
"eslint-plugin-vuejs-accessibility": "^2.
|
|
107
|
+
"eslint-plugin-vue": "^9.9.0",
|
|
108
|
+
"eslint-plugin-vuejs-accessibility": "^2.1.0",
|
|
108
109
|
"eslint-plugin-vuetify": "^1.1.0",
|
|
109
|
-
"husky": "^8.0.
|
|
110
|
+
"husky": "^8.0.3",
|
|
110
111
|
"lint-staged": "^13.1.0",
|
|
112
|
+
"npm-run-all": "^4.1.5",
|
|
111
113
|
"postcss-html": "^1.5.0",
|
|
112
|
-
"prettier": "^2.8.
|
|
113
|
-
"rimraf": "^
|
|
114
|
-
"rollup-plugin-visualizer": "^5.
|
|
114
|
+
"prettier": "^2.8.3",
|
|
115
|
+
"rimraf": "^4.1.1",
|
|
116
|
+
"rollup-plugin-visualizer": "^5.9.0",
|
|
115
117
|
"sass": "1.32.12",
|
|
116
118
|
"stylelint": "^14.16.1",
|
|
117
119
|
"stylelint-config-prettier": "^9.0.4",
|
|
@@ -119,14 +121,14 @@
|
|
|
119
121
|
"stylelint-config-recommended-vue": "^1.4.0",
|
|
120
122
|
"typescript": "^4.9.4",
|
|
121
123
|
"unplugin-vue-components": "^0.22.12",
|
|
122
|
-
"vite": "^4.0.
|
|
124
|
+
"vite": "^4.0.4",
|
|
123
125
|
"vite-plugin-banner": "^0.7.0",
|
|
124
126
|
"vite-plugin-checker": "^0.5.3",
|
|
125
127
|
"vue": "^2.7.13",
|
|
126
|
-
"vue-codemirror6": "^1.1.
|
|
128
|
+
"vue-codemirror6": "^1.1.6",
|
|
127
129
|
"vue-eslint-parser": "^9.1.0",
|
|
128
|
-
"vue-tsc": "^1.0.
|
|
129
|
-
"vuetify": "^2.6.
|
|
130
|
+
"vue-tsc": "^1.0.24",
|
|
131
|
+
"vuetify": "^2.6.14"
|
|
130
132
|
},
|
|
131
133
|
"husky": {
|
|
132
134
|
"hooks": {
|
|
@@ -140,6 +142,6 @@
|
|
|
140
142
|
"*": "prettier -w -u"
|
|
141
143
|
},
|
|
142
144
|
"resolutions": {
|
|
143
|
-
"
|
|
145
|
+
"json5": "^2.2.3"
|
|
144
146
|
}
|
|
145
147
|
}
|
|
@@ -39,19 +39,12 @@ import {
|
|
|
39
39
|
type SetupContext,
|
|
40
40
|
} from 'vue-demi';
|
|
41
41
|
|
|
42
|
-
import { VSheet, VIcon, VBtn } from 'vuetify/lib';
|
|
43
42
|
import colors from 'vuetify/lib/util/colors';
|
|
44
43
|
|
|
45
44
|
/** Vuetify Swatches */
|
|
46
45
|
export default defineComponent({
|
|
47
46
|
/** Component name */
|
|
48
47
|
name: 'VSwatches',
|
|
49
|
-
/** Components */
|
|
50
|
-
components: {
|
|
51
|
-
VSheet,
|
|
52
|
-
VBtn,
|
|
53
|
-
VIcon,
|
|
54
|
-
},
|
|
55
48
|
/** Model Definition */
|
|
56
49
|
model: {
|
|
57
50
|
prop: 'modelValue',
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,4BAA4B,CAAC;AAEnD,QAAA,MAAM,gBAAgB,QAAS,GAAG,QAA0C,CAAC;AAE7E,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}
|