@koumoul/vjsf 3.0.0-beta.49 → 3.0.0-beta.50
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/package.json +1 -7
- package/src/components/fragments/help-message.vue +1 -1
- package/src/components/nodes/date-time-picker.vue +2 -2
- package/src/components/nodes/expansion-panels.vue +1 -1
- package/src/components/nodes/list.vue +10 -10
- package/src/components/nodes/tabs.vue +1 -1
- package/src/components/nodes/vertical-tabs.vue +1 -1
- package/src/index.js +2 -2
- package/src/options.js +22 -4
- package/src/types.ts +2 -2
- package/types/iconsets/mdi-svg.d.ts +1 -1
- package/types/iconsets/mdi-svg.d.ts.map +1 -1
- package/types/iconsets/mdi.d.ts +1 -1
- package/types/iconsets/mdi.d.ts.map +1 -1
- package/types/index.d.ts +2 -1
- package/types/index.d.ts.map +1 -1
- package/types/options.d.ts +5 -5
- package/types/options.d.ts.map +1 -1
- package/types/types.d.ts +2 -2
- package/types/types.d.ts.map +1 -1
- package/src/iconsets/default-aliases.js +0 -10
- package/src/iconsets/mdi-svg.js +0 -16
- package/src/iconsets/mdi.js +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koumoul/vjsf",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.50",
|
|
4
4
|
"description": "Generate forms for the vuetify UI library (vuejs) based on annotated JSON schemas.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "vitest",
|
|
@@ -47,12 +47,6 @@
|
|
|
47
47
|
"default": "./src/composables/*.js"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"./iconsets/*.js": {
|
|
51
|
-
"import": {
|
|
52
|
-
"types": "./types/iconsets/*.d.ts",
|
|
53
|
-
"default": "./src/iconsets/*.js"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
50
|
"./styles/*": {
|
|
57
51
|
"import": {
|
|
58
52
|
"default": "./src/styles/*"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<v-btn
|
|
12
12
|
color="info"
|
|
13
13
|
:class="`vjsf-help-message-toggle vjsf-help-message-toggle-${node.options.density}`"
|
|
14
|
-
:icon="show ? node.options.
|
|
14
|
+
:icon="show ? node.options.icons.close : node.options.icons.infoSymbol"
|
|
15
15
|
:border="0"
|
|
16
16
|
:elevation="show ? 0 : 2"
|
|
17
17
|
density="compact"
|
|
@@ -78,13 +78,13 @@ const timePickerProps = computed(() => {
|
|
|
78
78
|
align-tabs="center"
|
|
79
79
|
>
|
|
80
80
|
<v-tab value="date">
|
|
81
|
-
<v-icon :icon="statefulLayout.options.
|
|
81
|
+
<v-icon :icon="statefulLayout.options.icons.calendar" />
|
|
82
82
|
</v-tab>
|
|
83
83
|
<v-tab
|
|
84
84
|
value="time"
|
|
85
85
|
:disabled="!modelValue.data"
|
|
86
86
|
>
|
|
87
|
-
<v-icon :icon="statefulLayout.options.
|
|
87
|
+
<v-icon :icon="statefulLayout.options.icons.clock" />
|
|
88
88
|
</v-tab>
|
|
89
89
|
</v-tabs>
|
|
90
90
|
<v-tabs-window v-model="tab">
|
|
@@ -42,7 +42,7 @@ const { compProps } = useNode(toRef(props, 'modelValue'), props.statefulLayout)
|
|
|
42
42
|
v-if="child.validated && (child.error || child.childError)"
|
|
43
43
|
color="error"
|
|
44
44
|
class="mr-2"
|
|
45
|
-
:icon="statefulLayout.options.
|
|
45
|
+
:icon="statefulLayout.options.icons.alert"
|
|
46
46
|
/>
|
|
47
47
|
{{ child.layout.title ?? child.layout.label }}
|
|
48
48
|
</v-expansion-panel-title>
|
|
@@ -182,7 +182,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
182
182
|
style="visibility:hidden"
|
|
183
183
|
variant="text"
|
|
184
184
|
:density="buttonDensity"
|
|
185
|
-
:icon="statefulLayout.options.
|
|
185
|
+
:icon="statefulLayout.options.icons.edit"
|
|
186
186
|
/>
|
|
187
187
|
</v-list-item-action>
|
|
188
188
|
<template v-else>
|
|
@@ -192,7 +192,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
192
192
|
<v-btn
|
|
193
193
|
v-if="editedItem !== childIndex"
|
|
194
194
|
:title="modelValue.messages.edit"
|
|
195
|
-
:icon="statefulLayout.options.
|
|
195
|
+
:icon="statefulLayout.options.icons.edit"
|
|
196
196
|
variant="text"
|
|
197
197
|
color="primary"
|
|
198
198
|
:density="buttonDensity"
|
|
@@ -201,7 +201,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
201
201
|
<v-btn
|
|
202
202
|
v-else
|
|
203
203
|
:title="modelValue.messages.close"
|
|
204
|
-
:icon="statefulLayout.options.
|
|
204
|
+
:icon="statefulLayout.options.icons.edit"
|
|
205
205
|
variant="flat"
|
|
206
206
|
color="primary"
|
|
207
207
|
:density="buttonDensity"
|
|
@@ -213,7 +213,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
213
213
|
>
|
|
214
214
|
<v-btn
|
|
215
215
|
:title="modelValue.messages.sort"
|
|
216
|
-
:icon="statefulLayout.options.
|
|
216
|
+
:icon="statefulLayout.options.icons.sort"
|
|
217
217
|
variant="plain"
|
|
218
218
|
:density="buttonDensity"
|
|
219
219
|
v-bind="handleBind(childIndex)"
|
|
@@ -229,7 +229,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
229
229
|
<template #activator="{props: activatorProps}">
|
|
230
230
|
<v-btn
|
|
231
231
|
v-bind="activatorProps"
|
|
232
|
-
:icon="statefulLayout.options.
|
|
232
|
+
:icon="statefulLayout.options.icons.menu"
|
|
233
233
|
variant="plain"
|
|
234
234
|
slim
|
|
235
235
|
:density="buttonDensity"
|
|
@@ -242,7 +242,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
242
242
|
@click="deleteItem(childIndex)"
|
|
243
243
|
>
|
|
244
244
|
<template #prepend>
|
|
245
|
-
<v-icon :icon="statefulLayout.options.
|
|
245
|
+
<v-icon :icon="statefulLayout.options.icons.delete" />
|
|
246
246
|
</template>
|
|
247
247
|
{{ modelValue.messages.delete }}
|
|
248
248
|
</v-list-item>
|
|
@@ -251,7 +251,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
251
251
|
@click="duplicateItem(child, childIndex)"
|
|
252
252
|
>
|
|
253
253
|
<template #prepend>
|
|
254
|
-
<v-icon :icon="statefulLayout.options.
|
|
254
|
+
<v-icon :icon="statefulLayout.options.icons.duplicate" />
|
|
255
255
|
</template>
|
|
256
256
|
{{ modelValue.messages.duplicate }}
|
|
257
257
|
</v-list-item>
|
|
@@ -260,7 +260,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
260
260
|
@click="statefulLayout.input(modelValue, moveDataItem(modelValue.data, childIndex, childIndex - 1))"
|
|
261
261
|
>
|
|
262
262
|
<template #prepend>
|
|
263
|
-
<v-icon :icon="statefulLayout.options.
|
|
263
|
+
<v-icon :icon="statefulLayout.options.icons.sortUp" />
|
|
264
264
|
</template>
|
|
265
265
|
{{ modelValue.messages.up }}
|
|
266
266
|
</v-list-item>
|
|
@@ -269,7 +269,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
269
269
|
@click="statefulLayout.input(modelValue, moveDataItem(modelValue.data, childIndex, childIndex + 1))"
|
|
270
270
|
>
|
|
271
271
|
<template #prepend>
|
|
272
|
-
<v-icon :icon="statefulLayout.options.
|
|
272
|
+
<v-icon :icon="statefulLayout.options.icons.sortDown" />
|
|
273
273
|
</template>
|
|
274
274
|
{{ modelValue.messages.down }}
|
|
275
275
|
</v-list-item>
|
|
@@ -304,7 +304,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
304
304
|
<v-icon
|
|
305
305
|
color="primary"
|
|
306
306
|
size="large"
|
|
307
|
-
:icon="statefulLayout.options.
|
|
307
|
+
:icon="statefulLayout.options.icons.add"
|
|
308
308
|
@click="pushEmptyIndexedItem"
|
|
309
309
|
/>
|
|
310
310
|
</template>
|
|
@@ -47,7 +47,7 @@ const tab = ref(0)
|
|
|
47
47
|
<v-icon
|
|
48
48
|
v-if="child.validated && (child.error || child.childError)"
|
|
49
49
|
color="error"
|
|
50
|
-
:icon="statefulLayout.options.
|
|
50
|
+
:icon="statefulLayout.options.icons.alert"
|
|
51
51
|
/>
|
|
52
52
|
{{ child.layout.title ?? child.layout.label }}
|
|
53
53
|
</v-tab>
|
|
@@ -48,7 +48,7 @@ const tab = ref(0)
|
|
|
48
48
|
<v-icon
|
|
49
49
|
v-if="child.validated && (child.error || child.childError)"
|
|
50
50
|
color="error"
|
|
51
|
-
:icon="statefulLayout.options.
|
|
51
|
+
:icon="statefulLayout.options.icons.alert"
|
|
52
52
|
/>
|
|
53
53
|
{{ child.layout.title ?? child.layout.label }}
|
|
54
54
|
</v-tab>
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Vjsf from './components/vjsf.vue'
|
|
2
|
-
import { defaultOptions } from './options.js'
|
|
3
|
-
export { Vjsf, defaultOptions }
|
|
2
|
+
import { defaultOptions, defaultIcons } from './options.js'
|
|
3
|
+
export { Vjsf, defaultOptions, defaultIcons }
|
|
4
4
|
export default Vjsf
|
|
5
5
|
|
|
6
6
|
/** @typedef {import('./types.js').PartialVjsfOptions} Options */
|
package/src/options.js
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/** @type {import('./types.js').VjsfIcons} */
|
|
2
|
+
export const defaultIcons = {
|
|
3
|
+
// as much as possible with use standard vuetify aliases
|
|
4
|
+
add: '$plus',
|
|
5
|
+
calendar: '$calendar',
|
|
6
|
+
close: '$close',
|
|
7
|
+
edit: '$edit',
|
|
8
|
+
sortDown: '$sortDesc',
|
|
9
|
+
sortUp: '$sortAsc',
|
|
10
|
+
// codes are copied from here https://raw.githubusercontent.com/Templarian/MaterialDesign-JS/refs/heads/master/mdi.js
|
|
11
|
+
alert: 'svg:M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z',
|
|
12
|
+
clock: 'svg:M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z',
|
|
13
|
+
delete: 'svg:M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z',
|
|
14
|
+
duplicate: 'svg:M11,17H4A2,2 0 0,1 2,15V3A2,2 0 0,1 4,1H16V3H4V15H11V13L15,16L11,19V17M19,21V7H8V13H6V7A2,2 0 0,1 8,5H19A2,2 0 0,1 21,7V21A2,2 0 0,1 19,23H8A2,2 0 0,1 6,21V19H8V21H19Z',
|
|
15
|
+
infoSymbol: 'svg:M11 9H13V7H11V9M11 17H13V11H11V17Z',
|
|
16
|
+
menu: 'svg:M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z',
|
|
17
|
+
sort: 'svg:M17.45,17.55L12,23L6.55,17.55L7.96,16.14L11,19.17V4.83L7.96,7.86L6.55,6.45L12,1L17.45,6.45L16.04,7.86L13,4.83V19.17L16.04,16.14L17.45,17.55Z'
|
|
18
|
+
}
|
|
2
19
|
|
|
3
20
|
export const defaultOptions = {
|
|
4
21
|
nodeComponents: {},
|
|
5
22
|
plugins: [],
|
|
6
|
-
pluginsOptions: {}
|
|
7
|
-
iconset: mdiIconset
|
|
23
|
+
pluginsOptions: {}
|
|
8
24
|
}
|
|
9
25
|
|
|
10
26
|
/**
|
|
@@ -28,6 +44,7 @@ export const getFullOptions = (options, form, width, slots, defaultNodeComponent
|
|
|
28
44
|
nodeComponents[plugin.info.name] = plugin.nodeComponent
|
|
29
45
|
}
|
|
30
46
|
}
|
|
47
|
+
const icons = { ...options?.icons, ...defaultIcons }
|
|
31
48
|
|
|
32
49
|
/** @type {import('./types.js').VjsfOptions} */
|
|
33
50
|
const fullOptions = {
|
|
@@ -41,7 +58,8 @@ export const getFullOptions = (options, form, width, slots, defaultNodeComponent
|
|
|
41
58
|
width: Math.round(width ?? 0),
|
|
42
59
|
vjsfSlots: { ...slots },
|
|
43
60
|
components,
|
|
44
|
-
nodeComponents
|
|
61
|
+
nodeComponents,
|
|
62
|
+
icons
|
|
45
63
|
}
|
|
46
64
|
return fullOptions
|
|
47
65
|
}
|
package/src/types.ts
CHANGED
|
@@ -39,7 +39,7 @@ export type Plugin = {
|
|
|
39
39
|
nodeComponent: Component
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export type
|
|
42
|
+
export type VjsfIcons = {
|
|
43
43
|
add: string
|
|
44
44
|
alert: string
|
|
45
45
|
calendar: string
|
|
@@ -63,7 +63,7 @@ export type VjsfStatefulLayoutOptions = Partial<StatefulLayoutOptions> & {
|
|
|
63
63
|
nodeComponents: Record<string, Component>,
|
|
64
64
|
plugins: Plugin[],
|
|
65
65
|
pluginsOptions: Record<string, unknown>,
|
|
66
|
-
|
|
66
|
+
icons: VjsfIcons
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
export type VjsfCompileOptions = Partial<CompileOptions> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdi-svg.d.ts","sourceRoot":"","sources":["../../src/iconsets/mdi-svg.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mdi-svg.d.ts","sourceRoot":"","sources":["../../src/iconsets/mdi-svg.js"],"names":[],"mappings":""}
|
package/types/iconsets/mdi.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdi.d.ts","sourceRoot":"","sources":["../../src/iconsets/mdi.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mdi.d.ts","sourceRoot":"","sources":["../../src/iconsets/mdi.js"],"names":[],"mappings":""}
|
package/types/index.d.ts
CHANGED
|
@@ -3,5 +3,6 @@ export type Options = import('./types.js').PartialVjsfOptions;
|
|
|
3
3
|
export type CompileOptions = import('./types.js').PartialVjsfCompileOptions;
|
|
4
4
|
import Vjsf from './components/vjsf.vue';
|
|
5
5
|
import { defaultOptions } from './options.js';
|
|
6
|
-
|
|
6
|
+
import { defaultIcons } from './options.js';
|
|
7
|
+
export { Vjsf, defaultOptions, defaultIcons };
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";sBAKc,OAAO,YAAY,EAAE,kBAAkB;6BACvC,OAAO,YAAY,EAAE,yBAAyB;iBAN3C,uBAAuB;+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";sBAKc,OAAO,YAAY,EAAE,kBAAkB;6BACvC,OAAO,YAAY,EAAE,yBAAyB;iBAN3C,uBAAuB;+BACK,cAAc;6BAAd,cAAc"}
|
package/types/options.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
/** @type {import('./types.js').VjsfIcons} */
|
|
2
|
+
export const defaultIcons: import('./types.js').VjsfIcons;
|
|
1
3
|
export namespace defaultOptions {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { mdiIconset as iconset };
|
|
4
|
+
let nodeComponents: {};
|
|
5
|
+
let plugins: never[];
|
|
6
|
+
let pluginsOptions: {};
|
|
6
7
|
}
|
|
7
8
|
export function getFullOptions(options: Partial<import("./types.js").VjsfOptions> | null, form: any, width: number, slots: import("vue").Slots, defaultNodeComponents: Record<string, import('vue').Component>, onData: (data: any) => void, onUpdate: (statefulLayout: import('@json-layout/core').StatefulLayout) => void, onAutofocus: (key: string) => void): import("./types.js").VjsfOptions;
|
|
8
|
-
import mdiIconset from './iconsets/mdi.js';
|
|
9
9
|
//# sourceMappingURL=options.d.ts.map
|
package/types/options.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.js"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.js"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,2BADW,OAAO,YAAY,EAAE,SAAS,CAiBxC;;;;;;AAoBM,wCAVI,QAAQ,OAAO,YAAY,EAAE,WAAW,CAAC,GAAG,IAAI,QAChD,GAAG,SACH,MAAM,SACN,OAAO,KAAK,EAAE,KAAK,yBACnB,OAAO,MAAM,EAAE,OAAO,KAAK,EAAE,SAAS,CAAC,iBAChC,GAAG,KAAK,IAAI,6BACF,OAAO,mBAAmB,EAAE,cAAc,KAAK,IAAI,qBAC9D,MAAM,KAAK,IAAI,oCA8B/B"}
|
package/types/types.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export type Plugin = {
|
|
|
6
6
|
info: ComponentInfo;
|
|
7
7
|
nodeComponent: Component;
|
|
8
8
|
};
|
|
9
|
-
export type
|
|
9
|
+
export type VjsfIcons = {
|
|
10
10
|
add: string;
|
|
11
11
|
alert: string;
|
|
12
12
|
calendar: string;
|
|
@@ -26,7 +26,7 @@ export type VjsfStatefulLayoutOptions = Partial<StatefulLayoutOptions> & {
|
|
|
26
26
|
nodeComponents: Record<string, Component>;
|
|
27
27
|
plugins: Plugin[];
|
|
28
28
|
pluginsOptions: Record<string, unknown>;
|
|
29
|
-
|
|
29
|
+
icons: VjsfIcons;
|
|
30
30
|
};
|
|
31
31
|
export type VjsfCompileOptions = Partial<CompileOptions> & {
|
|
32
32
|
pluginsImports: string[];
|
package/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,eAAe,EACf,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,cAAc,EACf,MAAM,mBAAmB,CAAA;AAE1B,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAAA;AAE3D,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,EAAE,aAAa,CAAC;IACpB,aAAa,EAAE,SAAS,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,eAAe,EACf,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,UAAU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EAAE,mBAAmB,CAAA;CAAC,CAAA;AAC/F,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,mBAAmB,CAAA;CAAC,CAAA;AAC7F,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,mBAAmB,CAAA;CAAC,CAAA;AACrG,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,mBAAmB,CAAA;CAAC,CAAA;AAC3F,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,mBAAmB,CAAA;CAAC,CAAA;AAC7F,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,mBAAmB,CAAA;CAAC,CAAA;AAC/F,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG;IAAC,OAAO,EAAE,mBAAmB,CAAA;CAAC,CAAA"}
|
package/src/iconsets/mdi-svg.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// similar to this https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/iconsets/mdi-svg.ts
|
|
2
|
-
// codes are copied from here https://raw.githubusercontent.com/Templarian/MaterialDesign-JS/refs/heads/master/mdi.js
|
|
3
|
-
|
|
4
|
-
import defaultAliases from './default-aliases.js'
|
|
5
|
-
|
|
6
|
-
/** @type {import('../types.js').VjsfIconSet} */
|
|
7
|
-
export default {
|
|
8
|
-
...defaultAliases,
|
|
9
|
-
alert: 'svg:M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z',
|
|
10
|
-
clock: 'svg:M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z',
|
|
11
|
-
delete: 'svg:M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z',
|
|
12
|
-
duplicate: 'svg:M11,17H4A2,2 0 0,1 2,15V3A2,2 0 0,1 4,1H16V3H4V15H11V13L15,16L11,19V17M19,21V7H8V13H6V7A2,2 0 0,1 8,5H19A2,2 0 0,1 21,7V21A2,2 0 0,1 19,23H8A2,2 0 0,1 6,21V19H8V21H19Z',
|
|
13
|
-
infoSymbol: 'svg:M11 9H13V7H11V9M11 17H13V11H11V17Z',
|
|
14
|
-
menu: 'svg:M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z',
|
|
15
|
-
sort: 'svg:M17.45,17.55L12,23L6.55,17.55L7.96,16.14L11,19.17V4.83L7.96,7.86L6.55,6.45L12,1L17.45,6.45L16.04,7.86L13,4.83V19.17L16.04,16.14L17.45,17.55Z'
|
|
16
|
-
}
|
package/src/iconsets/mdi.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import defaultAliases from './default-aliases.js'
|
|
2
|
-
|
|
3
|
-
/** @type {import('../types.js').VjsfIconSet} */
|
|
4
|
-
export default {
|
|
5
|
-
...defaultAliases,
|
|
6
|
-
alert: 'mdi-alert',
|
|
7
|
-
clock: 'mdi-clock',
|
|
8
|
-
delete: 'mdi-delete',
|
|
9
|
-
duplicate: 'mdi-content-duplicate',
|
|
10
|
-
infoSymbol: 'mdi-information-symbol',
|
|
11
|
-
menu: 'mdi-dots-vertical',
|
|
12
|
-
sort: 'mdi-arrow-up-down'
|
|
13
|
-
}
|