@ulu/frontend-vue 0.1.1-beta.17 → 0.1.1-beta.19

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.
@@ -1,238 +1,66 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /**
3
- * Specify card element, unless to or href are used which will use 'a' or 'router-link'
4
- * - Other than changing to more appropriate element (ie 'li' if in list for example), this can
5
- * be used to set the card to a button to attach your own click handlers to
6
- */
7
- cardElement: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- /**
12
- * Text for title if not using slot
13
- */
14
- title: StringConstructor;
15
- /**
16
- * Element to use for title
17
- */
18
- titleElement: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- /**
23
- * Title will be router link
24
- */
25
- titleTo: {
26
- type: (ObjectConstructor | StringConstructor)[];
27
- validator: (_: any, props: any) => boolean;
28
- };
29
- /**
30
- * Will make title a link to href
31
- */
32
- titleHref: {
33
- type: StringConstructor;
34
- validator: (_: any, props: any) => boolean;
35
- };
36
- /**
37
- * When using href this will set title link's target attribute
38
- */
39
- titleTarget: StringConstructor;
40
- /**
41
- * If set the entire card will be router link
42
- * - Do not us in combination with titleTo or titleHref
43
- */
44
- to: (ObjectConstructor | StringConstructor)[];
45
- /**
46
- * If set the entire card will be a link to href
47
- * - Do not us in combination with titleTo or titleHref
48
- */
49
- href: {
50
- type: StringConstructor;
51
- };
52
- /**
53
- * When using href this will set link's target attribute
54
- */
55
- target: StringConstructor;
56
- /**
57
- * Classes with class bindings for different elements including ({ title, image })
58
- */
59
- classes: {
60
- type: ObjectConstructor;
61
- default: () => {};
62
- };
63
- /**
64
- * Whether to proxy clicks of non-interactive elements (making whole card clickable)
65
- */
66
- proxyClick: BooleanConstructor;
67
- /**
68
- * Options to be merged for proxy click settings ({ preventSelector, preventSelectionDuration })
69
- */
70
- proxyClickOptions: {
71
- type: ObjectConstructor;
72
- default: () => {};
73
- };
74
- /**
75
- * Source of image
76
- */
77
- imageSrc: StringConstructor;
78
- /**
79
- * Alt text for image
80
- */
81
- imageAlt: StringConstructor;
82
- /**
83
- * If true image will use icon modifier (displays for image adjusts for icon vs full image)
84
- */
85
- imageIcon: BooleanConstructor;
86
- /**
87
- * Horizontal card layout
88
- */
89
- horizontal: BooleanConstructor;
90
- /**
91
- * Horizontal centered card layout
92
- */
93
- horizontalCenter: BooleanConstructor;
94
- /**
95
- * Overlay card layout
96
- */
97
- overlay: BooleanConstructor;
98
- /**
99
- * Class modifiers (ie. 'transparent', 'secondary', etc)
100
- * - Can be String or Array of Strings
101
- */
102
- modifiers: (StringConstructor | ArrayConstructor)[];
103
- }>, {
104
- resolvedModifiers: any;
105
- }, {
106
- proxyClickEnabled: string | Record<string, any> | null;
107
- resolvedProxyOptions: {
108
- selectorPrevent: string;
109
- mousedownDurationPrevent: number;
110
- };
111
- cursorStyle: null;
112
- proxyStart: null;
113
- shouldProxy: boolean;
114
- }, {
115
- resolvedElement(): string | import("vue-router")._RouterLinkI;
116
- }, {
117
- onMousedown({ target, timeStamp }: {
118
- target: any;
119
- timeStamp: any;
120
- }): void;
121
- onMouseup({ timeStamp }: {
122
- timeStamp: any;
123
- }): void;
124
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
125
- /**
126
- * Specify card element, unless to or href are used which will use 'a' or 'router-link'
127
- * - Other than changing to more appropriate element (ie 'li' if in list for example), this can
128
- * be used to set the card to a button to attach your own click handlers to
129
- */
130
- cardElement: {
131
- type: StringConstructor;
132
- default: string;
133
- };
134
- /**
135
- * Text for title if not using slot
136
- */
137
- title: StringConstructor;
138
- /**
139
- * Element to use for title
140
- */
141
- titleElement: {
142
- type: StringConstructor;
143
- default: string;
144
- };
145
- /**
146
- * Title will be router link
147
- */
148
- titleTo: {
149
- type: (ObjectConstructor | StringConstructor)[];
150
- validator: (_: any, props: any) => boolean;
151
- };
152
- /**
153
- * Will make title a link to href
154
- */
155
- titleHref: {
156
- type: StringConstructor;
157
- validator: (_: any, props: any) => boolean;
158
- };
159
- /**
160
- * When using href this will set title link's target attribute
161
- */
162
- titleTarget: StringConstructor;
163
- /**
164
- * If set the entire card will be router link
165
- * - Do not us in combination with titleTo or titleHref
166
- */
167
- to: (ObjectConstructor | StringConstructor)[];
168
- /**
169
- * If set the entire card will be a link to href
170
- * - Do not us in combination with titleTo or titleHref
171
- */
172
- href: {
173
- type: StringConstructor;
174
- };
175
- /**
176
- * When using href this will set link's target attribute
177
- */
178
- target: StringConstructor;
179
- /**
180
- * Classes with class bindings for different elements including ({ title, image })
181
- */
182
- classes: {
183
- type: ObjectConstructor;
184
- default: () => {};
185
- };
186
- /**
187
- * Whether to proxy clicks of non-interactive elements (making whole card clickable)
188
- */
189
- proxyClick: BooleanConstructor;
190
- /**
191
- * Options to be merged for proxy click settings ({ preventSelector, preventSelectionDuration })
192
- */
193
- proxyClickOptions: {
194
- type: ObjectConstructor;
195
- default: () => {};
196
- };
197
- /**
198
- * Source of image
199
- */
200
- imageSrc: StringConstructor;
201
- /**
202
- * Alt text for image
203
- */
204
- imageAlt: StringConstructor;
205
- /**
206
- * If true image will use icon modifier (displays for image adjusts for icon vs full image)
207
- */
208
- imageIcon: BooleanConstructor;
209
- /**
210
- * Horizontal card layout
211
- */
212
- horizontal: BooleanConstructor;
213
- /**
214
- * Horizontal centered card layout
215
- */
216
- horizontalCenter: BooleanConstructor;
217
- /**
218
- * Overlay card layout
219
- */
220
- overlay: BooleanConstructor;
221
- /**
222
- * Class modifiers (ie. 'transparent', 'secondary', etc)
223
- * - Can be String or Array of Strings
224
- */
225
- modifiers: (StringConstructor | ArrayConstructor)[];
226
- }>> & Readonly<{}>, {
1
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
+ export default _default;
3
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ $emit: typeof emit;
8
+ $props: Partial<typeof props>;
227
9
  classes: Record<string, any>;
228
10
  overlay: boolean;
229
11
  horizontal: boolean;
230
12
  titleElement: string;
13
+ cardElement: string;
231
14
  proxyClick: boolean;
15
+ proxyClickOptions: Record<string, any>;
232
16
  imageIcon: boolean;
233
17
  horizontalCenter: boolean;
234
- cardElement: string;
235
- proxyClickOptions: Record<string, any>;
236
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
237
- export default _default;
18
+ title?: string | undefined;
19
+ to?: string | Record<string, any> | undefined;
20
+ target?: string | undefined;
21
+ modifiers?: string | unknown[] | undefined;
22
+ href?: string | undefined;
23
+ titleTo?: string | Record<string, any> | undefined;
24
+ titleHref?: string | undefined;
25
+ titleTarget?: string | undefined;
26
+ imageSrc?: string | undefined;
27
+ imageAlt?: string | undefined;
28
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ type __VLS_Slots = {
30
+ title?: ((props: {}) => any) | undefined;
31
+ } & {
32
+ title?: ((props: {}) => any) | undefined;
33
+ } & {
34
+ title?: ((props: {}) => any) | undefined;
35
+ } & {
36
+ body?: ((props: {}) => any) | undefined;
37
+ } & {
38
+ aside?: ((props: {}) => any) | undefined;
39
+ } & {
40
+ image?: ((props: {}) => any) | undefined;
41
+ } & {
42
+ footer?: ((props: {}) => any) | undefined;
43
+ };
44
+ declare const emit: (event: "proxy-click", ...args: any[]) => void;
45
+ declare const props: {
46
+ readonly classes: Record<string, any>;
47
+ readonly overlay: boolean;
48
+ readonly horizontal: boolean;
49
+ readonly titleElement: string;
50
+ readonly cardElement: string;
51
+ readonly proxyClick: boolean;
52
+ readonly proxyClickOptions: Record<string, any>;
53
+ readonly imageIcon: boolean;
54
+ readonly horizontalCenter: boolean;
55
+ readonly title?: string | undefined;
56
+ readonly to?: string | Record<string, any> | undefined;
57
+ readonly target?: string | undefined;
58
+ readonly modifiers?: string | unknown[] | undefined;
59
+ readonly href?: string | undefined;
60
+ readonly titleTo?: string | Record<string, any> | undefined;
61
+ readonly titleHref?: string | undefined;
62
+ readonly titleTarget?: string | undefined;
63
+ readonly imageSrc?: string | undefined;
64
+ readonly imageAlt?: string | undefined;
65
+ };
238
66
  //# sourceMappingURL=UluCard.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluCard.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluCard.vue"],"names":[],"mappings":";IA8PM;;;;OAIG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;IApGH;;;;OAIG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG"}
1
+ {"version":3,"file":"UluCard.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluCard.vue"],"names":[],"mappings":"wBA8pBqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AATzB;WAIkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;2OAGrC;;;;;;;;;;;;;;;;AAlTD,mEAA0C;AAtG1C;;;;;;;;;;;;;;;;;;;;EAoGG"}
@@ -4,8 +4,16 @@ type __VLS_WithSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
- $props: Partial<typeof __VLS_props>;
7
+ $props: Partial<typeof props>;
8
8
  classes: Record<string, any>;
9
+ table: boolean;
10
+ inline: boolean;
11
+ compact: boolean;
12
+ inlineAll: boolean;
13
+ separated: boolean;
14
+ separatedFirst: boolean;
15
+ separatedLast: boolean;
16
+ modifiers?: string | unknown[] | undefined;
9
17
  items?: unknown[] | undefined;
10
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
19
  type __VLS_Slots = {
@@ -19,8 +27,16 @@ type __VLS_Slots = {
19
27
  index: number;
20
28
  }) => any) | undefined;
21
29
  };
22
- declare const __VLS_props: {
30
+ declare const props: {
23
31
  readonly classes: Record<string, any>;
32
+ readonly table: boolean;
33
+ readonly inline: boolean;
34
+ readonly compact: boolean;
35
+ readonly inlineAll: boolean;
36
+ readonly separated: boolean;
37
+ readonly separatedFirst: boolean;
38
+ readonly separatedLast: boolean;
39
+ readonly modifiers?: string | unknown[] | undefined;
24
40
  readonly items?: unknown[] | undefined;
25
41
  };
26
42
  //# sourceMappingURL=UluDefinitionList.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluDefinitionList.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluDefinitionList.vue"],"names":[],"mappings":"wBA4HqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,WAAW,CAAC;;;2OAE3C;;;;;;;;;;;;AArFD;;;EAaG"}
1
+ {"version":3,"file":"UluDefinitionList.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluDefinitionList.vue"],"names":[],"mappings":"wBAsOqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;2OAErC;;;;;;;;;;;;AAxID;;;;;;;;;;;EA6CG"}