@salesql/sql_components_vue3 3.14.0 → 3.15.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/dist/composables/usePickerOrganizer.d.ts +36 -0
- package/dist/constants/events.d.ts +2 -0
- package/dist/constants/pickers.d.ts +64 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.es.js +2766 -2559
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsSavedButton/DsSavedButton.story-state.d.ts +9 -0
- package/dist/ui/DsSavedButton/DsSavedButton.types.d.ts +64 -15
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +85 -59
- package/dist/ui/DsTagPicker/DsTagPicker.types.d.ts +69 -16
- package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +109 -83
- package/llms-full.txt +141 -84
- package/package.json +1 -1
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import { type DsPickerAlign, type DsPickerOption, type DsPickerSize } from '../../constants/pickers';
|
|
3
|
-
|
|
2
|
+
import { type DsPickerAlign, type DsPickerCreateMode, type DsPickerOption, type DsPickerRowActionsMode, type DsPickerSize } from '../../constants/pickers';
|
|
3
|
+
import { type DsTagPickerCopy } from './DsTagPicker.types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
label: {
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
|
-
taggedAsLabel: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
9
|
tags: {
|
|
14
10
|
type: PropType<DsPickerOption[]>;
|
|
15
11
|
default: () => never[];
|
|
@@ -18,26 +14,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
14
|
type: PropType<DsPickerOption[]>;
|
|
19
15
|
required: true;
|
|
20
16
|
};
|
|
21
|
-
applyLabel: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
searchPlaceholder: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
emptyLabel: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
createLabel: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
moreLabel: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
17
|
size: {
|
|
42
18
|
type: PropType<DsPickerSize>;
|
|
43
19
|
default: "medium";
|
|
@@ -54,14 +30,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
54
30
|
type: BooleanConstructor;
|
|
55
31
|
default: boolean;
|
|
56
32
|
};
|
|
33
|
+
create: {
|
|
34
|
+
type: PropType<DsPickerCreateMode>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
37
|
+
};
|
|
38
|
+
rowActions: {
|
|
39
|
+
type: PropType<DsPickerRowActionsMode | boolean>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
42
|
+
};
|
|
57
43
|
colors: {
|
|
58
44
|
type: PropType<string[]>;
|
|
59
45
|
default: () => never[];
|
|
60
46
|
};
|
|
61
|
-
rowActions: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
47
|
formLoading: {
|
|
66
48
|
type: BooleanConstructor;
|
|
67
49
|
default: boolean;
|
|
@@ -70,45 +52,73 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
70
52
|
type: StringConstructor;
|
|
71
53
|
default: string;
|
|
72
54
|
};
|
|
55
|
+
copy: {
|
|
56
|
+
type: PropType<Partial<DsTagPickerCopy>>;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
59
|
+
taggedAsLabel: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
applyLabel: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
searchPlaceholder: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
emptyLabel: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
createLabel: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
moreLabel: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
73
83
|
actionsLabel: {
|
|
74
84
|
type: StringConstructor;
|
|
75
|
-
default:
|
|
85
|
+
default: undefined;
|
|
76
86
|
};
|
|
77
87
|
editLabel: {
|
|
78
88
|
type: StringConstructor;
|
|
79
|
-
default:
|
|
89
|
+
default: undefined;
|
|
80
90
|
};
|
|
81
91
|
deleteLabel: {
|
|
82
92
|
type: StringConstructor;
|
|
83
|
-
default:
|
|
93
|
+
default: undefined;
|
|
84
94
|
};
|
|
85
95
|
createFormTitle: {
|
|
86
96
|
type: StringConstructor;
|
|
87
|
-
default:
|
|
97
|
+
default: undefined;
|
|
88
98
|
};
|
|
89
99
|
editFormTitle: {
|
|
90
100
|
type: StringConstructor;
|
|
91
|
-
default:
|
|
101
|
+
default: undefined;
|
|
92
102
|
};
|
|
93
103
|
createSubmitLabel: {
|
|
94
104
|
type: StringConstructor;
|
|
95
|
-
default:
|
|
105
|
+
default: undefined;
|
|
96
106
|
};
|
|
97
107
|
editSubmitLabel: {
|
|
98
108
|
type: StringConstructor;
|
|
99
|
-
default:
|
|
109
|
+
default: undefined;
|
|
100
110
|
};
|
|
101
111
|
formNamePlaceholder: {
|
|
102
112
|
type: StringConstructor;
|
|
103
|
-
default:
|
|
113
|
+
default: undefined;
|
|
104
114
|
};
|
|
105
115
|
setColorLabel: {
|
|
106
116
|
type: StringConstructor;
|
|
107
|
-
default:
|
|
117
|
+
default: undefined;
|
|
108
118
|
};
|
|
109
119
|
backLabel: {
|
|
110
120
|
type: StringConstructor;
|
|
111
|
-
default:
|
|
121
|
+
default: undefined;
|
|
112
122
|
};
|
|
113
123
|
errorMissingName: {
|
|
114
124
|
type: StringConstructor;
|
|
@@ -119,7 +129,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
129
|
default: undefined;
|
|
120
130
|
};
|
|
121
131
|
}>, {
|
|
122
|
-
closeForm:
|
|
132
|
+
closeForm: () => void;
|
|
123
133
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
124
134
|
search: (...args: any[]) => void;
|
|
125
135
|
edit: (...args: any[]) => void;
|
|
@@ -129,15 +139,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
139
|
delete: (...args: any[]) => void;
|
|
130
140
|
"create-option": (...args: any[]) => void;
|
|
131
141
|
"update-option": (...args: any[]) => void;
|
|
142
|
+
"form-close": (...args: any[]) => void;
|
|
132
143
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
133
144
|
label: {
|
|
134
145
|
type: StringConstructor;
|
|
135
146
|
required: true;
|
|
136
147
|
};
|
|
137
|
-
taggedAsLabel: {
|
|
138
|
-
type: StringConstructor;
|
|
139
|
-
required: true;
|
|
140
|
-
};
|
|
141
148
|
tags: {
|
|
142
149
|
type: PropType<DsPickerOption[]>;
|
|
143
150
|
default: () => never[];
|
|
@@ -146,26 +153,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
146
153
|
type: PropType<DsPickerOption[]>;
|
|
147
154
|
required: true;
|
|
148
155
|
};
|
|
149
|
-
applyLabel: {
|
|
150
|
-
type: StringConstructor;
|
|
151
|
-
required: true;
|
|
152
|
-
};
|
|
153
|
-
searchPlaceholder: {
|
|
154
|
-
type: StringConstructor;
|
|
155
|
-
default: string;
|
|
156
|
-
};
|
|
157
|
-
emptyLabel: {
|
|
158
|
-
type: StringConstructor;
|
|
159
|
-
default: string;
|
|
160
|
-
};
|
|
161
|
-
createLabel: {
|
|
162
|
-
type: StringConstructor;
|
|
163
|
-
default: string;
|
|
164
|
-
};
|
|
165
|
-
moreLabel: {
|
|
166
|
-
type: StringConstructor;
|
|
167
|
-
default: string;
|
|
168
|
-
};
|
|
169
156
|
size: {
|
|
170
157
|
type: PropType<DsPickerSize>;
|
|
171
158
|
default: "medium";
|
|
@@ -182,14 +169,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
169
|
type: BooleanConstructor;
|
|
183
170
|
default: boolean;
|
|
184
171
|
};
|
|
172
|
+
create: {
|
|
173
|
+
type: PropType<DsPickerCreateMode>;
|
|
174
|
+
default: undefined;
|
|
175
|
+
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
176
|
+
};
|
|
177
|
+
rowActions: {
|
|
178
|
+
type: PropType<DsPickerRowActionsMode | boolean>;
|
|
179
|
+
default: undefined;
|
|
180
|
+
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
181
|
+
};
|
|
185
182
|
colors: {
|
|
186
183
|
type: PropType<string[]>;
|
|
187
184
|
default: () => never[];
|
|
188
185
|
};
|
|
189
|
-
rowActions: {
|
|
190
|
-
type: BooleanConstructor;
|
|
191
|
-
default: boolean;
|
|
192
|
-
};
|
|
193
186
|
formLoading: {
|
|
194
187
|
type: BooleanConstructor;
|
|
195
188
|
default: boolean;
|
|
@@ -198,45 +191,73 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
198
191
|
type: StringConstructor;
|
|
199
192
|
default: string;
|
|
200
193
|
};
|
|
194
|
+
copy: {
|
|
195
|
+
type: PropType<Partial<DsTagPickerCopy>>;
|
|
196
|
+
default: undefined;
|
|
197
|
+
};
|
|
198
|
+
taggedAsLabel: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: undefined;
|
|
201
|
+
};
|
|
202
|
+
applyLabel: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: undefined;
|
|
205
|
+
};
|
|
206
|
+
searchPlaceholder: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
default: undefined;
|
|
209
|
+
};
|
|
210
|
+
emptyLabel: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
default: undefined;
|
|
213
|
+
};
|
|
214
|
+
createLabel: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: undefined;
|
|
217
|
+
};
|
|
218
|
+
moreLabel: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: undefined;
|
|
221
|
+
};
|
|
201
222
|
actionsLabel: {
|
|
202
223
|
type: StringConstructor;
|
|
203
|
-
default:
|
|
224
|
+
default: undefined;
|
|
204
225
|
};
|
|
205
226
|
editLabel: {
|
|
206
227
|
type: StringConstructor;
|
|
207
|
-
default:
|
|
228
|
+
default: undefined;
|
|
208
229
|
};
|
|
209
230
|
deleteLabel: {
|
|
210
231
|
type: StringConstructor;
|
|
211
|
-
default:
|
|
232
|
+
default: undefined;
|
|
212
233
|
};
|
|
213
234
|
createFormTitle: {
|
|
214
235
|
type: StringConstructor;
|
|
215
|
-
default:
|
|
236
|
+
default: undefined;
|
|
216
237
|
};
|
|
217
238
|
editFormTitle: {
|
|
218
239
|
type: StringConstructor;
|
|
219
|
-
default:
|
|
240
|
+
default: undefined;
|
|
220
241
|
};
|
|
221
242
|
createSubmitLabel: {
|
|
222
243
|
type: StringConstructor;
|
|
223
|
-
default:
|
|
244
|
+
default: undefined;
|
|
224
245
|
};
|
|
225
246
|
editSubmitLabel: {
|
|
226
247
|
type: StringConstructor;
|
|
227
|
-
default:
|
|
248
|
+
default: undefined;
|
|
228
249
|
};
|
|
229
250
|
formNamePlaceholder: {
|
|
230
251
|
type: StringConstructor;
|
|
231
|
-
default:
|
|
252
|
+
default: undefined;
|
|
232
253
|
};
|
|
233
254
|
setColorLabel: {
|
|
234
255
|
type: StringConstructor;
|
|
235
|
-
default:
|
|
256
|
+
default: undefined;
|
|
236
257
|
};
|
|
237
258
|
backLabel: {
|
|
238
259
|
type: StringConstructor;
|
|
239
|
-
default:
|
|
260
|
+
default: undefined;
|
|
240
261
|
};
|
|
241
262
|
errorMissingName: {
|
|
242
263
|
type: StringConstructor;
|
|
@@ -255,8 +276,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
255
276
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
256
277
|
"onCreate-option"?: ((...args: any[]) => any) | undefined;
|
|
257
278
|
"onUpdate-option"?: ((...args: any[]) => any) | undefined;
|
|
279
|
+
"onForm-close"?: ((...args: any[]) => any) | undefined;
|
|
258
280
|
}>, {
|
|
259
281
|
size: DsPickerSize;
|
|
282
|
+
copy: Partial<DsTagPickerCopy>;
|
|
283
|
+
create: DsPickerCreateMode;
|
|
260
284
|
disabled: boolean;
|
|
261
285
|
pill: boolean;
|
|
262
286
|
editLabel: string;
|
|
@@ -264,22 +288,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
264
288
|
moreLabel: string;
|
|
265
289
|
searchPlaceholder: string;
|
|
266
290
|
colors: string[];
|
|
291
|
+
createLabel: string;
|
|
267
292
|
setColorLabel: string;
|
|
268
293
|
backLabel: string;
|
|
269
294
|
errorMissingName: string;
|
|
270
295
|
errorTooLongName: string;
|
|
271
296
|
actionsLabel: string;
|
|
272
297
|
deleteLabel: string;
|
|
273
|
-
|
|
298
|
+
createFormTitle: string;
|
|
299
|
+
editFormTitle: string;
|
|
274
300
|
align: DsPickerAlign;
|
|
275
|
-
rowActions: boolean;
|
|
301
|
+
rowActions: boolean | DsPickerRowActionsMode;
|
|
276
302
|
formLoading: boolean;
|
|
277
303
|
formError: string;
|
|
278
|
-
createFormTitle: string;
|
|
279
|
-
editFormTitle: string;
|
|
280
304
|
createSubmitLabel: string;
|
|
281
305
|
editSubmitLabel: string;
|
|
282
306
|
formNamePlaceholder: string;
|
|
283
307
|
tags: DsPickerOption[];
|
|
308
|
+
taggedAsLabel: string;
|
|
309
|
+
applyLabel: string;
|
|
284
310
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
285
311
|
export default _default;
|