@aziontech/webkit 1.6.0 → 1.7.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/package.json +37 -2
- package/src/components/empty-results-block/empty-results-block.vue +115 -0
- package/src/components/empty-results-block/empty-results-block.vue.d.ts +112 -0
- package/src/components/empty-results-block/empty-results-block.vue.d.ts.map +1 -0
- package/src/components/empty-results-block/package.json +9 -0
- package/src/components/resizable-splitter/package.json +9 -0
- package/src/components/resizable-splitter/resizable-splitter.vue +282 -0
- package/src/components/resizable-splitter/resizable-splitter.vue.d.ts +78 -0
- package/src/components/resizable-splitter/resizable-splitter.vue.d.ts.map +1 -0
- package/src/core/form/field-dropdown/field-dropdown.vue +4 -4
- package/src/core/form/field-dropdown/field-dropdown.vue.d.ts +3 -3
- package/src/core/form/field-group-switch/field-group-switch.vue.d.ts +1 -1
- package/src/core/form/field-number/field-number.vue +4 -4
- package/src/core/form/field-number/field-number.vue.d.ts +3 -3
- package/src/core/form/{field-text-password/field-text-password.vue → field-password/field-password.vue} +4 -4
- package/src/core/form/{field-text-password/field-text-password.vue.d.ts → field-password/field-password.vue.d.ts} +4 -4
- package/src/core/form/field-password/field-password.vue.d.ts.map +1 -0
- package/src/core/form/field-password/package.json +11 -0
- package/src/core/form/field-password-strength/field-password-strength.vue +209 -0
- package/src/core/form/field-password-strength/field-password-strength.vue.d.ts +175 -0
- package/src/core/form/field-password-strength/field-password-strength.vue.d.ts.map +1 -0
- package/src/core/form/field-password-strength/package.json +11 -0
- package/src/core/form/field-radio-block/field-radio-block.vue.d.ts +1 -1
- package/src/core/form/field-switch-block/field-switch-block.vue.d.ts +1 -1
- package/src/core/form/field-text/field-text.vue +4 -4
- package/src/core/form/field-text/field-text.vue.d.ts +3 -3
- package/src/core/form/field-text-area/field-text-area.vue +4 -4
- package/src/core/form/field-text-area/field-text-area.vue.d.ts +3 -3
- package/src/core/form/field-text-privacy/field-text-privacy.vue +7 -7
- package/src/core/form/field-text-privacy/field-text-privacy.vue.d.ts +3 -3
- package/src/core/primevue/accordion/accordion.vue +35 -0
- package/src/core/primevue/accordion/accordion.vue.d.ts +49 -0
- package/src/core/primevue/accordion/accordion.vue.d.ts.map +1 -0
- package/src/core/primevue/accordion/package.json +8 -0
- package/src/core/primevue/accordion-tab/accordion-tab.vue +30 -0
- package/src/core/primevue/accordion-tab/accordion-tab.vue.d.ts +41 -0
- package/src/core/primevue/accordion-tab/accordion-tab.vue.d.ts.map +1 -0
- package/src/core/primevue/accordion-tab/package.json +8 -0
- package/src/core/primevue/avatar/avatar.vue +47 -0
- package/src/core/primevue/avatar/avatar.vue.d.ts +72 -0
- package/src/core/primevue/avatar/avatar.vue.d.ts.map +1 -0
- package/src/core/primevue/avatar/package.json +1 -0
- package/src/core/primevue/badge/badge.vue +35 -0
- package/src/core/primevue/badge/badge.vue.d.ts +47 -0
- package/src/core/primevue/badge/badge.vue.d.ts.map +1 -0
- package/src/core/primevue/badge/package.json +8 -0
- package/src/core/primevue/breadcrumb/breadcrumb.vue +32 -0
- package/src/core/primevue/breadcrumb/breadcrumb.vue.d.ts +43 -0
- package/src/core/primevue/breadcrumb/breadcrumb.vue.d.ts.map +1 -0
- package/src/core/primevue/breadcrumb/package.json +1 -0
- package/src/core/primevue/button/button.vue +98 -0
- package/src/core/primevue/button/button.vue.d.ts +159 -0
- package/src/core/primevue/button/button.vue.d.ts.map +1 -0
- package/src/core/primevue/button/package.json +8 -0
- package/src/core/primevue/card/card.vue +32 -0
- package/src/core/primevue/card/card.vue.d.ts +31 -0
- package/src/core/primevue/card/card.vue.d.ts.map +1 -0
- package/src/core/primevue/card/package.json +1 -0
- package/src/core/primevue/carousel/carousel.vue +111 -0
- package/src/core/primevue/carousel/carousel.vue.d.ts +170 -0
- package/src/core/primevue/carousel/carousel.vue.d.ts.map +1 -0
- package/src/core/primevue/carousel/package.json +1 -0
- package/src/core/primevue/chip/chip.vue +45 -0
- package/src/core/primevue/chip/chip.vue.d.ts +63 -0
- package/src/core/primevue/chip/chip.vue.d.ts.map +1 -0
- package/src/core/primevue/chip/package.json +1 -0
- package/src/core/primevue/column/column.vue +75 -0
- package/src/core/primevue/column/column.vue.d.ts +138 -0
- package/src/core/primevue/column/column.vue.d.ts.map +1 -0
- package/src/core/primevue/column/package.json +1 -0
- package/src/core/primevue/datatable/datatable.vue +167 -0
- package/src/core/primevue/datatable/datatable.vue.d.ts +311 -0
- package/src/core/primevue/datatable/datatable.vue.d.ts.map +1 -0
- package/src/core/primevue/datatable/package.json +1 -0
- package/src/core/primevue/dialog/dialog.vue +86 -0
- package/src/core/primevue/dialog/dialog.vue.d.ts +124 -0
- package/src/core/primevue/dialog/dialog.vue.d.ts.map +1 -0
- package/src/core/primevue/dialog/package.json +1 -0
- package/src/core/primevue/divider/divider.vue +40 -0
- package/src/core/primevue/divider/divider.vue.d.ts +56 -0
- package/src/core/primevue/divider/divider.vue.d.ts.map +1 -0
- package/src/core/primevue/divider/package.json +1 -0
- package/src/core/primevue/inline-message/inline-message.vue +31 -0
- package/src/core/primevue/inline-message/inline-message.vue.d.ts +43 -0
- package/src/core/primevue/inline-message/inline-message.vue.d.ts.map +1 -0
- package/src/core/primevue/inline-message/package.json +8 -0
- package/src/core/primevue/menu/menu.vue +45 -0
- package/src/core/primevue/menu/menu.vue.d.ts +57 -0
- package/src/core/primevue/menu/menu.vue.d.ts.map +1 -0
- package/src/core/primevue/menu/package.json +1 -0
- package/src/core/primevue/message/message.vue +49 -0
- package/src/core/primevue/message/message.vue.d.ts +74 -0
- package/src/core/primevue/message/message.vue.d.ts.map +1 -0
- package/src/core/primevue/message/package.json +8 -0
- package/src/core/primevue/overlaypanel/overlaypanel.vue +36 -0
- package/src/core/primevue/overlaypanel/overlaypanel.vue.d.ts +47 -0
- package/src/core/primevue/overlaypanel/overlaypanel.vue.d.ts.map +1 -0
- package/src/core/primevue/overlaypanel/package.json +1 -0
- package/src/core/primevue/paginator/package.json +1 -0
- package/src/core/primevue/paginator/paginator.vue +65 -0
- package/src/core/primevue/paginator/paginator.vue.d.ts +96 -0
- package/src/core/primevue/paginator/paginator.vue.d.ts.map +1 -0
- package/src/core/primevue/progressbar/package.json +1 -0
- package/src/core/primevue/progressbar/progressbar.vue +34 -0
- package/src/core/primevue/progressbar/progressbar.vue.d.ts +45 -0
- package/src/core/primevue/progressbar/progressbar.vue.d.ts.map +1 -0
- package/src/core/primevue/progressspinner/package.json +1 -0
- package/src/core/primevue/progressspinner/progressspinner.vue +33 -0
- package/src/core/primevue/progressspinner/progressspinner.vue.d.ts +43 -0
- package/src/core/primevue/progressspinner/progressspinner.vue.d.ts.map +1 -0
- package/src/core/primevue/sidebar/package.json +1 -0
- package/src/core/primevue/sidebar/sidebar.vue +69 -0
- package/src/core/primevue/sidebar/sidebar.vue.d.ts +100 -0
- package/src/core/primevue/sidebar/sidebar.vue.d.ts.map +1 -0
- package/src/core/primevue/skeleton/package.json +1 -0
- package/src/core/primevue/skeleton/skeleton.vue +51 -0
- package/src/core/primevue/skeleton/skeleton.vue.d.ts +76 -0
- package/src/core/primevue/skeleton/skeleton.vue.d.ts.map +1 -0
- package/src/core/primevue/splitbutton/package.json +1 -0
- package/src/core/primevue/splitbutton/splitbutton.vue +77 -0
- package/src/core/primevue/splitbutton/splitbutton.vue.d.ts +121 -0
- package/src/core/primevue/splitbutton/splitbutton.vue.d.ts.map +1 -0
- package/src/core/primevue/steps/package.json +1 -0
- package/src/core/primevue/steps/steps.vue +40 -0
- package/src/core/primevue/steps/steps.vue.d.ts +57 -0
- package/src/core/primevue/steps/steps.vue.d.ts.map +1 -0
- package/src/core/primevue/tabmenu/package.json +1 -0
- package/src/core/primevue/tabmenu/tabmenu.vue +40 -0
- package/src/core/primevue/tabmenu/tabmenu.vue.d.ts +57 -0
- package/src/core/primevue/tabmenu/tabmenu.vue.d.ts.map +1 -0
- package/src/core/primevue/tabpanel/package.json +1 -0
- package/src/core/primevue/tabpanel/tabpanel.vue +35 -0
- package/src/core/primevue/tabpanel/tabpanel.vue.d.ts +43 -0
- package/src/core/primevue/tabpanel/tabpanel.vue.d.ts.map +1 -0
- package/src/core/primevue/tabview/package.json +1 -0
- package/src/core/primevue/tabview/tabview.vue +41 -0
- package/src/core/primevue/tabview/tabview.vue.d.ts +56 -0
- package/src/core/primevue/tabview/tabview.vue.d.ts.map +1 -0
- package/src/core/primevue/tag/package.json +8 -0
- package/src/core/primevue/tag/tag.vue +43 -0
- package/src/core/primevue/tag/tag.vue.d.ts +61 -0
- package/src/core/primevue/tag/tag.vue.d.ts.map +1 -0
- package/src/core/primevue/timeline/package.json +1 -0
- package/src/core/primevue/timeline/timeline.vue +48 -0
- package/src/core/primevue/timeline/timeline.vue.d.ts +72 -0
- package/src/core/primevue/timeline/timeline.vue.d.ts.map +1 -0
- package/src/core/primevue/toast/package.json +1 -0
- package/src/core/primevue/toast/toast.vue +38 -0
- package/src/core/primevue/toast/toast.vue.d.ts +54 -0
- package/src/core/primevue/toast/toast.vue.d.ts.map +1 -0
- package/src/core/primevue/toolbar/package.json +1 -0
- package/src/core/primevue/toolbar/toolbar.vue +26 -0
- package/src/core/primevue/toolbar/toolbar.vue.d.ts +27 -0
- package/src/core/primevue/toolbar/toolbar.vue.d.ts.map +1 -0
- package/src/core/form/field-text-password/field-text-password.vue.d.ts.map +0 -1
- package/src/core/form/field-text-password/package.json +0 -11
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Button from 'primevue/button'
|
|
3
|
+
|
|
4
|
+
defineOptions({ name: 'Button' })
|
|
5
|
+
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
label: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: undefined
|
|
10
|
+
},
|
|
11
|
+
icon: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: undefined
|
|
14
|
+
},
|
|
15
|
+
iconPos: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: 'left',
|
|
18
|
+
validator: (val) => ['left', 'right', 'top', 'bottom'].includes(val)
|
|
19
|
+
},
|
|
20
|
+
iconClass: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: undefined
|
|
23
|
+
},
|
|
24
|
+
severity: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: undefined,
|
|
27
|
+
validator: (val) => ['secondary', 'success', 'info', 'warning', 'danger', 'contrast'].includes(val)
|
|
28
|
+
},
|
|
29
|
+
raised: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: false
|
|
32
|
+
},
|
|
33
|
+
rounded: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: false
|
|
36
|
+
},
|
|
37
|
+
text: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
40
|
+
},
|
|
41
|
+
outlined: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: false
|
|
44
|
+
},
|
|
45
|
+
size: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: undefined,
|
|
48
|
+
validator: (val) => ['small', 'large'].includes(val)
|
|
49
|
+
},
|
|
50
|
+
disabled: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: false
|
|
53
|
+
},
|
|
54
|
+
loading: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: false
|
|
57
|
+
},
|
|
58
|
+
link: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: false
|
|
61
|
+
},
|
|
62
|
+
class: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: ''
|
|
65
|
+
},
|
|
66
|
+
pt: {
|
|
67
|
+
type: Object,
|
|
68
|
+
default: undefined
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
const emit = defineEmits(['click'])
|
|
73
|
+
</script>
|
|
74
|
+
|
|
75
|
+
<template>
|
|
76
|
+
<Button
|
|
77
|
+
:label="props.label"
|
|
78
|
+
:icon="props.icon"
|
|
79
|
+
:iconPos="props.iconPos"
|
|
80
|
+
:iconClass="props.iconClass"
|
|
81
|
+
:severity="props.severity"
|
|
82
|
+
:raised="props.raised"
|
|
83
|
+
:rounded="props.rounded"
|
|
84
|
+
:text="props.text"
|
|
85
|
+
:outlined="props.outlined"
|
|
86
|
+
:size="props.size"
|
|
87
|
+
:disabled="props.disabled || props.loading"
|
|
88
|
+
:loading="props.loading"
|
|
89
|
+
:link="props.link"
|
|
90
|
+
:class="props.class"
|
|
91
|
+
:pt="props.pt"
|
|
92
|
+
@click="emit('click', $event)"
|
|
93
|
+
>
|
|
94
|
+
<template v-if="$slots.default" #default>
|
|
95
|
+
<slot />
|
|
96
|
+
</template>
|
|
97
|
+
</Button>
|
|
98
|
+
</template>
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
label: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
icon: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
iconPos: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (val: unknown) => boolean;
|
|
20
|
+
};
|
|
21
|
+
iconClass: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
severity: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: undefined;
|
|
28
|
+
validator: (val: unknown) => boolean;
|
|
29
|
+
};
|
|
30
|
+
raised: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
rounded: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
text: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
outlined: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
size: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
validator: (val: unknown) => boolean;
|
|
50
|
+
};
|
|
51
|
+
disabled: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
loading: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
link: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
class: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
pt: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
+
click: (...args: any[]) => void;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
label: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
icon: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
iconPos: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
validator: (val: unknown) => boolean;
|
|
86
|
+
};
|
|
87
|
+
iconClass: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
severity: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
validator: (val: unknown) => boolean;
|
|
95
|
+
};
|
|
96
|
+
raised: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
rounded: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
text: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
outlined: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
size: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: undefined;
|
|
115
|
+
validator: (val: unknown) => boolean;
|
|
116
|
+
};
|
|
117
|
+
disabled: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
loading: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
link: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
class: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
pt: {
|
|
134
|
+
type: ObjectConstructor;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
}>, {
|
|
140
|
+
label: string;
|
|
141
|
+
class: string;
|
|
142
|
+
icon: string;
|
|
143
|
+
size: string;
|
|
144
|
+
loading: boolean;
|
|
145
|
+
pt: Record<string, any>;
|
|
146
|
+
outlined: boolean;
|
|
147
|
+
iconPos: string;
|
|
148
|
+
iconClass: string;
|
|
149
|
+
link: boolean;
|
|
150
|
+
severity: string;
|
|
151
|
+
raised: boolean;
|
|
152
|
+
rounded: boolean;
|
|
153
|
+
text: boolean;
|
|
154
|
+
disabled: boolean;
|
|
155
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
156
|
+
type __VLS_Slots = {
|
|
157
|
+
default?: ((props: {}) => any) | undefined;
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.vue.d.ts","sourceRoot":"","sources":["button.vue"],"names":[],"mappings":"wBA4UqB,OAAO,YAAY;;AADxC,4BAA2B,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;qBAEtD,CAAC,EAAE,CAAC;;;AAtEzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAmEG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Card from 'primevue/card'
|
|
3
|
+
|
|
4
|
+
defineOptions({ name: 'Card' })
|
|
5
|
+
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
class: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: ''
|
|
10
|
+
}
|
|
11
|
+
})
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<Card :class="props.class">
|
|
16
|
+
<template v-if="$slots.header" #header>
|
|
17
|
+
<slot name="header" />
|
|
18
|
+
</template>
|
|
19
|
+
<template v-if="$slots.title" #title>
|
|
20
|
+
<slot name="title" />
|
|
21
|
+
</template>
|
|
22
|
+
<template v-if="$slots.subtitle" #subtitle>
|
|
23
|
+
<slot name="subtitle" />
|
|
24
|
+
</template>
|
|
25
|
+
<template v-if="$slots.content" #content>
|
|
26
|
+
<slot name="content" />
|
|
27
|
+
</template>
|
|
28
|
+
<template v-if="$slots.footer" #footer>
|
|
29
|
+
<slot name="footer" />
|
|
30
|
+
</template>
|
|
31
|
+
</Card>
|
|
32
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
class: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
class: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {
|
|
18
|
+
class: string;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
type __VLS_Slots = {
|
|
21
|
+
header?: ((props: {}) => any) | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
title?: ((props: {}) => any) | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
subtitle?: ((props: {}) => any) | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
content?: ((props: {}) => any) | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
footer?: ((props: {}) => any) | undefined;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=card.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.vue.d.ts","sourceRoot":"","sources":["card.vue"],"names":[],"mappings":"wBA+IqB,OAAO,YAAY;;AADxC,4BAA2B,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;qBAEtD,CAAC,EAAE,CAAC;;;AAVzB;;;;;;;;;;;;6EAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"main": "./card.vue", "module": "./card.vue", "browser": {"./sfc": "./card.vue"}, "sideEffects": ["*.vue"]}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Carousel from 'primevue/carousel'
|
|
3
|
+
|
|
4
|
+
defineOptions({ name: 'Carousel' })
|
|
5
|
+
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
value: {
|
|
8
|
+
type: Array,
|
|
9
|
+
default: () => []
|
|
10
|
+
},
|
|
11
|
+
page: {
|
|
12
|
+
type: Number,
|
|
13
|
+
default: 0
|
|
14
|
+
},
|
|
15
|
+
numVisible: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 1
|
|
18
|
+
},
|
|
19
|
+
numScroll: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 1
|
|
22
|
+
},
|
|
23
|
+
responsiveOptions: {
|
|
24
|
+
type: Array,
|
|
25
|
+
default: () => []
|
|
26
|
+
},
|
|
27
|
+
orientation: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: 'horizontal',
|
|
30
|
+
validator: (val) => ['horizontal', 'vertical'].includes(val)
|
|
31
|
+
},
|
|
32
|
+
verticalViewPortHeight: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: '300px'
|
|
35
|
+
},
|
|
36
|
+
contentClass: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: ''
|
|
39
|
+
},
|
|
40
|
+
containerClass: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: ''
|
|
43
|
+
},
|
|
44
|
+
indicatorsContentClass: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: ''
|
|
47
|
+
},
|
|
48
|
+
circular: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
52
|
+
autoplayInterval: {
|
|
53
|
+
type: Number,
|
|
54
|
+
default: undefined
|
|
55
|
+
},
|
|
56
|
+
showNavigators: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: true
|
|
59
|
+
},
|
|
60
|
+
showIndicators: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: true
|
|
63
|
+
},
|
|
64
|
+
class: {
|
|
65
|
+
type: String,
|
|
66
|
+
default: ''
|
|
67
|
+
}
|
|
68
|
+
})
|
|
69
|
+
|
|
70
|
+
const emit = defineEmits(['update:page'])
|
|
71
|
+
</script>
|
|
72
|
+
|
|
73
|
+
<template>
|
|
74
|
+
<Carousel
|
|
75
|
+
:value="props.value"
|
|
76
|
+
:page="props.page"
|
|
77
|
+
:numVisible="props.numVisible"
|
|
78
|
+
:numScroll="props.numScroll"
|
|
79
|
+
:responsiveOptions="props.responsiveOptions"
|
|
80
|
+
:orientation="props.orientation"
|
|
81
|
+
:verticalViewPortHeight="props.verticalViewPortHeight"
|
|
82
|
+
:contentClass="props.contentClass"
|
|
83
|
+
:containerClass="props.containerClass"
|
|
84
|
+
:indicatorsContentClass="props.indicatorsContentClass"
|
|
85
|
+
:circular="props.circular"
|
|
86
|
+
:autoplayInterval="props.autoplayInterval"
|
|
87
|
+
:showNavigators="props.showNavigators"
|
|
88
|
+
:showIndicators="props.showIndicators"
|
|
89
|
+
:class="props.class"
|
|
90
|
+
@update:page="emit('update:page', $event)"
|
|
91
|
+
>
|
|
92
|
+
<template v-if="$slides.default" #default="slotProps">
|
|
93
|
+
<slot :data="slotProps.data" :index="slotProps.index" />
|
|
94
|
+
</template>
|
|
95
|
+
<template v-if="$slots.header" #header>
|
|
96
|
+
<slot name="header" />
|
|
97
|
+
</template>
|
|
98
|
+
<template v-if="$slots.footer" #footer>
|
|
99
|
+
<slot name="footer" />
|
|
100
|
+
</template>
|
|
101
|
+
<template v-if="$slots.previcon" #previcon>
|
|
102
|
+
<slot name="previcon" />
|
|
103
|
+
</template>
|
|
104
|
+
<template v-if="$slots.nexticon" #nexticon>
|
|
105
|
+
<slot name="nexticon" />
|
|
106
|
+
</template>
|
|
107
|
+
<template v-if="$slots.indicator" #indicator="slotProps">
|
|
108
|
+
<slot name="indicator" :index="slotProps.index" />
|
|
109
|
+
</template>
|
|
110
|
+
</Carousel>
|
|
111
|
+
</template>
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
value: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
page: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
numVisible: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
numScroll: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
responsiveOptions: {
|
|
25
|
+
type: ArrayConstructor;
|
|
26
|
+
default: () => never[];
|
|
27
|
+
};
|
|
28
|
+
orientation: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
validator: (val: unknown) => boolean;
|
|
32
|
+
};
|
|
33
|
+
verticalViewPortHeight: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
contentClass: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
containerClass: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
indicatorsContentClass: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
circular: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
autoplayInterval: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
showNavigators: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
showIndicators: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
class: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
|
+
"update:page": (...args: any[]) => void;
|
|
71
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
value: {
|
|
73
|
+
type: ArrayConstructor;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
page: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
numVisible: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
numScroll: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
responsiveOptions: {
|
|
89
|
+
type: ArrayConstructor;
|
|
90
|
+
default: () => never[];
|
|
91
|
+
};
|
|
92
|
+
orientation: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
validator: (val: unknown) => boolean;
|
|
96
|
+
};
|
|
97
|
+
verticalViewPortHeight: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
contentClass: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
containerClass: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
indicatorsContentClass: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
circular: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
autoplayInterval: {
|
|
118
|
+
type: NumberConstructor;
|
|
119
|
+
default: undefined;
|
|
120
|
+
};
|
|
121
|
+
showNavigators: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
showIndicators: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
class: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
}>> & Readonly<{
|
|
134
|
+
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
}>, {
|
|
136
|
+
class: string;
|
|
137
|
+
value: unknown[];
|
|
138
|
+
autoplayInterval: number;
|
|
139
|
+
circular: boolean;
|
|
140
|
+
showNavigators: boolean;
|
|
141
|
+
showIndicators: boolean;
|
|
142
|
+
numVisible: number;
|
|
143
|
+
page: number;
|
|
144
|
+
numScroll: number;
|
|
145
|
+
responsiveOptions: unknown[];
|
|
146
|
+
orientation: string;
|
|
147
|
+
verticalViewPortHeight: string;
|
|
148
|
+
contentClass: string;
|
|
149
|
+
containerClass: string;
|
|
150
|
+
indicatorsContentClass: string;
|
|
151
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
152
|
+
type __VLS_Slots = {
|
|
153
|
+
default?: ((props: {
|
|
154
|
+
data: any;
|
|
155
|
+
index: any;
|
|
156
|
+
}) => any) | undefined;
|
|
157
|
+
} & {
|
|
158
|
+
header?: ((props: {}) => any) | undefined;
|
|
159
|
+
} & {
|
|
160
|
+
footer?: ((props: {}) => any) | undefined;
|
|
161
|
+
} & {
|
|
162
|
+
previcon?: ((props: {}) => any) | undefined;
|
|
163
|
+
} & {
|
|
164
|
+
nexticon?: ((props: {}) => any) | undefined;
|
|
165
|
+
} & {
|
|
166
|
+
indicator?: ((props: {
|
|
167
|
+
index: any;
|
|
168
|
+
}) => any) | undefined;
|
|
169
|
+
};
|
|
170
|
+
//# sourceMappingURL=carousel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel.vue.d.ts","sourceRoot":"","sources":["carousel.vue"],"names":[],"mappings":"wBA4YqB,OAAO,YAAY;;AADxC,4BAA2B,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;qBAEtD,CAAC,EAAE,CAAC;;;AApEzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAiEG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"main": "./carousel.vue", "module": "./carousel.vue", "browser": {"./sfc": "./carousel.vue"}, "sideEffects": ["*.vue"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Chip from 'primevue/chip'
|
|
3
|
+
|
|
4
|
+
defineOptions({ name: 'Chip' })
|
|
5
|
+
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
label: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: undefined
|
|
10
|
+
},
|
|
11
|
+
icon: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: undefined
|
|
14
|
+
},
|
|
15
|
+
image: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: undefined
|
|
18
|
+
},
|
|
19
|
+
removable: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: false
|
|
22
|
+
},
|
|
23
|
+
class: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: ''
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
const emit = defineEmits(['remove'])
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<template>
|
|
33
|
+
<Chip
|
|
34
|
+
:label="props.label"
|
|
35
|
+
:icon="props.icon"
|
|
36
|
+
:image="props.image"
|
|
37
|
+
:removable="props.removable"
|
|
38
|
+
:class="props.class"
|
|
39
|
+
@remove="emit('remove')"
|
|
40
|
+
>
|
|
41
|
+
<template v-if="$slots.default" #default>
|
|
42
|
+
<slot />
|
|
43
|
+
</template>
|
|
44
|
+
</Chip>
|
|
45
|
+
</template>
|