@g1cloud/open-bluesea-core 1.0.0-alpha.1 → 1.0.0-alpha.10

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/index.d.ts CHANGED
@@ -1,35 +1,1571 @@
1
- export { BlueseaPlugin } from '@/blueseaPlugin';
2
- export type * from '@/blueseaPlugin';
3
- export { default as BSButton } from '@/component/basic/BSButton.vue';
4
- export { default as BSPageNavigation } from '@/component/basic/BSPageNavigation.vue';
5
- export { default as BSLoadingIcon } from '@/component/basic/BSLoadingIcon.vue';
6
- export { default as BSPopup } from '@/component/basic/BSPopup.vue';
7
- export { default as BSTooltip } from '@/component/basic/BSTooltip.vue';
8
- export { default as BSTextInput } from '@/component/input/BSTextInput.vue';
9
- export { default as BSNumberInput } from '@/component/input/BSNumberInput.vue';
10
- export { default as BSTextArea } from '@/component/input/BSTextArea.vue';
11
- export { default as BSCheckbox } from '@/component/input/BSCheckbox.vue';
12
- export { default as BSCheckboxGroup } from '@/component/input/BSCheckboxGroup.vue';
13
- export { default as BSRadioButton } from '@/component/input/BSRadioButton.vue';
14
- export { default as BSRadioButtonGroup } from '@/component/input/BSRadioButtonGroup.vue';
15
- export { default as BSSelect } from '@/component/input/BSSelect.vue';
16
- export { default as BSMultiSelect } from '@/component/input/BSMultiSelect.vue';
17
- export { default as BSCardLayout } from '@/component/layout/BSCardLayout.vue';
18
- export { default as BSNotificationContainer } from '@/notification/BSNotificationContainer.vue';
19
- export { default as BSContextMenuContainer } from '@/contextmenu/BSContextMenuContainer.vue';
20
- export { default as BSContextMenu } from '@/contextmenu/BSContextMenu.vue';
21
- export * from '@/contextmenu/contextMenuPlugin';
22
- export type * from '@/contextmenu/contextMenuPlugin';
23
- export type { PageInfo } from '@/component/basic/PageNavigation.model';
24
- export { default as vTooltip } from '@/directive/vTooltip';
25
- export { default as vFocusOnLoad } from '@/directive/vFocusOnLoad';
26
- export { default as vClickOutside } from '@/directive/vClickOutside';
27
- export type * from '@/model/CommonTypes';
28
- export type * from '@/model/FieldContext';
29
- export * from '@/model/FieldContext';
30
- export type * from '@/savepoint/SavePoint';
31
- export * from '@/savepoint/SavePoint';
32
- export * from '@/util/debounceUtil';
33
- export * from '@/util/typeUtil';
34
- export type * from '@/util/typeUtil';
35
- export * from '@/util/waitUtil';
1
+ import { AllowedComponentProps } from 'vue';
2
+ import { App } from 'vue';
3
+ import { Component } from 'vue';
4
+ import { ComponentCustomProperties } from 'vue';
5
+ import { ComponentCustomProps } from 'vue';
6
+ import { ComponentInternalInstance } from 'vue';
7
+ import { ComponentOptionsBase } from 'vue';
8
+ import { ComponentOptionsMixin } from 'vue';
9
+ import { ComponentProvideOptions } from 'vue';
10
+ import { ComponentPublicInstance } from 'vue';
11
+ import { CreateComponentPublicInstanceWithMixins } from 'vue';
12
+ import { DebuggerEvent } from 'vue';
13
+ import { DefineComponent } from 'vue';
14
+ import { DirectiveBinding } from 'vue';
15
+ import { GlobalComponents } from 'vue';
16
+ import { GlobalDirectives } from 'vue';
17
+ import { InjectionKey } from 'vue';
18
+ import { nextTick } from 'vue';
19
+ import { ObjectDirective } from 'vue';
20
+ import { OnCleanup } from '@vue/reactivity';
21
+ import { Plugin as Plugin_2 } from 'vue';
22
+ import { PublicProps } from 'vue';
23
+ import { Raw } from 'vue';
24
+ import { Reactive } from 'vue';
25
+ import { Ref } from 'vue';
26
+ import { ShallowUnwrapRef } from 'vue';
27
+ import { Slot } from 'vue';
28
+ import { UnwrapRef } from 'vue';
29
+ import { VNode } from 'vue';
30
+ import { VNodeProps } from 'vue';
31
+ import { WatchOptions } from 'vue';
32
+ import { WatchStopHandle } from 'vue';
33
+
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, {} & {
40
+ click: (event: Event) => any;
41
+ keydown: (event: KeyboardEvent) => any;
42
+ requestClose: () => any;
43
+ }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
44
+ onClick?: ((event: Event) => any) | undefined;
45
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
46
+ onRequestClose?: (() => any) | undefined;
47
+ }>, {
48
+ maxHeight: string;
49
+ popupDirection: "down" | "up" | "right" | "auto-down" | "auto-right";
50
+ popupAlign: "left" | "right" | "center" | "auto";
51
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
52
+ root: HTMLDivElement;
53
+ }, any>;
54
+
55
+ declare const __VLS_component_3: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
56
+ "update:modelValue": (value: boolean) => any;
57
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
58
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
59
+ }>, {
60
+ tabindex: number;
61
+ id: string;
62
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
63
+ field: HTMLInputElement;
64
+ }, HTMLSpanElement>;
65
+
66
+ declare const __VLS_component_4: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
67
+
68
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
69
+ closeModal: () => any;
70
+ }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
71
+ onCloseModal?: (() => any) | undefined;
72
+ }>, {
73
+ closeCaption: string;
74
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
75
+ modalBody: HTMLDivElement;
76
+ modalButtons: HTMLDivElement;
77
+ }, HTMLDivElement>;
78
+
79
+ declare type __VLS_PrettifyLocal<T> = {
80
+ [K in keyof T]: T[K];
81
+ } & {};
82
+
83
+ declare type __VLS_PrettifyLocal_2<T> = {
84
+ [K in keyof T]: T[K];
85
+ } & {};
86
+
87
+ declare type __VLS_PrettifyLocal_3<T> = {
88
+ [K in keyof T]: T[K];
89
+ } & {};
90
+
91
+ declare type __VLS_PrettifyLocal_4<T> = {
92
+ [K in keyof T]: T[K];
93
+ } & {};
94
+
95
+ declare type __VLS_PrettifyLocal_5<T> = {
96
+ [K in keyof T]: T[K];
97
+ } & {};
98
+
99
+ declare type __VLS_Props = {
100
+ caption?: string;
101
+ buttonColor?: string;
102
+ disabled?: boolean;
103
+ linkUrl?: string;
104
+ linkTarget?: string;
105
+ routePath?: string;
106
+ tooltip?: string;
107
+ };
108
+
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 = {
138
+ id?: string;
139
+ name?: string;
140
+ label?: string;
141
+ modelValue?: boolean;
142
+ disabled?: boolean;
143
+ viewMode?: boolean;
144
+ tabindex?: number;
145
+ disableSavePoint?: boolean;
146
+ ignoreSavePoint?: boolean;
147
+ };
148
+
149
+ declare type __VLS_Props_12 = {
150
+ id?: string;
151
+ placeholder?: string;
152
+ name?: string;
153
+ modelValue?: string;
154
+ disabled?: boolean;
155
+ viewMode?: boolean;
156
+ required?: boolean;
157
+ width?: string;
158
+ resolution?: DateResolution;
159
+ endTime?: boolean;
160
+ displayFormat?: string | DisplayDateResolution;
161
+ timeZone?: TimeZone;
162
+ hidePopupExtraDate?: boolean;
163
+ tabindex?: number;
164
+ validationMessageRequired?: string;
165
+ extraValidationRules?: FieldValidationRule<string>[];
166
+ ignoreSavePoint?: boolean;
167
+ popupAlign?: "left" | "right" | "center" | "auto";
168
+ popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right";
169
+ popupStartYear?: string;
170
+ popupEndYear?: string;
171
+ hideErrorMessage?: boolean;
172
+ showErrorMessageOnDisabled?: boolean;
173
+ minDateValue?: string;
174
+ maxDateValue?: string;
175
+ };
176
+
177
+ declare type __VLS_Props_13 = {
178
+ modelValue?: string;
179
+ resolution: DateResolution;
180
+ displayFormat?: string | DisplayDateResolution;
181
+ timeZone?: TimeZone;
182
+ baseElement: HTMLElement | null;
183
+ popupAlign?: "left" | "right" | "center" | "auto";
184
+ popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right";
185
+ selectStartYear?: string;
186
+ selectEndYear?: string;
187
+ okButtonCaption?: string;
188
+ cancelButtonCaption?: string;
189
+ };
190
+
191
+ declare type __VLS_Props_14 = {
192
+ idFrom?: string;
193
+ idTo?: string;
194
+ placeholderFrom?: string;
195
+ placeholderTo?: string;
196
+ nameFrom?: string;
197
+ nameTo?: string;
198
+ fromValue?: string;
199
+ toValue?: string;
200
+ disabledFrom?: boolean;
201
+ disabledTo?: boolean;
202
+ viewMode?: boolean;
203
+ required?: boolean;
204
+ requiredFrom?: boolean;
205
+ requiredTo?: boolean;
206
+ width?: string;
207
+ resolution?: DateResolution;
208
+ displayFormat?: string | DisplayDateResolution;
209
+ timeZone?: TimeZone;
210
+ hidePopupExtraDate?: boolean;
211
+ tabindex?: number;
212
+ validateDateOrder?: boolean;
213
+ validationMessageRequired?: string;
214
+ validationMessageDateOrder?: string;
215
+ extraValidationRules?: FieldValidationRule<string>[];
216
+ ignoreSavePoint?: boolean;
217
+ popupDisplayFormat?: string | DisplayDateResolution;
218
+ popupAlign?: "left" | "right" | "center" | "auto";
219
+ popupDirection?: "down" | "up" | "auto";
220
+ popupStartYear?: string;
221
+ popupEndYear?: string;
222
+ hideErrorMessage?: boolean;
223
+ showErrorMessageOnDisabled?: boolean;
224
+ minDateValue?: string;
225
+ maxDateValue?: string;
226
+ };
227
+
228
+ declare type __VLS_Props_15 = {
229
+ from?: string;
230
+ to?: string;
231
+ disabledFrom?: boolean;
232
+ disabledTo?: boolean;
233
+ resolution: DateResolution;
234
+ displayFormat?: string | DisplayDateResolution;
235
+ timeZone?: TimeZone;
236
+ baseElement: HTMLElement | null;
237
+ selectStartYear?: string;
238
+ selectEndYear?: string;
239
+ okButtonCaption?: string;
240
+ cancelButtonCaption?: string;
241
+ };
242
+
243
+ declare type __VLS_Props_16 = {
244
+ title?: string;
245
+ hideTitle?: boolean;
246
+ cardBodyClass?: string | string[] | unknown;
247
+ };
248
+
249
+ declare type __VLS_Props_17 = {
250
+ title?: string;
251
+ message?: string;
252
+ okCaption?: string;
253
+ };
254
+
255
+ declare type __VLS_Props_18 = {
256
+ title?: string;
257
+ message?: string;
258
+ yesCaption?: string;
259
+ noCaption?: string;
260
+ };
261
+
262
+ declare type __VLS_Props_19 = {
263
+ title?: string;
264
+ hideMaximizeButton?: boolean;
265
+ hideCloseButton?: boolean;
266
+ closeCaption?: string;
267
+ autoFocus?: boolean;
268
+ };
269
+
270
+ declare type __VLS_Props_2 = {
271
+ name: IconName | string;
272
+ spin?: boolean;
273
+ };
274
+
275
+ declare type __VLS_Props_20 = {
276
+ menuItems?: MenuItem[];
277
+ popupId?: string;
278
+ baseElement?: HTMLElement | null;
279
+ left?: number;
280
+ top?: number;
281
+ zIndex?: number;
282
+ direction?: "auto-right";
283
+ };
284
+
285
+ declare type __VLS_Props_3 = {
286
+ totalCount?: number;
287
+ offset?: number;
288
+ limit?: number;
289
+ visiblePageCount?: number;
290
+ maxPage?: number;
291
+ };
292
+
293
+ declare type __VLS_Props_4 = {
294
+ popupId?: string;
295
+ maxHeight?: string;
296
+ baseElement?: HTMLElement | null | {
297
+ left: number;
298
+ top: number;
299
+ };
300
+ offsetFromBaseElement?: number;
301
+ extraClass?: string;
302
+ popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right";
303
+ popupAlign?: "left" | "right" | "center" | "auto";
304
+ zIndex?: number;
305
+ };
306
+
307
+ declare type __VLS_Props_5 = {
308
+ align?: "left" | "center" | "right";
309
+ content?: string;
310
+ target?: HTMLElement;
311
+ };
312
+
313
+ declare type __VLS_Props_6 = {
314
+ modelValue?: string;
315
+ initialYear?: number;
316
+ initialMonth?: number;
317
+ timeZone?: TimeZone;
318
+ showTimeZone?: boolean;
319
+ resolution?: DateResolution;
320
+ firstDay?: 0 | 1;
321
+ displayFormat?: string | DisplayDateResolution;
322
+ rangeType?: "from" | "to";
323
+ rangeValue?: string;
324
+ disabled?: boolean;
325
+ startYear?: string;
326
+ endYear?: string;
327
+ };
328
+
329
+ declare type __VLS_Props_7 = {
330
+ from?: string;
331
+ to?: string;
332
+ disabledFrom?: boolean;
333
+ disabledTo?: boolean;
334
+ timeZone?: string;
335
+ firstDay?: 0 | 1;
336
+ displayFormat?: string | DisplayDateResolution;
337
+ resolution?: DateResolution;
338
+ startYear?: string;
339
+ endYear?: string;
340
+ };
341
+
342
+ declare type __VLS_Props_8 = {
343
+ id?: string;
344
+ placeholder?: string;
345
+ name: string;
346
+ modelValue?: string;
347
+ maxlength?: number;
348
+ disabled?: boolean;
349
+ forceValidateWhenDisabled?: boolean;
350
+ viewMode?: boolean;
351
+ width?: string;
352
+ autocomplete?: string;
353
+ tabindex?: number;
354
+ inputType?: "text" | "password";
355
+ trimValue?: boolean;
356
+ prefix?: string | string[] | PrefixSuffix | PrefixSuffix[];
357
+ suffix?: string | string[] | PrefixSuffix | PrefixSuffix[];
358
+ required?: boolean;
359
+ minLength?: number;
360
+ maxLength?: number;
361
+ regExp?: string;
362
+ validationMessageRequired?: string;
363
+ validationMessageMinLength?: string;
364
+ validationMessageMaxLength?: string;
365
+ validationMessageBetweenLength?: string;
366
+ validationMessageRegExp?: string;
367
+ extraValidationRules?: FieldValidationRule<string>[];
368
+ ignoreSavePoint?: boolean;
369
+ hideErrorMessage?: boolean;
370
+ showErrorMessageOnDisabled?: boolean;
371
+ };
372
+
373
+ declare type __VLS_Props_9 = {
374
+ id?: string;
375
+ placeholder?: string;
376
+ name?: string;
377
+ modelValue?: number;
378
+ maxlength?: number;
379
+ disabled?: boolean;
380
+ viewMode?: boolean;
381
+ width?: string;
382
+ autocomplete?: string;
383
+ tabindex?: number;
384
+ prefix?: string | string[] | PrefixSuffix | PrefixSuffix[];
385
+ suffix?: string | string[] | PrefixSuffix | PrefixSuffix[];
386
+ format?: boolean;
387
+ formatInViewMode?: boolean;
388
+ formatOnBlur?: boolean;
389
+ required?: boolean;
390
+ minValue?: number;
391
+ maxValue?: number;
392
+ validationMessageRequired?: string;
393
+ validationMessageMinValue?: string;
394
+ validationMessageMaxValue?: string;
395
+ validationMessageBetweenValue?: string;
396
+ extraValidationRules?: FieldValidationRule<number | undefined>[];
397
+ ignoreSavePoint?: boolean;
398
+ hideErrorMessage?: boolean;
399
+ showErrorMessageOnDisabled?: boolean;
400
+ };
401
+
402
+ declare function __VLS_template(): {
403
+ attrs: Partial<{}>;
404
+ slots: {
405
+ left?(_: {}): any;
406
+ right?(_: {}): any;
407
+ };
408
+ refs: {};
409
+ rootEl: any;
410
+ };
411
+
412
+ declare function __VLS_template_2(): {
413
+ attrs: Partial<{}>;
414
+ slots: {
415
+ default?(_: {}): any;
416
+ };
417
+ refs: {
418
+ root: HTMLDivElement;
419
+ };
420
+ rootEl: any;
421
+ };
422
+
423
+ declare function __VLS_template_3(): {
424
+ attrs: Partial<{}>;
425
+ slots: {
426
+ default?(_: {
427
+ disabled: boolean | undefined;
428
+ }): any;
429
+ };
430
+ refs: {
431
+ field: HTMLInputElement;
432
+ };
433
+ rootEl: HTMLSpanElement;
434
+ };
435
+
436
+ declare function __VLS_template_4(): {
437
+ attrs: Partial<{}>;
438
+ slots: {
439
+ 'title-right'?(_: {}): any;
440
+ default?(_: {}): any;
441
+ };
442
+ refs: {};
443
+ rootEl: HTMLDivElement;
444
+ };
445
+
446
+ declare function __VLS_template_5(): {
447
+ attrs: Partial<{}>;
448
+ slots: {
449
+ title?(_: {}): any;
450
+ 'title-buttons'?(_: {}): any;
451
+ default?(_: {}): any;
452
+ buttons?(_: {}): any;
453
+ };
454
+ refs: {
455
+ modalBody: HTMLDivElement;
456
+ modalButtons: HTMLDivElement;
457
+ };
458
+ rootEl: HTMLDivElement;
459
+ };
460
+
461
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
462
+
463
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
464
+
465
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
466
+
467
+ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
468
+
469
+ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
470
+
471
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
472
+ new (): {
473
+ $slots: S;
474
+ };
475
+ };
476
+
477
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
478
+ new (): {
479
+ $slots: S;
480
+ };
481
+ };
482
+
483
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
484
+ new (): {
485
+ $slots: S;
486
+ };
487
+ };
488
+
489
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
490
+ new (): {
491
+ $slots: S;
492
+ };
493
+ };
494
+
495
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
496
+ new (): {
497
+ $slots: S;
498
+ };
499
+ };
500
+
501
+ export declare const alarmEntries: Reactive<AlarmEntry[]>;
502
+
503
+ export declare type AlarmEntry = {
504
+ entryId: number;
505
+ component: Raw<Component>;
506
+ duration: number;
507
+ };
508
+
509
+ export declare class BlueseaConfig {
510
+ dateFormat: string;
511
+ dateFormatDay: string;
512
+ dateFormatMinute: string;
513
+ dateFormatSecond: string;
514
+ minDateValue: string;
515
+ maxDateValue: string;
516
+ timeZone: string;
517
+ componentConfig: ComponentConfig;
518
+ constructor(config?: BlueseaConfigRaw);
519
+ resolveDisplayDateFormat(format?: string | DisplayDateResolution): string;
520
+ }
521
+
522
+ export declare const BlueseaConfigKey: InjectionKey<BlueseaConfig>;
523
+
524
+ export declare type BlueseaConfigRaw = {
525
+ dateFormat?: string;
526
+ dateFormatDay?: string;
527
+ dateFormatMinute?: string;
528
+ dateFormatSecond?: string;
529
+ minDateValue?: string;
530
+ maxDateValue?: string;
531
+ timeZone?: string;
532
+ componentConfig?: ComponentConfig;
533
+ };
534
+
535
+ export declare const BlueseaPlugin: Plugin_2;
536
+
537
+ export declare const BSAlertModal: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
538
+ click: () => any;
539
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
540
+ onClick?: (() => any) | undefined;
541
+ }>, {
542
+ okCaption: string;
543
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
544
+
545
+ export declare const BSButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
546
+
547
+ export declare const BSCalendar: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
548
+ "update:modelValue": (value?: string | undefined) => any;
549
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
550
+ "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
551
+ }>, {
552
+ resolution: DateResolution;
553
+ firstDay: 0 | 1;
554
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
555
+
556
+ export declare const BSCalendarRange: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
557
+ "update:from": (value?: string | undefined) => any;
558
+ "update:to": (value?: string | undefined) => any;
559
+ }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
560
+ "onUpdate:from"?: ((value?: string | undefined) => any) | undefined;
561
+ "onUpdate:to"?: ((value?: string | undefined) => any) | undefined;
562
+ }>, {
563
+ firstDay: 0 | 1;
564
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
565
+
566
+ export declare const BSCardLayout: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
567
+
568
+ export declare const BSCheckbox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
569
+
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<{
571
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
572
+ readonly "onUpdate:modelValue"?: ((value: V[]) => any) | undefined;
573
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & {
574
+ name?: string;
575
+ modelValue?: V[];
576
+ items?: T[];
577
+ valueProvider?: (item: T) => V;
578
+ labelProvider?: LabelProvider<T>;
579
+ keyProvider?: KeyProvider<T>;
580
+ enabledItemProvider?: EnabledItemProvider<T>;
581
+ tabindex?: number;
582
+ disabled?: boolean;
583
+ viewMode?: boolean;
584
+ required?: boolean;
585
+ validationMessageRequired?: string;
586
+ extraValidationRules?: FieldValidationRule<UnwrapRef<V[]>>[];
587
+ ignoreSavePoint?: boolean;
588
+ hideErrorMessage?: boolean;
589
+ showErrorMessageOnDisabled?: boolean;
590
+ } & Partial<{}>> & PublicProps;
591
+ expose(exposed: ShallowUnwrapRef< {}>): void;
592
+ attrs: any;
593
+ slots: {};
594
+ emit: (e: "update:modelValue", value: V[]) => void;
595
+ }>) => VNode & {
596
+ __ctx?: Awaited<typeof __VLS_setup>;
597
+ };
598
+
599
+ export declare const BSContextMenu: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
600
+ requestClose: () => any;
601
+ menuClicked: (menu: MenuItem) => any;
602
+ }, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
603
+ onRequestClose?: (() => any) | undefined;
604
+ onMenuClicked?: ((menu: MenuItem) => any) | undefined;
605
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
606
+ root: ({
607
+ $: ComponentInternalInstance;
608
+ $data: {};
609
+ $props: {
610
+ readonly popupId?: string | undefined;
611
+ readonly maxHeight?: string | undefined;
612
+ readonly baseElement?: (HTMLElement | null | {
613
+ left: number;
614
+ top: number;
615
+ }) | undefined;
616
+ readonly offsetFromBaseElement?: number | undefined;
617
+ readonly extraClass?: string | undefined;
618
+ readonly popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right" | undefined;
619
+ readonly popupAlign?: "left" | "right" | "center" | "auto" | undefined;
620
+ readonly zIndex?: number | undefined;
621
+ readonly onClick?: ((event: Event) => any) | undefined;
622
+ readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
623
+ readonly onRequestClose?: (() => any) | undefined;
624
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
625
+ $attrs: {
626
+ [x: string]: unknown;
627
+ };
628
+ $refs: {
629
+ [x: string]: unknown;
630
+ } & {
631
+ root: HTMLDivElement;
632
+ };
633
+ $slots: Readonly<{
634
+ [name: string]: Slot<any> | undefined;
635
+ }>;
636
+ $root: ComponentPublicInstance | null;
637
+ $parent: ComponentPublicInstance | null;
638
+ $host: Element | null;
639
+ $emit: ((event: "click", event: Event) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "requestClose") => void);
640
+ $el: any;
641
+ $options: ComponentOptionsBase<Readonly<{
642
+ popupId?: string;
643
+ maxHeight?: string;
644
+ baseElement?: HTMLElement | null | {
645
+ left: number;
646
+ top: number;
647
+ };
648
+ offsetFromBaseElement?: number;
649
+ extraClass?: string;
650
+ popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right";
651
+ popupAlign?: "left" | "right" | "center" | "auto";
652
+ zIndex?: number;
653
+ }> & Readonly<{
654
+ onClick?: ((event: Event) => any) | undefined;
655
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
656
+ onRequestClose?: (() => any) | undefined;
657
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
658
+ click: (event: Event) => any;
659
+ keydown: (event: KeyboardEvent) => any;
660
+ requestClose: () => any;
661
+ }, string, {
662
+ maxHeight: string;
663
+ popupDirection: "down" | "up" | "right" | "auto-down" | "auto-right";
664
+ popupAlign: "left" | "right" | "center" | "auto";
665
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
666
+ beforeCreate?: (() => void) | (() => void)[];
667
+ created?: (() => void) | (() => void)[];
668
+ beforeMount?: (() => void) | (() => void)[];
669
+ mounted?: (() => void) | (() => void)[];
670
+ beforeUpdate?: (() => void) | (() => void)[];
671
+ updated?: (() => void) | (() => void)[];
672
+ activated?: (() => void) | (() => void)[];
673
+ deactivated?: (() => void) | (() => void)[];
674
+ beforeDestroy?: (() => void) | (() => void)[];
675
+ beforeUnmount?: (() => void) | (() => void)[];
676
+ destroyed?: (() => void) | (() => void)[];
677
+ unmounted?: (() => void) | (() => void)[];
678
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
679
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
680
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
681
+ };
682
+ $forceUpdate: () => void;
683
+ $nextTick: nextTick;
684
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
685
+ } & Readonly<{
686
+ maxHeight: string;
687
+ popupDirection: "down" | "up" | "right" | "auto-down" | "auto-right";
688
+ popupAlign: "left" | "right" | "center" | "auto";
689
+ }> & Omit<Readonly<{
690
+ popupId?: string;
691
+ maxHeight?: string;
692
+ baseElement?: HTMLElement | null | {
693
+ left: number;
694
+ top: number;
695
+ };
696
+ offsetFromBaseElement?: number;
697
+ extraClass?: string;
698
+ popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right";
699
+ popupAlign?: "left" | "right" | "center" | "auto";
700
+ zIndex?: number;
701
+ }> & Readonly<{
702
+ onClick?: ((event: Event) => any) | undefined;
703
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
704
+ onRequestClose?: (() => any) | undefined;
705
+ }>, "maxHeight" | "popupDirection" | "popupAlign"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
706
+ $slots: {
707
+ default?(_: {}): any;
708
+ };
709
+ }) | null;
710
+ }, any>;
711
+
712
+ export declare const BSContextMenuContainer: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
713
+
714
+ export declare class BSContextMenuPlugin {
715
+ contextMenuItems: Ref<MenuItem[] | undefined, MenuItem[] | undefined>;
716
+ position: Ref<MenuPosition | undefined, MenuPosition | undefined>;
717
+ options: Ref<ContextMenuOptions | undefined, ContextMenuOptions | undefined>;
718
+ showContextMenu(event: MousePosition, menus: MenuItem[], options?: ContextMenuOptions): void;
719
+ hideContextMenu(): void;
720
+ install(app: App): void;
721
+ private markComponentRaw;
722
+ }
723
+
724
+ export declare const BSDateInput: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
725
+ "update:modelValue": (value?: string | undefined) => any;
726
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
727
+ "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
728
+ }>, {
729
+ width: string;
730
+ tabindex: number;
731
+ resolution: DateResolution;
732
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
733
+ root: HTMLDivElement;
734
+ field: HTMLInputElement;
735
+ }, HTMLDivElement>;
736
+
737
+ export declare const BSDateInputPopup: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
738
+ close: () => any;
739
+ "update:modelValue": (value?: string | undefined) => any;
740
+ }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
741
+ onClose?: (() => any) | undefined;
742
+ "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
743
+ }>, {
744
+ okButtonCaption: string;
745
+ cancelButtonCaption: string;
746
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
747
+
748
+ export declare const BSDateRange: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
749
+ "update:fromValue": (value?: string | undefined) => any;
750
+ "update:toValue": (value?: string | undefined) => any;
751
+ }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
752
+ "onUpdate:fromValue"?: ((value?: string | undefined) => any) | undefined;
753
+ "onUpdate:toValue"?: ((value?: string | undefined) => any) | undefined;
754
+ }>, {
755
+ width: string;
756
+ tabindex: number;
757
+ resolution: DateResolution;
758
+ validateDateOrder: boolean;
759
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
760
+ root: HTMLDivElement;
761
+ fieldFrom: HTMLInputElement;
762
+ fieldTo: HTMLInputElement;
763
+ }, HTMLDivElement>;
764
+
765
+ export declare const BSDateRangeInputPopup: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
766
+ close: () => any;
767
+ "update:from": (value?: string | undefined) => any;
768
+ "update:to": (value?: string | undefined) => any;
769
+ }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
770
+ onClose?: (() => any) | undefined;
771
+ "onUpdate:from"?: ((value?: string | undefined) => any) | undefined;
772
+ "onUpdate:to"?: ((value?: string | undefined) => any) | undefined;
773
+ }>, {
774
+ okButtonCaption: string;
775
+ cancelButtonCaption: string;
776
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
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
+
782
+ export declare const BSLoadingIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
783
+
784
+ export declare class BSModal {
785
+ modalItems: RegisteredModalItem[];
786
+ openModal(modalItem: ModalItem): RegisteredModalItem;
787
+ closeModal(modalItem: RegisteredModalItem | string): void;
788
+ closeAllModals(): void;
789
+ openAlert(title?: string, message?: string, clickHandler?: () => void | Promise<void>): RegisteredModalItem;
790
+ openYesNo(title?: string, message?: string, yesHandler?: () => void | Promise<void>, noHandler?: () => void | Promise<void>): RegisteredModalItem;
791
+ install(app: App): void;
792
+ }
793
+
794
+ export declare const BSModalContainer: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
795
+ modalContainer: HTMLDivElement;
796
+ }, HTMLDivElement>;
797
+
798
+ export declare const BSModalFrame: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
799
+
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<{
801
+ props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{
802
+ readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
803
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & {
804
+ modelValue?: V[];
805
+ items?: T[] | Promise<T[]>;
806
+ name?: string;
807
+ valueProvider?: (item: T) => V;
808
+ labelProvider?: LabelProvider<T>;
809
+ selectedLabelProvider?: LabelProvider<T[]>;
810
+ keyProvider?: KeyProvider<T>;
811
+ placeholder?: string;
812
+ tabindex?: number;
813
+ disabled?: boolean;
814
+ viewMode?: boolean;
815
+ required?: boolean;
816
+ validationMessageRequired?: string;
817
+ extraValidationRules?: FieldValidationRule<UnwrapRef<V[]>>[];
818
+ ignoreSavePoint?: boolean;
819
+ popupAlign?: "left" | "right" | "center" | "auto";
820
+ popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right";
821
+ popupMaxHeight?: string;
822
+ showPopupSearch?: boolean | "auto";
823
+ hideErrorMessage?: boolean;
824
+ showErrorMessageOnDisabled?: boolean;
825
+ } & Partial<{}>> & PublicProps;
826
+ expose(exposed: ShallowUnwrapRef< {}>): void;
827
+ attrs: any;
828
+ slots: {};
829
+ emit: (e: "update:modelValue", value?: V[]) => void;
830
+ }>) => VNode & {
831
+ __ctx?: Awaited<typeof __VLS_setup>;
832
+ };
833
+
834
+ export declare const BSNotificationContainer: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
835
+ tooltip: CreateComponentPublicInstanceWithMixins<Readonly<{
836
+ align?: "left" | "center" | "right";
837
+ content?: string;
838
+ target?: HTMLElement;
839
+ }> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
840
+ align: "left" | "center" | "right";
841
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
842
+ P: {};
843
+ B: {};
844
+ D: {};
845
+ C: {};
846
+ M: {};
847
+ Defaults: {};
848
+ }, Readonly<{
849
+ align?: "left" | "center" | "right";
850
+ content?: string;
851
+ target?: HTMLElement;
852
+ }> & Readonly<{}>, {}, {}, {}, {}, {
853
+ align: "left" | "center" | "right";
854
+ }> | null;
855
+ }, HTMLDivElement>;
856
+
857
+ export declare const BSNumberInput: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
858
+ "update:modelValue": (value?: number | undefined) => any;
859
+ }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
860
+ "onUpdate:modelValue"?: ((value?: number | undefined) => any) | undefined;
861
+ }>, {
862
+ width: string;
863
+ tabindex: number;
864
+ format: boolean;
865
+ formatInViewMode: boolean;
866
+ formatOnBlur: boolean;
867
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
868
+ field: HTMLInputElement;
869
+ }, HTMLDivElement>;
870
+
871
+ export declare const BSPageNavigation: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
872
+ offsetChanged: (offset: number, currentPageInfo: PageInfo) => any;
873
+ }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
874
+ onOffsetChanged?: ((offset: number, currentPageInfo: PageInfo) => any) | undefined;
875
+ }>, {
876
+ totalCount: number;
877
+ offset: number;
878
+ limit: number;
879
+ visiblePageCount: number;
880
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
881
+
882
+ export declare const BSPopup: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
883
+
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<{
885
+ props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
886
+ readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
887
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & {
888
+ id?: string;
889
+ name?: string;
890
+ label?: string;
891
+ icon?: string;
892
+ modelValue?: V;
893
+ itemValue?: V;
894
+ disabled?: boolean;
895
+ viewMode?: boolean;
896
+ tabindex?: number;
897
+ } & Partial<{}>> & PublicProps;
898
+ expose(exposed: ShallowUnwrapRef< {}>): void;
899
+ attrs: any;
900
+ slots: {
901
+ default?(_: {
902
+ disabled: boolean | undefined;
903
+ }): any;
904
+ };
905
+ emit: (e: "update:modelValue", value?: V) => void;
906
+ }>) => VNode & {
907
+ __ctx?: Awaited<typeof __VLS_setup>;
908
+ };
909
+
910
+ export declare const BSRadioButtonGroup: <T, V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
911
+ props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{
912
+ readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
913
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & {
914
+ name?: string;
915
+ modelValue?: V;
916
+ items?: T[];
917
+ valueProvider?: (item: T) => V;
918
+ labelProvider?: LabelProvider<T>;
919
+ iconProvider?: IconProvider<T>;
920
+ keyProvider?: KeyProvider<T>;
921
+ enabledItemProvider?: EnabledItemProvider<T>;
922
+ tooltipProvider?: TooltipProvider<T>;
923
+ tabindex?: number;
924
+ disabled?: boolean;
925
+ viewMode?: boolean;
926
+ required?: boolean;
927
+ validationMessageRequired?: string;
928
+ extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[];
929
+ ignoreSavePoint?: boolean;
930
+ hideErrorMessage?: boolean;
931
+ showErrorMessageOnDisabled?: boolean;
932
+ } & Partial<{}>> & PublicProps;
933
+ expose(exposed: ShallowUnwrapRef< {}>): void;
934
+ attrs: any;
935
+ slots: {};
936
+ emit: (e: "update:modelValue", value?: V) => void;
937
+ }>) => VNode & {
938
+ __ctx?: Awaited<typeof __VLS_setup>;
939
+ };
940
+
941
+ export declare const BSSelect: <T, V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
942
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
943
+ readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
944
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & {
945
+ modelValue?: V;
946
+ items?: T[] | Promise<T[]>;
947
+ name?: string;
948
+ valueProvider?: (item: T) => V;
949
+ labelProvider?: LabelProvider<T>;
950
+ selectedLabelProvider?: LabelProvider<T | undefined>;
951
+ placeholder?: string;
952
+ allowNull?: boolean;
953
+ nullLabel?: string;
954
+ disabled?: boolean;
955
+ viewMode?: boolean;
956
+ tabindex?: number;
957
+ required?: boolean;
958
+ validationMessageRequired?: string;
959
+ extraValidationRules?: FieldValidationRule<UnwrapRef<V>>[];
960
+ ignoreSavePoint?: boolean;
961
+ popupAlign?: "left" | "right" | "center" | "auto";
962
+ popupDirection?: "down" | "up" | "right" | "auto-down" | "auto-right";
963
+ popupMaxHeight?: string;
964
+ showPopupSearch?: boolean | "auto";
965
+ hideErrorMessage?: boolean;
966
+ showErrorMessageOnDisabled?: boolean;
967
+ } & Partial<{}>> & PublicProps;
968
+ expose(exposed: ShallowUnwrapRef< {}>): void;
969
+ attrs: any;
970
+ slots: {};
971
+ emit: (e: "update:modelValue", value?: V) => void;
972
+ }>) => VNode & {
973
+ __ctx?: Awaited<typeof __VLS_setup>;
974
+ };
975
+
976
+ export declare const BSTextArea: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
977
+ "update:modelValue": (value: string) => any;
978
+ }, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
979
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
980
+ }>, {
981
+ width: string;
982
+ tabindex: number;
983
+ trimValue: boolean;
984
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
985
+ field: HTMLTextAreaElement;
986
+ }, HTMLDivElement>;
987
+
988
+ export declare const BSTextInput: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
989
+ "update:modelValue": (value: string) => any;
990
+ }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
991
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
992
+ }>, {
993
+ name: string;
994
+ width: string;
995
+ tabindex: number;
996
+ inputType: "text" | "password";
997
+ trimValue: boolean;
998
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
999
+ field: HTMLInputElement;
1000
+ }, HTMLDivElement>;
1001
+
1002
+ export declare const BSTooltip: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
1003
+ align: "left" | "center" | "right";
1004
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1005
+
1006
+ export declare const BSYesNoModal: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1007
+ clickNo: () => any;
1008
+ clickYes: () => any;
1009
+ }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
1010
+ onClickNo?: (() => any) | undefined;
1011
+ onClickYes?: (() => any) | undefined;
1012
+ }>, {
1013
+ yesCaption: string;
1014
+ noCaption: string;
1015
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1016
+
1017
+ export declare type CalendarComponentConfig = {
1018
+ startYear?: string;
1019
+ endYear?: string;
1020
+ };
1021
+
1022
+ export declare const cancelProvidedSavePoint: () => void;
1023
+
1024
+ export declare type ChildSavePoint = {
1025
+ set(): void;
1026
+ rollback(): void;
1027
+ isModified(): boolean;
1028
+ };
1029
+
1030
+ export declare const closeAlarm: (entryId: number | AlarmEntry) => void;
1031
+
1032
+ export declare type ComponentConfig = {
1033
+ popup?: PopupComponentConfig;
1034
+ calendar?: CalendarComponentConfig;
1035
+ };
1036
+
1037
+ export declare const componentUtil: {
1038
+ handleExternalErrorMessage(showErrorMessage: boolean, errorMessage?: string, elementId?: string): void;
1039
+ generateNextId(prefix: string): string;
1040
+ generateNextName(prefix: string): string;
1041
+ isRelativeSize(size?: string): boolean;
1042
+ delayed<T>(func: () => T, millis?: number): void;
1043
+ trimStringValue(value?: string, trim?: boolean): string | undefined;
1044
+ getPrefixSuffixList(param: string | string[] | PrefixSuffix | PrefixSuffix[] | undefined): PrefixSuffix[];
1045
+ isCursorInElement(event: MouseEvent | DragEvent, element: HTMLElement): boolean;
1046
+ };
1047
+
1048
+ export declare type ContextMenuOptions = {
1049
+ zIndex?: number;
1050
+ onHideContextMenu?: () => void;
1051
+ };
1052
+
1053
+ export declare const ContextMenuPluginKey: unique symbol;
1054
+
1055
+ export declare const createContextMenuPlugin: () => BSContextMenuPlugin;
1056
+
1057
+ export declare const createModalPlugin: () => BSModal;
1058
+
1059
+ export declare type DateResolution = 'DAY' | 'HOUR' | 'MINUTE_30' | 'MINUTE_10' | 'MINUTE' | 'SECOND';
1060
+
1061
+ /**
1062
+ * debounce 함수를 생성한다.
1063
+ *
1064
+ * ```ts
1065
+ * // 함수를 만들 때 debounce 로 감싼다.
1066
+ * const debouncedFunc = debounce(() => {
1067
+ * ...
1068
+ * }, 500)()
1069
+ *
1070
+ * // 여러 번 호출하더라도, 마지막 호출만 실행된다.
1071
+ * debouncedFunc()
1072
+ * ```
1073
+ * @param func
1074
+ * @param wait
1075
+ */
1076
+ export declare const debounce: <T>(func: (...args: any[]) => T, wait: number) => ((...args: any[]) => Promise<T>);
1077
+
1078
+ export declare const defaultKeyProvider: <T>(item: T) => string;
1079
+
1080
+ export declare const defaultLabelProvider: <T>(item: T) => string;
1081
+
1082
+ export declare type DisplayDateResolution = 'DAY' | 'MINUTE' | 'SECOND';
1083
+
1084
+ export declare const emptyKeyProvider: <T>(_item: T) => undefined;
1085
+
1086
+ export declare const emptyLabelProvider: <T>(_item: T) => undefined;
1087
+
1088
+ export declare type EnabledItemProvider<T> = (item: T) => boolean;
1089
+
1090
+ export declare const executeKeyProviderOrDefault: <T>(item: T, keyProvider: KeyProvider<T> | undefined, defaultKey: (item: T) => string) => string;
1091
+
1092
+ export declare const executeLabelProviderOrDefault: <T>(item: T, labelProvider: LabelProvider<T> | undefined, defaultLabel: (item: T) => string) => string;
1093
+
1094
+ export declare type FieldContext<T> = {
1095
+ iteration?: IterationContext<T>;
1096
+ locale?: LocaleName;
1097
+ };
1098
+
1099
+ declare type FieldValidationRule<T> = (value: T, phase: ValidationPhase, fieldContext?: FieldContext<any>) => Promise<ValidationError[] | undefined> | ValidationError[] | undefined;
1100
+
1101
+ /**
1102
+ * HTMLElement, Component(vue) 로부터 실제 HTMLElement 를 찾아온다.
1103
+ *
1104
+ * 예를 들어,
1105
+ * ```
1106
+ * const form = ref<HTMLElement>()
1107
+ * ```
1108
+ * 이렇게 선언하고 template 에서 ref 속성을 사용하면, html element 를 참조할 수 있다.
1109
+ * ```
1110
+ * <div ref="form">...</div>
1111
+ * ```
1112
+ * 그런데 이게 꼭 div 에만 적용되는 것은 아니다.
1113
+ * ```
1114
+ * <BSCardLayout ref="form">...</BSCardLayout>
1115
+ * ```
1116
+ * 이렇게 되면 form.value 는 실제로는 vue component 객체를 참조하기 때문에, `form.value.$el` 해야만 html element 를 가져올 수 있다.
1117
+ *
1118
+ * 이 함수는 이렇게 여러가지 경우에 따라 html element 를 가져오는 역할을 한다.
1119
+ * @param maybeElement
1120
+ */
1121
+ export declare const findElement: (maybeElement: Ref<HTMLElement | Component | undefined | null> | undefined) => HTMLElement | undefined;
1122
+
1123
+ /**
1124
+ * 첫 번재 focusable 한 element 를 찾는다.
1125
+ * @param element
1126
+ */
1127
+ export declare const findFirstFocusableElement: (element: HTMLElement) => HTMLElement | undefined;
1128
+
1129
+ export declare const findInputComponents: (maybeElement: Ref<HTMLElement | Component | undefined> | undefined) => HTMLElement[];
1130
+
1131
+ /**
1132
+ * 마지막 focusable 한 element 를 찾는다.
1133
+ * @param element
1134
+ */
1135
+ export declare const findLastFocusableElement: (element: HTMLElement) => HTMLElement | undefined;
1136
+
1137
+ /**
1138
+ * 첫 번째 focusable 한 element 에 focus 를 옮긴다.
1139
+ * @param element
1140
+ * @return focusable 한 element 가 없어 수행하지 못했으면 false, 그렇지 않으면 true
1141
+ */
1142
+ export declare const focusFirstElement: (element: HTMLElement) => boolean;
1143
+
1144
+ /**
1145
+ * 마지막 focusable 한 element 에 focus 를 옮긴다.
1146
+ * @param element
1147
+ * @return focusable 한 element 가 없어 수행하지 못했으면 false, 그렇지 않으면 true
1148
+ */
1149
+ export declare const focusLastElement: (element: HTMLElement) => boolean;
1150
+
1151
+ export declare const formatUtil: {
1152
+ /**
1153
+ * 개행 문자('\r', '\n')를 '<br/>' 태그로 변경한다.
1154
+ * @param str 변경할 String
1155
+ * @return 개행문자가 '<br/>'로 변경된 String
1156
+ */
1157
+ escapeNewLine(str?: string): string;
1158
+ /**
1159
+ * `str` 안의 `&<>"'` 문자를 escape 처리한다.
1160
+ * @param str 변경할 String
1161
+ */
1162
+ escapeHtml(str?: string): string;
1163
+ /**
1164
+ * String 을 개행 문자('\r', '\n') 기준으로 나눈다.
1165
+ * @param str
1166
+ * @return 개행문자로 나누어진 string 의 array
1167
+ */
1168
+ splitNewLine(str?: string): Array<string>;
1169
+ /**
1170
+ * ISO8601 형식의 string 을 주어진 format 으로 변환한다.
1171
+ * @param utcDate
1172
+ * @param format
1173
+ * @param displayTimeZone
1174
+ */
1175
+ formatDateString(utcDate?: string, format?: string | DisplayDateResolution, displayTimeZone?: TimeZone): string;
1176
+ /**
1177
+ * 숫자에 구분점을 넣는다. 소수점 이하가 있는 경우도 처리한다.
1178
+ * * 12345 -> '12,345'
1179
+ * * 12345.12345 -> '12,345.12345'
1180
+ * * 0 -> '0'
1181
+ * * undefined -> null
1182
+ * * null -> null
1183
+ *
1184
+ * @param value
1185
+ * @return
1186
+ */
1187
+ formatNumber(value?: number | string | null): string | null;
1188
+ formatNumberByCode(value?: number | string | null, locale?: string | "ko-KR"): string | null;
1189
+ /**
1190
+ * 통화단위와 표시위치를 받아 출력한다
1191
+ * @param value 값
1192
+ * @param currencyUnit 통화단위
1193
+ * @param prefix true 이면 withUnit을 앞에 붙이고, false 이면 뒤에 붙인다.
1194
+ */
1195
+ formatPrice(value?: number | string | null, currencyUnit?: string | "", prefix?: boolean): string | null;
1196
+ /**
1197
+ * rate 를 받아 percent 를 출력한다.
1198
+ * * 0.1 -> 10%
1199
+ * * 0.55 -> 55%
1200
+ * * 0.551 -> 55.1%
1201
+ * @param value 비율 값
1202
+ * @param withUnit true 이면 % 를 붙이고, false 이면 붙이지 않는다.
1203
+ * @param decimalPlace 소숫점 n번째에서 반올림한다.
1204
+ */
1205
+ formatPercent(value?: number | string | null, withUnit?: boolean, decimalPlace?: number): string | null;
1206
+ /**
1207
+ * 신용카드번호를 4자리 단위로 나누어 구분자를 넣는다.
1208
+ * @param value
1209
+ * @param separator 구분자
1210
+ */
1211
+ formatCreditCardNo(value: string, separator?: string): string | undefined;
1212
+ /**
1213
+ * `HTML`태그가 포함된 문자열에서 text 만 남긴다.
1214
+ * @param textIncludedHTMLElement HTML 태그를 포함하는 문자열
1215
+ * @return HTML 태그가 제거된 문자열
1216
+ */
1217
+ toPlainText(textIncludedHTMLElement?: string): string;
1218
+ };
1219
+
1220
+ export declare type FunctionProperties<T> = Pick<T, FunctionPropertyNames<T>>;
1221
+
1222
+ export declare type FunctionPropertyNames<T> = {
1223
+ [K in keyof T]: T[K] extends Function ? K : never;
1224
+ }[keyof T];
1225
+
1226
+ /**
1227
+ * Vue Component 로부터 root element 를 가져온다.
1228
+ * @param component
1229
+ */
1230
+ export declare const getComponentRootElement: (component: Component) => HTMLElement | undefined;
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
+
1239
+ /**
1240
+ * `element` 가 parent 로부터 몇 번째 child 인지 리턴한다.
1241
+ * parent 가 없으면 -1 을 리턴한다.
1242
+ * @param element
1243
+ */
1244
+ export declare const getSelfIndex: (element: HTMLElement) => number;
1245
+
1246
+ export declare const hideLoading: () => void;
1247
+
1248
+ export declare const hideTooltip: () => void;
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
+
1252
+ export declare type IconProvider<T> = (item: T) => string | undefined;
1253
+
1254
+ export declare class IllegalAccessError {
1255
+ }
1256
+
1257
+ export declare const isTooltipDisplayed: () => boolean;
1258
+
1259
+ export declare type IterationContext<T> = {
1260
+ componentName: string;
1261
+ record: T;
1262
+ recordKey?: string;
1263
+ recordIndex?: number;
1264
+ data: T[];
1265
+ };
1266
+
1267
+ export declare type KeyProvider<T> = (item: T) => string | undefined;
1268
+
1269
+ export declare type LabelProvider<T> = (item: T) => string | undefined;
1270
+
1271
+ export declare type LocaleName = string;
1272
+
1273
+ export declare type MenuItem = {
1274
+ type?: 'menu' | 'link' | 'route' | 'separator' | 'custom';
1275
+ menuId?: string;
1276
+ caption?: string;
1277
+ component?: Component;
1278
+ disabled?: boolean;
1279
+ handler?: () => void;
1280
+ href?: string;
1281
+ target?: string;
1282
+ children?: MenuItem[];
1283
+ };
1284
+
1285
+ export declare type MenuPosition = {
1286
+ x: number;
1287
+ y: number;
1288
+ };
1289
+
1290
+ export declare interface ModalHandle {
1291
+ maximized: boolean;
1292
+ close(): void;
1293
+ setDefaultStyle(modalStyle: ModalStyle): void;
1294
+ setDefaultPosition(modalPosition: ModalPosition): void;
1295
+ setDefaultStyleListener(listener?: ModalStyleChangeListener): void;
1296
+ setDefaultPositionListener(listener?: ModalPositionChangeListener): void;
1297
+ }
1298
+
1299
+ export declare const modalHandleKey = "BlueseaModalHandle";
1300
+
1301
+ export declare type ModalItem = {
1302
+ component: Component;
1303
+ pageId?: string;
1304
+ style?: ModalStyle;
1305
+ position?: ModalPosition;
1306
+ bind?: {
1307
+ [key: string]: any;
1308
+ };
1309
+ on?: {
1310
+ [key: string]: Function | Function[];
1311
+ };
1312
+ slots?: {
1313
+ [key: string]: string | {
1314
+ component: string | Component;
1315
+ bind?: {
1316
+ [key: string]: any;
1317
+ };
1318
+ on?: {
1319
+ [key: string]: Function | Function[];
1320
+ };
1321
+ };
1322
+ };
1323
+ };
1324
+
1325
+ export declare const modalPluginKey = "BlueseaModalPlugin";
1326
+
1327
+ export declare type ModalPosition = {
1328
+ vertical?: 'top' | 'middle' | 'bottom';
1329
+ horizontal?: 'left' | 'center' | 'right';
1330
+ offsetX?: number;
1331
+ offsetY?: number;
1332
+ };
1333
+
1334
+ export declare type ModalPositionChangeListener = (modalPosition: ModalPosition) => void;
1335
+
1336
+ export declare type ModalStyle = {
1337
+ width?: string;
1338
+ height?: string;
1339
+ minWidth?: string;
1340
+ maxWidth?: string;
1341
+ minHeight?: string;
1342
+ maxHeight?: string;
1343
+ resizable?: boolean;
1344
+ styleClass?: string;
1345
+ escToClose?: boolean;
1346
+ };
1347
+
1348
+ export declare type ModalStyleChangeListener = (modalStyle: ModalStyle) => void;
1349
+
1350
+ export declare type MousePosition = {
1351
+ clientX: number;
1352
+ clientY: number;
1353
+ };
1354
+
1355
+ export declare const NAMED_COLORS: Record<string, string>;
1356
+
1357
+ export declare type NonFunctionProperties<T> = Pick<T, NonFunctionPropertyNames<T>>;
1358
+
1359
+ export declare type NonFunctionPropertyNames<T> = {
1360
+ [K in keyof T]: T[K] extends Function ? never : K;
1361
+ }[keyof T];
1362
+
1363
+ export declare const notificationEntries: Reactive<NotificationEntry[]>;
1364
+
1365
+ export declare type NotificationEntry = {
1366
+ entryId: number;
1367
+ message: string;
1368
+ style: NotificationStyle;
1369
+ duration: number;
1370
+ };
1371
+
1372
+ export declare type NotificationStyle = 'error' | 'info';
1373
+
1374
+ /**
1375
+ * Array 의 filter 로 null/undefined 가 아닌 것을 걸러낼 때 사용한다.
1376
+ * ```ts
1377
+ * const array: (string | null)[] = ['test', null, 'sample', undefined]
1378
+ * const filtered: string[] = array.filter(notNull)
1379
+ * ```
1380
+ */
1381
+ export declare function notNull<T>(value: T | null | undefined): value is T;
1382
+
1383
+ export declare type PageInfo = {
1384
+ offset?: number;
1385
+ limit?: number;
1386
+ totalCount?: number;
1387
+ };
1388
+
1389
+ export declare type PartialNonFunctionProperties<T> = Partial<NonFunctionProperties<T>>;
1390
+
1391
+ export declare type PopupComponentConfig = {
1392
+ container?: string | HTMLElement;
1393
+ hideOnScroll?: boolean;
1394
+ };
1395
+
1396
+ /**
1397
+ * BSTextInput 등의 prefix, suffix 타입
1398
+ */
1399
+ export declare type PrefixSuffix = {
1400
+ type: 'text' | 'icon' | 'image-url';
1401
+ value: string;
1402
+ };
1403
+
1404
+ export declare const provideFieldContext: <T>(fieldContext: FieldContext<T>) => void;
1405
+
1406
+ export declare const provideModalHandle: (modalHandle: ModalHandle) => void;
1407
+
1408
+ export declare const provideSavePoint: () => SavePoint;
1409
+
1410
+ export declare type RawData<T> = PartialNonFunctionProperties<T>;
1411
+
1412
+ export declare type RegisteredModalItem = ModalItem & {
1413
+ modalId: string;
1414
+ modalHandle: ModalHandle;
1415
+ escToClose?: boolean;
1416
+ };
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
+
1431
+ export declare interface SavePoint {
1432
+ registerField<T>(option: SavePointHandlerRegisterOption<T>): SavePointHandler<T>;
1433
+ unregisterField(field: Ref<HTMLElement | undefined>): void;
1434
+ addChild(child: ChildSavePoint): void;
1435
+ removeChild(child: ChildSavePoint): void;
1436
+ set(): void;
1437
+ setNextTick(): Promise<void>;
1438
+ rollback(): void;
1439
+ isModified(): boolean;
1440
+ }
1441
+
1442
+ export declare interface SavePointHandler<T> {
1443
+ saveValue(): void;
1444
+ getSavedValue(): T | undefined;
1445
+ rollbackValue(): void;
1446
+ isModified(currentValue: T): boolean;
1447
+ isFieldModified(): boolean;
1448
+ }
1449
+
1450
+ export declare type SavePointHandlerRegisterOption<T> = {
1451
+ field: Ref<HTMLElement | undefined>;
1452
+ } & SavePointValueProvider<T>;
1453
+
1454
+ export declare class SavePointImpl implements SavePoint {
1455
+ private fields;
1456
+ private children?;
1457
+ registerField<T>(option: SavePointHandlerRegisterOption<T>): SavePointHandler<T>;
1458
+ unregisterField(field: Ref<HTMLElement | undefined>): void;
1459
+ addChild(child: ChildSavePoint): void;
1460
+ removeChild(child: ChildSavePoint): void;
1461
+ set(): void;
1462
+ setNextTick(): Promise<void>;
1463
+ rollback(): void;
1464
+ isModified(): boolean;
1465
+ }
1466
+
1467
+ export declare type SavePointValueProvider<T> = {
1468
+ getCurrentValue: () => T;
1469
+ setCurrentValue: (value: T) => void;
1470
+ compare?: (savedValue: T, currentValue: T) => boolean;
1471
+ };
1472
+
1473
+ export declare const showAlarm: (component: Component, durationInMilliSeconds?: number) => void;
1474
+
1475
+ export declare const showLoading: () => void;
1476
+
1477
+ export declare const showLoadingIcon: Ref<boolean, boolean>;
1478
+
1479
+ export declare const showNotification: (message: string, style?: NotificationStyle, durationInMilliSeconds?: number) => void;
1480
+
1481
+ export declare const showTooltip: (content: string, target: HTMLElement) => void;
1482
+
1483
+ export declare type StoredFile = {
1484
+ fileUrl?: string;
1485
+ mediaType?: 'Image' | 'Video' | 'Youtube' | 'Unknown';
1486
+ thumbnailUrl?: string;
1487
+ altText?: string;
1488
+ width?: number;
1489
+ height?: number;
1490
+ imageNo?: number;
1491
+ file?: File;
1492
+ thumbnailFile?: File;
1493
+ };
1494
+
1495
+ export declare type TimeZone = string;
1496
+
1497
+ export declare type TooltipEntry = {
1498
+ content: string;
1499
+ target: HTMLElement;
1500
+ cursorInTooltip: boolean;
1501
+ };
1502
+
1503
+ export declare const tooltipEntry: Ref<TooltipEntry | undefined, TooltipEntry | undefined>;
1504
+
1505
+ export declare type TooltipProvider<T> = (item: T) => string | undefined;
1506
+
1507
+ export declare const tryUntil: (until: () => boolean | undefined, tryCall: () => void, intervalMilliseconds?: number, maxTrial?: number) => void;
1508
+
1509
+ /**
1510
+ * App 에 provide 된 BlueseaConfig 를 리턴한다.
1511
+ * @returns BlueseaConfig
1512
+ */
1513
+ export declare const useBlueseaConfig: () => BlueseaConfig;
1514
+
1515
+ export declare const useContextMenu: () => BSContextMenuPlugin;
1516
+
1517
+ export declare const useContextMenuOptional: () => BSContextMenuPlugin | undefined;
1518
+
1519
+ export declare const useFieldContext: () => FieldContext<any> | undefined;
1520
+
1521
+ export declare const useModal: () => BSModal;
1522
+
1523
+ export declare const useModalHandle: () => ModalHandle;
1524
+
1525
+ export declare const useSavePoint: () => SavePoint | undefined;
1526
+
1527
+ declare type ValidationError = {
1528
+ code: string;
1529
+ message: string | undefined;
1530
+ };
1531
+
1532
+ declare type ValidationPhase = 'input' | 'change' | 'blur' | 'form';
1533
+
1534
+ /**
1535
+ * ```
1536
+ * v-click-outside="() => someFunction()"
1537
+ * v-click-outside="{enabled: true, handler: () => someFunction()}"
1538
+ * ```
1539
+ */
1540
+ export declare const vClickOutside: ObjectDirective;
1541
+
1542
+ /**
1543
+ * element 아래에서 tab 을 계속 누를 때, focus 가 외부로 이동하지 않고 이 element 안에 머물러 있도록 만든다.
1544
+ * 즉, element 자식들 중 첫 번째 focusable 한 element 에서 shift-tab 누르면, 마지막 focusable 한 element 로 이동하고,
1545
+ * 마지막 focusable 한 element 에서 tab 누르면 첫 번째 focusable 한 element 로 이동한다.
1546
+ */
1547
+ export declare const vFocusLoop: {
1548
+ mounted: (el: Element, _binding: DirectiveBinding) => Promise<void>;
1549
+ };
1550
+
1551
+ export declare const vFocusOnLoad: ObjectDirective;
1552
+
1553
+ export declare const vTooltip: ObjectDirective;
1554
+
1555
+ /**
1556
+ * 일정 시간동안 기다린다.
1557
+ * @param milliSec 기다리는 시간
1558
+ */
1559
+ export declare const waitDuring: (milliSec?: number) => Promise<void>;
1560
+
1561
+ /**
1562
+ * 특정 조건이 완료될 때까지 여러 번 계속 시도한다.
1563
+ * @param condition 조건
1564
+ * @param intervalMilliseconds 시도 간격
1565
+ * @param maxTrial 최대 시도 수
1566
+ */
1567
+ export declare const waitUntil: (condition: () => boolean, intervalMilliseconds?: number, maxTrial?: number) => Promise<void>;
1568
+
1569
+ export declare const withLoading: <T>(func: () => Promise<T>) => Promise<T>;
1570
+
1571
+ export { }