@g1cloud/open-bluesea-core 1.0.0-alpha.8 → 1.0.0-alpha.9
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/css/bluesea.css +0 -4
- package/dist/index.d.ts +140 -91
- package/dist/open-bluesea-core.css +769 -1265
- package/dist/open-bluesea-core.es.js +281 -116
- package/dist/open-bluesea-core.umd.js +280 -115
- package/package.json +4 -1
- package/tailwind.preset.js +221 -0
package/css/bluesea.css
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -31,11 +31,16 @@ import { VNodeProps } from 'vue';
|
|
|
31
31
|
import { WatchOptions } from 'vue';
|
|
32
32
|
import { WatchStopHandle } from 'vue';
|
|
33
33
|
|
|
34
|
-
declare const __VLS_component: DefineComponent<
|
|
34
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
35
|
+
buttonColor: string;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
|
|
39
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
35
40
|
click: (event: Event) => any;
|
|
36
41
|
keydown: (event: KeyboardEvent) => any;
|
|
37
42
|
requestClose: () => any;
|
|
38
|
-
}, string, PublicProps, Readonly<
|
|
43
|
+
}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
39
44
|
onClick?: ((event: Event) => any) | undefined;
|
|
40
45
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
46
|
onRequestClose?: (() => any) | undefined;
|
|
@@ -47,9 +52,9 @@ popupAlign: "left" | "right" | "center" | "auto";
|
|
|
47
52
|
root: HTMLDivElement;
|
|
48
53
|
}, any>;
|
|
49
54
|
|
|
50
|
-
declare const
|
|
55
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
51
56
|
"update:modelValue": (value: boolean) => any;
|
|
52
|
-
}, string, PublicProps, Readonly<
|
|
57
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
53
58
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
54
59
|
}>, {
|
|
55
60
|
tabindex: number;
|
|
@@ -58,11 +63,11 @@ id: string;
|
|
|
58
63
|
field: HTMLInputElement;
|
|
59
64
|
}, HTMLSpanElement>;
|
|
60
65
|
|
|
61
|
-
declare const
|
|
66
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
62
67
|
|
|
63
|
-
declare const
|
|
68
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
64
69
|
closeModal: () => any;
|
|
65
|
-
}, string, PublicProps, Readonly<
|
|
70
|
+
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
66
71
|
onCloseModal?: (() => any) | undefined;
|
|
67
72
|
}>, {
|
|
68
73
|
closeCaption: string;
|
|
@@ -94,8 +99,6 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
94
99
|
declare type __VLS_Props = {
|
|
95
100
|
caption?: string;
|
|
96
101
|
buttonColor?: string;
|
|
97
|
-
leftIcon?: string;
|
|
98
|
-
rightIcon?: string;
|
|
99
102
|
disabled?: boolean;
|
|
100
103
|
linkUrl?: string;
|
|
101
104
|
linkTarget?: string;
|
|
@@ -104,6 +107,34 @@ declare type __VLS_Props = {
|
|
|
104
107
|
};
|
|
105
108
|
|
|
106
109
|
declare type __VLS_Props_10 = {
|
|
110
|
+
id?: string;
|
|
111
|
+
placeholder?: string;
|
|
112
|
+
name?: string;
|
|
113
|
+
modelValue?: string;
|
|
114
|
+
maxlength?: number;
|
|
115
|
+
disabled?: boolean;
|
|
116
|
+
viewMode?: boolean;
|
|
117
|
+
width?: string;
|
|
118
|
+
height?: string;
|
|
119
|
+
autocomplete?: string;
|
|
120
|
+
tabindex?: number;
|
|
121
|
+
trimValue?: boolean;
|
|
122
|
+
prefix?: string | string[] | PrefixSuffix | PrefixSuffix[];
|
|
123
|
+
suffix?: string | string[] | PrefixSuffix | PrefixSuffix[];
|
|
124
|
+
required?: boolean;
|
|
125
|
+
minLength?: number;
|
|
126
|
+
maxLength?: number;
|
|
127
|
+
validationMessageRequired?: string;
|
|
128
|
+
validationMessageMinLength?: string;
|
|
129
|
+
validationMessageMaxLength?: string;
|
|
130
|
+
validationMessageBetweenLength?: string;
|
|
131
|
+
extraValidationRules?: FieldValidationRule<string>[];
|
|
132
|
+
ignoreSavePoint?: boolean;
|
|
133
|
+
hideErrorMessage?: boolean;
|
|
134
|
+
showErrorMessageOnDisabled?: boolean;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
declare type __VLS_Props_11 = {
|
|
107
138
|
id?: string;
|
|
108
139
|
name?: string;
|
|
109
140
|
label?: string;
|
|
@@ -115,7 +146,7 @@ declare type __VLS_Props_10 = {
|
|
|
115
146
|
ignoreSavePoint?: boolean;
|
|
116
147
|
};
|
|
117
148
|
|
|
118
|
-
declare type
|
|
149
|
+
declare type __VLS_Props_12 = {
|
|
119
150
|
id?: string;
|
|
120
151
|
placeholder?: string;
|
|
121
152
|
name?: string;
|
|
@@ -143,7 +174,7 @@ declare type __VLS_Props_11 = {
|
|
|
143
174
|
maxDateValue?: string;
|
|
144
175
|
};
|
|
145
176
|
|
|
146
|
-
declare type
|
|
177
|
+
declare type __VLS_Props_13 = {
|
|
147
178
|
modelValue?: string;
|
|
148
179
|
resolution: DateResolution;
|
|
149
180
|
displayFormat?: string | DisplayDateResolution;
|
|
@@ -157,7 +188,7 @@ declare type __VLS_Props_12 = {
|
|
|
157
188
|
cancelButtonCaption?: string;
|
|
158
189
|
};
|
|
159
190
|
|
|
160
|
-
declare type
|
|
191
|
+
declare type __VLS_Props_14 = {
|
|
161
192
|
idFrom?: string;
|
|
162
193
|
idTo?: string;
|
|
163
194
|
placeholderFrom?: string;
|
|
@@ -194,7 +225,7 @@ declare type __VLS_Props_13 = {
|
|
|
194
225
|
maxDateValue?: string;
|
|
195
226
|
};
|
|
196
227
|
|
|
197
|
-
declare type
|
|
228
|
+
declare type __VLS_Props_15 = {
|
|
198
229
|
from?: string;
|
|
199
230
|
to?: string;
|
|
200
231
|
disabledFrom?: boolean;
|
|
@@ -209,26 +240,26 @@ declare type __VLS_Props_14 = {
|
|
|
209
240
|
cancelButtonCaption?: string;
|
|
210
241
|
};
|
|
211
242
|
|
|
212
|
-
declare type
|
|
243
|
+
declare type __VLS_Props_16 = {
|
|
213
244
|
title?: string;
|
|
214
245
|
hideTitle?: boolean;
|
|
215
246
|
cardBodyClass?: string | string[] | unknown;
|
|
216
247
|
};
|
|
217
248
|
|
|
218
|
-
declare type
|
|
249
|
+
declare type __VLS_Props_17 = {
|
|
219
250
|
title?: string;
|
|
220
251
|
message?: string;
|
|
221
252
|
okCaption?: string;
|
|
222
253
|
};
|
|
223
254
|
|
|
224
|
-
declare type
|
|
255
|
+
declare type __VLS_Props_18 = {
|
|
225
256
|
title?: string;
|
|
226
257
|
message?: string;
|
|
227
258
|
yesCaption?: string;
|
|
228
259
|
noCaption?: string;
|
|
229
260
|
};
|
|
230
261
|
|
|
231
|
-
declare type
|
|
262
|
+
declare type __VLS_Props_19 = {
|
|
232
263
|
title?: string;
|
|
233
264
|
hideMaximizeButton?: boolean;
|
|
234
265
|
hideCloseButton?: boolean;
|
|
@@ -236,7 +267,12 @@ declare type __VLS_Props_18 = {
|
|
|
236
267
|
autoFocus?: boolean;
|
|
237
268
|
};
|
|
238
269
|
|
|
239
|
-
declare type
|
|
270
|
+
declare type __VLS_Props_2 = {
|
|
271
|
+
name: IconName | string;
|
|
272
|
+
spin?: boolean;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
declare type __VLS_Props_20 = {
|
|
240
276
|
menuItems?: MenuItem[];
|
|
241
277
|
popupId?: string;
|
|
242
278
|
baseElement?: HTMLElement | null;
|
|
@@ -246,7 +282,7 @@ declare type __VLS_Props_19 = {
|
|
|
246
282
|
direction?: "auto-right";
|
|
247
283
|
};
|
|
248
284
|
|
|
249
|
-
declare type
|
|
285
|
+
declare type __VLS_Props_3 = {
|
|
250
286
|
totalCount?: number;
|
|
251
287
|
offset?: number;
|
|
252
288
|
limit?: number;
|
|
@@ -254,7 +290,7 @@ declare type __VLS_Props_2 = {
|
|
|
254
290
|
maxPage?: number;
|
|
255
291
|
};
|
|
256
292
|
|
|
257
|
-
declare type
|
|
293
|
+
declare type __VLS_Props_4 = {
|
|
258
294
|
popupId?: string;
|
|
259
295
|
maxHeight?: string;
|
|
260
296
|
baseElement?: HTMLElement | null | {
|
|
@@ -268,13 +304,13 @@ declare type __VLS_Props_3 = {
|
|
|
268
304
|
zIndex?: number;
|
|
269
305
|
};
|
|
270
306
|
|
|
271
|
-
declare type
|
|
307
|
+
declare type __VLS_Props_5 = {
|
|
272
308
|
align?: "left" | "center" | "right";
|
|
273
309
|
content?: string;
|
|
274
310
|
target?: HTMLElement;
|
|
275
311
|
};
|
|
276
312
|
|
|
277
|
-
declare type
|
|
313
|
+
declare type __VLS_Props_6 = {
|
|
278
314
|
modelValue?: string;
|
|
279
315
|
initialYear?: number;
|
|
280
316
|
initialMonth?: number;
|
|
@@ -290,7 +326,7 @@ declare type __VLS_Props_5 = {
|
|
|
290
326
|
endYear?: string;
|
|
291
327
|
};
|
|
292
328
|
|
|
293
|
-
declare type
|
|
329
|
+
declare type __VLS_Props_7 = {
|
|
294
330
|
from?: string;
|
|
295
331
|
to?: string;
|
|
296
332
|
disabledFrom?: boolean;
|
|
@@ -303,7 +339,7 @@ declare type __VLS_Props_6 = {
|
|
|
303
339
|
endYear?: string;
|
|
304
340
|
};
|
|
305
341
|
|
|
306
|
-
declare type
|
|
342
|
+
declare type __VLS_Props_8 = {
|
|
307
343
|
id?: string;
|
|
308
344
|
placeholder?: string;
|
|
309
345
|
name: string;
|
|
@@ -334,7 +370,7 @@ declare type __VLS_Props_7 = {
|
|
|
334
370
|
showErrorMessageOnDisabled?: boolean;
|
|
335
371
|
};
|
|
336
372
|
|
|
337
|
-
declare type
|
|
373
|
+
declare type __VLS_Props_9 = {
|
|
338
374
|
id?: string;
|
|
339
375
|
placeholder?: string;
|
|
340
376
|
name?: string;
|
|
@@ -363,35 +399,17 @@ declare type __VLS_Props_8 = {
|
|
|
363
399
|
showErrorMessageOnDisabled?: boolean;
|
|
364
400
|
};
|
|
365
401
|
|
|
366
|
-
declare
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
width?: string;
|
|
375
|
-
height?: string;
|
|
376
|
-
autocomplete?: string;
|
|
377
|
-
tabindex?: number;
|
|
378
|
-
trimValue?: boolean;
|
|
379
|
-
prefix?: string | string[] | PrefixSuffix | PrefixSuffix[];
|
|
380
|
-
suffix?: string | string[] | PrefixSuffix | PrefixSuffix[];
|
|
381
|
-
required?: boolean;
|
|
382
|
-
minLength?: number;
|
|
383
|
-
maxLength?: number;
|
|
384
|
-
validationMessageRequired?: string;
|
|
385
|
-
validationMessageMinLength?: string;
|
|
386
|
-
validationMessageMaxLength?: string;
|
|
387
|
-
validationMessageBetweenLength?: string;
|
|
388
|
-
extraValidationRules?: FieldValidationRule<string>[];
|
|
389
|
-
ignoreSavePoint?: boolean;
|
|
390
|
-
hideErrorMessage?: boolean;
|
|
391
|
-
showErrorMessageOnDisabled?: boolean;
|
|
402
|
+
declare function __VLS_template(): {
|
|
403
|
+
attrs: Partial<{}>;
|
|
404
|
+
slots: {
|
|
405
|
+
left?(_: {}): any;
|
|
406
|
+
right?(_: {}): any;
|
|
407
|
+
};
|
|
408
|
+
refs: {};
|
|
409
|
+
rootEl: any;
|
|
392
410
|
};
|
|
393
411
|
|
|
394
|
-
declare function
|
|
412
|
+
declare function __VLS_template_2(): {
|
|
395
413
|
attrs: Partial<{}>;
|
|
396
414
|
slots: {
|
|
397
415
|
default?(_: {}): any;
|
|
@@ -402,7 +420,7 @@ declare function __VLS_template(): {
|
|
|
402
420
|
rootEl: any;
|
|
403
421
|
};
|
|
404
422
|
|
|
405
|
-
declare function
|
|
423
|
+
declare function __VLS_template_3(): {
|
|
406
424
|
attrs: Partial<{}>;
|
|
407
425
|
slots: {
|
|
408
426
|
default?(_: {
|
|
@@ -415,7 +433,7 @@ declare function __VLS_template_2(): {
|
|
|
415
433
|
rootEl: HTMLSpanElement;
|
|
416
434
|
};
|
|
417
435
|
|
|
418
|
-
declare function
|
|
436
|
+
declare function __VLS_template_4(): {
|
|
419
437
|
attrs: Partial<{}>;
|
|
420
438
|
slots: {
|
|
421
439
|
'title-right'?(_: {}): any;
|
|
@@ -425,7 +443,7 @@ declare function __VLS_template_3(): {
|
|
|
425
443
|
rootEl: HTMLDivElement;
|
|
426
444
|
};
|
|
427
445
|
|
|
428
|
-
declare function
|
|
446
|
+
declare function __VLS_template_5(): {
|
|
429
447
|
attrs: Partial<{}>;
|
|
430
448
|
slots: {
|
|
431
449
|
title?(_: {}): any;
|
|
@@ -448,6 +466,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
448
466
|
|
|
449
467
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
450
468
|
|
|
469
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
470
|
+
|
|
451
471
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
452
472
|
new (): {
|
|
453
473
|
$slots: S;
|
|
@@ -472,6 +492,12 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
472
492
|
};
|
|
473
493
|
};
|
|
474
494
|
|
|
495
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
496
|
+
new (): {
|
|
497
|
+
$slots: S;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
|
|
475
501
|
export declare const alarmEntries: Reactive<AlarmEntry[]>;
|
|
476
502
|
|
|
477
503
|
export declare type AlarmEntry = {
|
|
@@ -508,41 +534,38 @@ export declare type BlueseaConfigRaw = {
|
|
|
508
534
|
|
|
509
535
|
export declare const BlueseaPlugin: Plugin_2;
|
|
510
536
|
|
|
511
|
-
export declare const BSAlertModal: DefineComponent<
|
|
537
|
+
export declare const BSAlertModal: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
512
538
|
click: () => any;
|
|
513
|
-
}, string, PublicProps, Readonly<
|
|
539
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
514
540
|
onClick?: (() => any) | undefined;
|
|
515
541
|
}>, {
|
|
516
542
|
okCaption: string;
|
|
517
543
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
518
544
|
|
|
519
|
-
export declare const BSButton:
|
|
520
|
-
buttonColor: string;
|
|
521
|
-
disabled: boolean;
|
|
522
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
545
|
+
export declare const BSButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
523
546
|
|
|
524
|
-
export declare const BSCalendar: DefineComponent<
|
|
547
|
+
export declare const BSCalendar: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
525
548
|
"update:modelValue": (value?: string | undefined) => any;
|
|
526
|
-
}, string, PublicProps, Readonly<
|
|
549
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
527
550
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
528
551
|
}>, {
|
|
529
552
|
resolution: DateResolution;
|
|
530
553
|
firstDay: 0 | 1;
|
|
531
554
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
532
555
|
|
|
533
|
-
export declare const BSCalendarRange: DefineComponent<
|
|
556
|
+
export declare const BSCalendarRange: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
534
557
|
"update:from": (value?: string | undefined) => any;
|
|
535
558
|
"update:to": (value?: string | undefined) => any;
|
|
536
|
-
}, string, PublicProps, Readonly<
|
|
559
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
537
560
|
"onUpdate:from"?: ((value?: string | undefined) => any) | undefined;
|
|
538
561
|
"onUpdate:to"?: ((value?: string | undefined) => any) | undefined;
|
|
539
562
|
}>, {
|
|
540
563
|
firstDay: 0 | 1;
|
|
541
564
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
542
565
|
|
|
543
|
-
export declare const BSCardLayout:
|
|
566
|
+
export declare const BSCardLayout: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
544
567
|
|
|
545
|
-
export declare const BSCheckbox:
|
|
568
|
+
export declare const BSCheckbox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
546
569
|
|
|
547
570
|
export declare const BSCheckboxGroup: <T, V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
548
571
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
@@ -573,10 +596,10 @@ export declare const BSCheckboxGroup: <T, V>(__VLS_props: NonNullable<Awaited<ty
|
|
|
573
596
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
574
597
|
};
|
|
575
598
|
|
|
576
|
-
export declare const BSContextMenu: DefineComponent<
|
|
599
|
+
export declare const BSContextMenu: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
577
600
|
requestClose: () => any;
|
|
578
601
|
menuClicked: (menu: MenuItem) => any;
|
|
579
|
-
}, string, PublicProps, Readonly<
|
|
602
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
580
603
|
onRequestClose?: (() => any) | undefined;
|
|
581
604
|
onMenuClicked?: ((menu: MenuItem) => any) | undefined;
|
|
582
605
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -698,9 +721,9 @@ export declare class BSContextMenuPlugin {
|
|
|
698
721
|
private markComponentRaw;
|
|
699
722
|
}
|
|
700
723
|
|
|
701
|
-
export declare const BSDateInput: DefineComponent<
|
|
724
|
+
export declare const BSDateInput: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
702
725
|
"update:modelValue": (value?: string | undefined) => any;
|
|
703
|
-
}, string, PublicProps, Readonly<
|
|
726
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
704
727
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
705
728
|
}>, {
|
|
706
729
|
width: string;
|
|
@@ -711,10 +734,10 @@ root: HTMLDivElement;
|
|
|
711
734
|
field: HTMLInputElement;
|
|
712
735
|
}, HTMLDivElement>;
|
|
713
736
|
|
|
714
|
-
export declare const BSDateInputPopup: DefineComponent<
|
|
737
|
+
export declare const BSDateInputPopup: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
715
738
|
close: () => any;
|
|
716
739
|
"update:modelValue": (value?: string | undefined) => any;
|
|
717
|
-
}, string, PublicProps, Readonly<
|
|
740
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
718
741
|
onClose?: (() => any) | undefined;
|
|
719
742
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
720
743
|
}>, {
|
|
@@ -722,10 +745,10 @@ okButtonCaption: string;
|
|
|
722
745
|
cancelButtonCaption: string;
|
|
723
746
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
724
747
|
|
|
725
|
-
export declare const BSDateRange: DefineComponent<
|
|
748
|
+
export declare const BSDateRange: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
726
749
|
"update:fromValue": (value?: string | undefined) => any;
|
|
727
750
|
"update:toValue": (value?: string | undefined) => any;
|
|
728
|
-
}, string, PublicProps, Readonly<
|
|
751
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
729
752
|
"onUpdate:fromValue"?: ((value?: string | undefined) => any) | undefined;
|
|
730
753
|
"onUpdate:toValue"?: ((value?: string | undefined) => any) | undefined;
|
|
731
754
|
}>, {
|
|
@@ -739,11 +762,11 @@ fieldFrom: HTMLInputElement;
|
|
|
739
762
|
fieldTo: HTMLInputElement;
|
|
740
763
|
}, HTMLDivElement>;
|
|
741
764
|
|
|
742
|
-
export declare const BSDateRangeInputPopup: DefineComponent<
|
|
765
|
+
export declare const BSDateRangeInputPopup: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
743
766
|
close: () => any;
|
|
744
767
|
"update:from": (value?: string | undefined) => any;
|
|
745
768
|
"update:to": (value?: string | undefined) => any;
|
|
746
|
-
}, string, PublicProps, Readonly<
|
|
769
|
+
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
747
770
|
onClose?: (() => any) | undefined;
|
|
748
771
|
"onUpdate:from"?: ((value?: string | undefined) => any) | undefined;
|
|
749
772
|
"onUpdate:to"?: ((value?: string | undefined) => any) | undefined;
|
|
@@ -752,6 +775,10 @@ okButtonCaption: string;
|
|
|
752
775
|
cancelButtonCaption: string;
|
|
753
776
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
754
777
|
|
|
778
|
+
export declare const BSIcon: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {
|
|
779
|
+
spin: boolean;
|
|
780
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
781
|
+
|
|
755
782
|
export declare const BSLoadingIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
756
783
|
|
|
757
784
|
export declare class BSModal {
|
|
@@ -768,7 +795,7 @@ export declare const BSModalContainer: DefineComponent< {}, {}, {}, {}, {}, C
|
|
|
768
795
|
modalContainer: HTMLDivElement;
|
|
769
796
|
}, HTMLDivElement>;
|
|
770
797
|
|
|
771
|
-
export declare const BSModalFrame:
|
|
798
|
+
export declare const BSModalFrame: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
772
799
|
|
|
773
800
|
export declare const BSMultiSelect: <T, V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
774
801
|
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{
|
|
@@ -827,9 +854,9 @@ align: "left" | "center" | "right";
|
|
|
827
854
|
}> | null;
|
|
828
855
|
}, HTMLDivElement>;
|
|
829
856
|
|
|
830
|
-
export declare const BSNumberInput: DefineComponent<
|
|
857
|
+
export declare const BSNumberInput: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
831
858
|
"update:modelValue": (value?: number | undefined) => any;
|
|
832
|
-
}, string, PublicProps, Readonly<
|
|
859
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
833
860
|
"onUpdate:modelValue"?: ((value?: number | undefined) => any) | undefined;
|
|
834
861
|
}>, {
|
|
835
862
|
width: string;
|
|
@@ -841,9 +868,9 @@ formatOnBlur: boolean;
|
|
|
841
868
|
field: HTMLInputElement;
|
|
842
869
|
}, HTMLDivElement>;
|
|
843
870
|
|
|
844
|
-
export declare const BSPageNavigation: DefineComponent<
|
|
871
|
+
export declare const BSPageNavigation: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
845
872
|
offsetChanged: (offset: number, currentPageInfo: PageInfo) => any;
|
|
846
|
-
}, string, PublicProps, Readonly<
|
|
873
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
847
874
|
onOffsetChanged?: ((offset: number, currentPageInfo: PageInfo) => any) | undefined;
|
|
848
875
|
}>, {
|
|
849
876
|
totalCount: number;
|
|
@@ -852,7 +879,7 @@ limit: number;
|
|
|
852
879
|
visiblePageCount: number;
|
|
853
880
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
854
881
|
|
|
855
|
-
export declare const BSPopup:
|
|
882
|
+
export declare const BSPopup: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
856
883
|
|
|
857
884
|
export declare const BSRadioButton: <V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
858
885
|
props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
|
|
@@ -946,9 +973,9 @@ export declare const BSSelect: <T, V>(__VLS_props: NonNullable<Awaited<typeof __
|
|
|
946
973
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
947
974
|
};
|
|
948
975
|
|
|
949
|
-
export declare const BSTextArea: DefineComponent<
|
|
976
|
+
export declare const BSTextArea: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
950
977
|
"update:modelValue": (value: string) => any;
|
|
951
|
-
}, string, PublicProps, Readonly<
|
|
978
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
952
979
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
953
980
|
}>, {
|
|
954
981
|
width: string;
|
|
@@ -958,9 +985,9 @@ trimValue: boolean;
|
|
|
958
985
|
field: HTMLTextAreaElement;
|
|
959
986
|
}, HTMLDivElement>;
|
|
960
987
|
|
|
961
|
-
export declare const BSTextInput: DefineComponent<
|
|
988
|
+
export declare const BSTextInput: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
962
989
|
"update:modelValue": (value: string) => any;
|
|
963
|
-
}, string, PublicProps, Readonly<
|
|
990
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
964
991
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
965
992
|
}>, {
|
|
966
993
|
name: string;
|
|
@@ -972,14 +999,14 @@ trimValue: boolean;
|
|
|
972
999
|
field: HTMLInputElement;
|
|
973
1000
|
}, HTMLDivElement>;
|
|
974
1001
|
|
|
975
|
-
export declare const BSTooltip: DefineComponent<
|
|
1002
|
+
export declare const BSTooltip: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
976
1003
|
align: "left" | "center" | "right";
|
|
977
1004
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
978
1005
|
|
|
979
|
-
export declare const BSYesNoModal: DefineComponent<
|
|
1006
|
+
export declare const BSYesNoModal: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
980
1007
|
clickNo: () => any;
|
|
981
1008
|
clickYes: () => any;
|
|
982
|
-
}, string, PublicProps, Readonly<
|
|
1009
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
983
1010
|
onClickNo?: (() => any) | undefined;
|
|
984
1011
|
onClickYes?: (() => any) | undefined;
|
|
985
1012
|
}>, {
|
|
@@ -1202,6 +1229,13 @@ export declare type FunctionPropertyNames<T> = {
|
|
|
1202
1229
|
*/
|
|
1203
1230
|
export declare const getComponentRootElement: (component: Component) => HTMLElement | undefined;
|
|
1204
1231
|
|
|
1232
|
+
/**
|
|
1233
|
+
* Get icon SVG content by name
|
|
1234
|
+
* @param name - Icon name
|
|
1235
|
+
* @returns SVG content string or undefined
|
|
1236
|
+
*/
|
|
1237
|
+
export declare const getIcon: (name: string) => string | undefined;
|
|
1238
|
+
|
|
1205
1239
|
/**
|
|
1206
1240
|
* `element` 가 parent 로부터 몇 번째 child 인지 리턴한다.
|
|
1207
1241
|
* parent 가 없으면 -1 을 리턴한다.
|
|
@@ -1213,6 +1247,8 @@ export declare const hideLoading: () => void;
|
|
|
1213
1247
|
|
|
1214
1248
|
export declare const hideTooltip: () => void;
|
|
1215
1249
|
|
|
1250
|
+
export declare type IconName = "add" | "calendar_month" | "check" | "check_box" | "check_box_outline_blank" | "check_circle" | "close" | "cancel" | "drag_handle" | "edit" | "expand_more" | "keyboard_arrow_left" | "keyboard_arrow_right" | "keyboard_double_arrow_left" | "keyboard_double_arrow_right" | "label" | "maximize" | "minimize" | "north" | "numbers" | "progress_activity" | "radio_button_checked" | "radio_button_unchecked" | "remove" | "replay" | "south" | "straight" | "swap_vert";
|
|
1251
|
+
|
|
1216
1252
|
export declare type IconProvider<T> = (item: T) => string | undefined;
|
|
1217
1253
|
|
|
1218
1254
|
export declare class IllegalAccessError {
|
|
@@ -1361,7 +1397,7 @@ export declare type PopupComponentConfig = {
|
|
|
1361
1397
|
* BSTextInput 등의 prefix, suffix 타입
|
|
1362
1398
|
*/
|
|
1363
1399
|
export declare type PrefixSuffix = {
|
|
1364
|
-
type: 'text' | '
|
|
1400
|
+
type: 'text' | 'icon' | 'image-url';
|
|
1365
1401
|
value: string;
|
|
1366
1402
|
};
|
|
1367
1403
|
|
|
@@ -1379,6 +1415,19 @@ export declare type RegisteredModalItem = ModalItem & {
|
|
|
1379
1415
|
escToClose?: boolean;
|
|
1380
1416
|
};
|
|
1381
1417
|
|
|
1418
|
+
/**
|
|
1419
|
+
* Register a single icon
|
|
1420
|
+
* @param name - Icon name
|
|
1421
|
+
* @param svg - SVG content string
|
|
1422
|
+
*/
|
|
1423
|
+
export declare const registerIcon: (name: string, svg: string) => void;
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* Register multiple icons at once
|
|
1427
|
+
* @param icons - Record of icon name to SVG content
|
|
1428
|
+
*/
|
|
1429
|
+
export declare const registerIcons: (icons: Record<string, string>) => void;
|
|
1430
|
+
|
|
1382
1431
|
export declare interface SavePoint {
|
|
1383
1432
|
registerField<T>(option: SavePointHandlerRegisterOption<T>): SavePointHandler<T>;
|
|
1384
1433
|
unregisterField(field: Ref<HTMLElement | undefined>): void;
|