@tekkare/auriga 0.1.0 → 0.1.3
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/dist/module.json +1 -1
- package/dist/runtime/components/argAdvancedSearchBar.vue +318 -321
- package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +89 -3
- package/dist/runtime/components/argBtn.vue +48 -39
- package/dist/runtime/components/argBtn.vue.d.ts +72 -3
- package/dist/runtime/components/argComplexSelect.vue +255 -256
- package/dist/runtime/components/argComplexSelect.vue.d.ts +175 -3
- package/dist/runtime/components/argDataLoader.vue +8 -3
- package/dist/runtime/components/argDataLoader.vue.d.ts +1 -3
- package/dist/runtime/components/argDropdownSelect.vue +145 -138
- package/dist/runtime/components/argDropdownSelect.vue.d.ts +139 -3
- package/dist/runtime/components/argFileBtn.vue +58 -56
- package/dist/runtime/components/argFileBtn.vue.d.ts +60 -3
- package/dist/runtime/components/argHeaderTabs.vue +94 -101
- package/dist/runtime/components/argHeaderTabs.vue.d.ts +30 -3
- package/dist/runtime/components/argIcon.vue +2136 -3117
- package/dist/runtime/components/argIcon.vue.d.ts +1110 -2
- package/dist/runtime/components/argMultipleChoice.vue +84 -78
- package/dist/runtime/components/argMultipleChoice.vue.d.ts +49 -3
- package/dist/runtime/components/argNoData.vue +28 -25
- package/dist/runtime/components/argNoData.vue.d.ts +26 -3
- package/dist/runtime/components/argSearchInput.vue +38 -37
- package/dist/runtime/components/argSearchInput.vue.d.ts +30 -3
- package/dist/runtime/components/argSimpleLabel.vue +13 -11
- package/dist/runtime/components/argSimpleLabel.vue.d.ts +13 -3
- package/dist/runtime/components/argStyle.vue +8 -3
- package/dist/runtime/components/argStyle.vue.d.ts +1 -3
- package/dist/runtime/components/argTable.vue +384 -395
- package/dist/runtime/components/argTable.vue.d.ts +337 -3
- package/dist/runtime/components/argTags.vue +20 -10
- package/dist/runtime/components/argTags.vue.d.ts +26 -3
- package/dist/runtime/components/argTekkareLoader.vue +5 -2
- package/dist/runtime/components/argTekkareLoader.vue.d.ts +1 -3
- package/dist/runtime/components/argTooltip.vue +11 -11
- package/dist/runtime/components/argTooltip.vue.d.ts +39 -3
- package/package.json +5 -2
|
@@ -1,4 +1,338 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
heads: {
|
|
3
|
+
type: {
|
|
4
|
+
(arrayLength: number): string[];
|
|
5
|
+
(...items: string[]): string[];
|
|
6
|
+
new (arrayLength: number): string[];
|
|
7
|
+
new (...items: string[]): string[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
13
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
14
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
};
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
contents: {
|
|
20
|
+
type: {
|
|
21
|
+
(arrayLength: number): Object[];
|
|
22
|
+
(...items: Object[]): Object[];
|
|
23
|
+
new (arrayLength: number): Object[];
|
|
24
|
+
new (...items: Object[]): Object[];
|
|
25
|
+
isArray(arg: any): arg is any[];
|
|
26
|
+
readonly prototype: any[];
|
|
27
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
29
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
30
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
31
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
32
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
33
|
+
};
|
|
34
|
+
required: true;
|
|
35
|
+
default: () => {
|
|
36
|
+
values: {
|
|
37
|
+
(arrayLength: number): any[];
|
|
38
|
+
(...items: any[]): any[];
|
|
39
|
+
new (arrayLength: number): any[];
|
|
40
|
+
new (...items: any[]): any[];
|
|
41
|
+
isArray(arg: any): arg is any[];
|
|
42
|
+
readonly prototype: any[];
|
|
43
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
44
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
45
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
46
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
47
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
48
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
49
|
+
};
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
pageSize: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
sort: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
search: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
searchColumns: {
|
|
65
|
+
type: {
|
|
66
|
+
(arrayLength: number): number[];
|
|
67
|
+
(...items: number[]): number[];
|
|
68
|
+
new (arrayLength: number): number[];
|
|
69
|
+
new (...items: number[]): number[];
|
|
70
|
+
isArray(arg: any): arg is any[];
|
|
71
|
+
readonly prototype: any[];
|
|
72
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
73
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
74
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
75
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
76
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
77
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
78
|
+
};
|
|
79
|
+
default: null;
|
|
80
|
+
};
|
|
81
|
+
columnType: {
|
|
82
|
+
type: {
|
|
83
|
+
(arrayLength: number): string[];
|
|
84
|
+
(...items: string[]): string[];
|
|
85
|
+
new (arrayLength: number): string[];
|
|
86
|
+
new (...items: string[]): string[];
|
|
87
|
+
isArray(arg: any): arg is any[];
|
|
88
|
+
readonly prototype: any[];
|
|
89
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
90
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
91
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
92
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
93
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
94
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
95
|
+
};
|
|
96
|
+
default: () => never[];
|
|
97
|
+
};
|
|
98
|
+
columnStyle: {
|
|
99
|
+
type: ObjectConstructor;
|
|
100
|
+
default(): {};
|
|
101
|
+
};
|
|
102
|
+
tooltipHeader: {
|
|
103
|
+
type: {
|
|
104
|
+
(arrayLength: number): string[];
|
|
105
|
+
(...items: string[]): string[];
|
|
106
|
+
new (arrayLength: number): string[];
|
|
107
|
+
new (...items: string[]): string[];
|
|
108
|
+
isArray(arg: any): arg is any[];
|
|
109
|
+
readonly prototype: any[];
|
|
110
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
111
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
112
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
113
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
114
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
115
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
116
|
+
};
|
|
117
|
+
default(): never[];
|
|
118
|
+
};
|
|
119
|
+
searchFullWord: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
toggleDisplay: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
pagesPosition: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
noDataValues: {
|
|
132
|
+
type: ArrayConstructor;
|
|
133
|
+
default: () => string[];
|
|
134
|
+
};
|
|
135
|
+
loadingData: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
loaderType: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
sortCol: import("vue").Ref<any>;
|
|
145
|
+
sortDir: import("vue").Ref<any>;
|
|
146
|
+
currentPage: import("vue").Ref<any>;
|
|
147
|
+
sortIndex: import("vue").Ref<any>;
|
|
148
|
+
searchIndex: import("vue").Ref<any>;
|
|
149
|
+
searchKey: import("vue").Ref<any>;
|
|
150
|
+
showSearch: import("vue").Ref<boolean>;
|
|
151
|
+
saveTable: import("vue").Ref<never[]>;
|
|
152
|
+
columnTypeNonProps: import("vue").Ref<any>;
|
|
153
|
+
searchSubmit: import("vue").Ref<boolean>;
|
|
154
|
+
showFull: import("vue").Ref<boolean>;
|
|
155
|
+
savePageSize: import("vue").Ref<number>;
|
|
156
|
+
showToggle: import("vue").Ref<boolean>;
|
|
157
|
+
showLine: import("vue").Ref<any>;
|
|
158
|
+
openLine: (index: number) => void;
|
|
159
|
+
getTooltipDir: (index: number) => "left" | "bottom";
|
|
160
|
+
getColumnTypes: () => void;
|
|
161
|
+
isNA: (val: string) => boolean;
|
|
162
|
+
sortDatas: (index: number) => void;
|
|
163
|
+
nextPage: () => void;
|
|
164
|
+
prevPage: () => void;
|
|
165
|
+
setPage: (pageNumber: number) => void;
|
|
166
|
+
showPage: (pageNumber: number) => boolean;
|
|
167
|
+
limitA: (pageNumber: number) => boolean;
|
|
168
|
+
limitB: (pageNumber: number) => boolean;
|
|
169
|
+
toggle: (index: number) => void;
|
|
170
|
+
viewSearchInput: (index: number) => boolean;
|
|
171
|
+
changeColorAsc: (index: number) => "var(--lavendar-grey)" | "var(--accent)" | "transparent";
|
|
172
|
+
changeColorDesc: (index: number) => "var(--lavendar-grey)" | "var(--accent)" | "transparent";
|
|
173
|
+
greyBG: (index: number) => boolean | undefined;
|
|
174
|
+
isOdd: (contIndex: number) => boolean;
|
|
175
|
+
fillTable: import("vue").ComputedRef<never[]>;
|
|
176
|
+
finalTable: import("vue").ComputedRef<any>;
|
|
177
|
+
resultCount: import("vue").ComputedRef<any>;
|
|
178
|
+
totalPages: import("vue").ComputedRef<number>;
|
|
179
|
+
getPlaceHolder: import("vue").ComputedRef<string>;
|
|
180
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
181
|
+
heads: {
|
|
182
|
+
type: {
|
|
183
|
+
(arrayLength: number): string[];
|
|
184
|
+
(...items: string[]): string[];
|
|
185
|
+
new (arrayLength: number): string[];
|
|
186
|
+
new (...items: string[]): string[];
|
|
187
|
+
isArray(arg: any): arg is any[];
|
|
188
|
+
readonly prototype: any[];
|
|
189
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
190
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
191
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
192
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
193
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
194
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
195
|
+
};
|
|
196
|
+
required: true;
|
|
197
|
+
};
|
|
198
|
+
contents: {
|
|
199
|
+
type: {
|
|
200
|
+
(arrayLength: number): Object[];
|
|
201
|
+
(...items: Object[]): Object[];
|
|
202
|
+
new (arrayLength: number): Object[];
|
|
203
|
+
new (...items: Object[]): Object[];
|
|
204
|
+
isArray(arg: any): arg is any[];
|
|
205
|
+
readonly prototype: any[];
|
|
206
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
207
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
208
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
209
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
210
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
211
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
212
|
+
};
|
|
213
|
+
required: true;
|
|
214
|
+
default: () => {
|
|
215
|
+
values: {
|
|
216
|
+
(arrayLength: number): any[];
|
|
217
|
+
(...items: any[]): any[];
|
|
218
|
+
new (arrayLength: number): any[];
|
|
219
|
+
new (...items: any[]): any[];
|
|
220
|
+
isArray(arg: any): arg is any[];
|
|
221
|
+
readonly prototype: any[];
|
|
222
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
223
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
224
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
225
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
226
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
227
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
228
|
+
};
|
|
229
|
+
}[];
|
|
230
|
+
};
|
|
231
|
+
pageSize: {
|
|
232
|
+
type: NumberConstructor;
|
|
233
|
+
default: number;
|
|
234
|
+
};
|
|
235
|
+
sort: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
search: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
searchColumns: {
|
|
244
|
+
type: {
|
|
245
|
+
(arrayLength: number): number[];
|
|
246
|
+
(...items: number[]): number[];
|
|
247
|
+
new (arrayLength: number): number[];
|
|
248
|
+
new (...items: number[]): number[];
|
|
249
|
+
isArray(arg: any): arg is any[];
|
|
250
|
+
readonly prototype: any[];
|
|
251
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
252
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
253
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
254
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
255
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
256
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
257
|
+
};
|
|
258
|
+
default: null;
|
|
259
|
+
};
|
|
260
|
+
columnType: {
|
|
261
|
+
type: {
|
|
262
|
+
(arrayLength: number): string[];
|
|
263
|
+
(...items: string[]): string[];
|
|
264
|
+
new (arrayLength: number): string[];
|
|
265
|
+
new (...items: string[]): string[];
|
|
266
|
+
isArray(arg: any): arg is any[];
|
|
267
|
+
readonly prototype: any[];
|
|
268
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
269
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
270
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
271
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
272
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
273
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
274
|
+
};
|
|
275
|
+
default: () => never[];
|
|
276
|
+
};
|
|
277
|
+
columnStyle: {
|
|
278
|
+
type: ObjectConstructor;
|
|
279
|
+
default(): {};
|
|
280
|
+
};
|
|
281
|
+
tooltipHeader: {
|
|
282
|
+
type: {
|
|
283
|
+
(arrayLength: number): string[];
|
|
284
|
+
(...items: string[]): string[];
|
|
285
|
+
new (arrayLength: number): string[];
|
|
286
|
+
new (...items: string[]): string[];
|
|
287
|
+
isArray(arg: any): arg is any[];
|
|
288
|
+
readonly prototype: any[];
|
|
289
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
290
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
291
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
292
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
293
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
294
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
295
|
+
};
|
|
296
|
+
default(): never[];
|
|
297
|
+
};
|
|
298
|
+
searchFullWord: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
default: boolean;
|
|
301
|
+
};
|
|
302
|
+
toggleDisplay: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
306
|
+
pagesPosition: {
|
|
307
|
+
type: StringConstructor;
|
|
308
|
+
default: string;
|
|
309
|
+
};
|
|
310
|
+
noDataValues: {
|
|
311
|
+
type: ArrayConstructor;
|
|
312
|
+
default: () => string[];
|
|
313
|
+
};
|
|
314
|
+
loadingData: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default: boolean;
|
|
317
|
+
};
|
|
318
|
+
loaderType: {
|
|
319
|
+
type: StringConstructor;
|
|
320
|
+
default: string;
|
|
321
|
+
};
|
|
322
|
+
}>>, {
|
|
323
|
+
sort: boolean;
|
|
324
|
+
search: boolean;
|
|
325
|
+
contents: Object[];
|
|
326
|
+
pageSize: number;
|
|
327
|
+
searchColumns: number[];
|
|
328
|
+
columnType: string[];
|
|
329
|
+
columnStyle: Record<string, any>;
|
|
330
|
+
tooltipHeader: string[];
|
|
331
|
+
searchFullWord: boolean;
|
|
332
|
+
toggleDisplay: boolean;
|
|
333
|
+
pagesPosition: string;
|
|
334
|
+
noDataValues: unknown[];
|
|
335
|
+
loadingData: boolean;
|
|
336
|
+
loaderType: string;
|
|
337
|
+
}, {}>;
|
|
4
338
|
export default _default;
|
|
@@ -2,20 +2,30 @@
|
|
|
2
2
|
<client-only><arg-style /></client-only>
|
|
3
3
|
<div :class="`oip_tag is_${setStyle} have_close_${haveClose}`">
|
|
4
4
|
<slot></slot>
|
|
5
|
-
<arg-icon v-if="haveClose" name="X" size="14"></arg-icon>
|
|
5
|
+
<arg-icon v-if="haveClose" name="X" size="14" @click="close()"></arg-icon>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
8
|
+
|
|
8
9
|
<script>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
</script>
|
|
13
|
-
<script setup lang="ts">
|
|
10
|
+
import {
|
|
11
|
+
defineComponent
|
|
12
|
+
} from "vue";
|
|
14
13
|
import argIcon from "./argIcon.vue";
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
import argStyle from "./argStyle.vue";
|
|
15
|
+
export default defineComponent({
|
|
16
|
+
name: "argTags",
|
|
17
|
+
components: { argIcon, argStyle },
|
|
18
|
+
props: {
|
|
19
|
+
setStyle: { type: String, default: "primary" },
|
|
20
|
+
haveClose: { type: Boolean, default: false }
|
|
21
|
+
},
|
|
22
|
+
emits: ["onClose"],
|
|
23
|
+
setup(props, { emit }) {
|
|
24
|
+
function close() {
|
|
25
|
+
emit("onClose");
|
|
26
|
+
}
|
|
27
|
+
return { close };
|
|
28
|
+
}
|
|
19
29
|
});
|
|
20
30
|
</script>
|
|
21
31
|
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
setStyle: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
haveClose: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
close: () => void;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
setStyle: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
haveClose: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
setStyle: string;
|
|
25
|
+
haveClose: boolean;
|
|
26
|
+
}, {}>;
|
|
4
27
|
export default _default;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
name: string;
|
|
3
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
2
|
export default _default;
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
15
15
|
<script>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
import {
|
|
17
|
+
defineComponent
|
|
18
|
+
} from "vue";
|
|
19
|
+
export default defineComponent({
|
|
20
|
+
name: "argTooltip",
|
|
21
|
+
props: {
|
|
22
|
+
tooltipText: { type: String, required: true },
|
|
23
|
+
dir: { type: String, default: "top" },
|
|
24
|
+
disable: { type: Boolean, default: false },
|
|
25
|
+
sideLimit: { type: Boolean, default: false }
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
28
|
</script>
|
|
29
29
|
|
|
@@ -1,4 +1,40 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
tooltipText: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
dir: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
disable: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
sideLimit: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
tooltipText: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
dir: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
disable: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
sideLimit: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
disable: boolean;
|
|
37
|
+
dir: string;
|
|
38
|
+
sideLimit: boolean;
|
|
39
|
+
}, {}>;
|
|
4
40
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekkare/auriga",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Aurgia is a UI kit developped by Tekkare",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
25
25
|
"lint": "eslint .",
|
|
26
26
|
"test": "vitest run",
|
|
27
|
-
"test:watch": "vitest watch"
|
|
27
|
+
"test:watch": "vitest watch",
|
|
28
|
+
"storybook": "npm --prefix ./docs run storybook -- --port 6006",
|
|
29
|
+
"chromatic": "npm --prefix ./docs run chromatic",
|
|
30
|
+
"patch": "nuxt-module-build && npm version patch && npm publish"
|
|
28
31
|
},
|
|
29
32
|
"dependencies": {
|
|
30
33
|
"@nuxt/kit": "^3.7.3"
|