prlg-ui 1.8.401 → 1.8.402
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/prlg-ui.css +1 -1
- package/dist/reka-ui/index.cjs.js +5 -5
- package/dist/reka-ui/index.es.js +3478 -3360
- package/dist/rekaUI.d.ts +47 -1
- package/package.json +1 -1
package/dist/rekaUI.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { AlertDialogRoot } from 'reka-ui';
|
|
|
10
10
|
import { AlertDialogTitleProps } from 'reka-ui';
|
|
11
11
|
import { AlertDialogTriggerProps } from 'reka-ui';
|
|
12
12
|
import { AllowedComponentProps } from 'vue';
|
|
13
|
+
import { App } from 'vue';
|
|
13
14
|
import { AsTag } from 'reka-ui';
|
|
14
15
|
import { CalendarCell } from 'reka-ui';
|
|
15
16
|
import { CalendarCellTriggerProps } from 'reka-ui';
|
|
@@ -117,6 +118,7 @@ import { FocusOutsideEvent } from 'reka-ui';
|
|
|
117
118
|
import { FunctionalComponent } from 'vue';
|
|
118
119
|
import { GlobalComponents } from 'vue';
|
|
119
120
|
import { GlobalDirectives } from 'vue';
|
|
121
|
+
import { InjectionKey } from 'vue';
|
|
120
122
|
import { LabelProps } from 'reka-ui';
|
|
121
123
|
import { ListboxContent } from 'reka-ui';
|
|
122
124
|
import { ListboxFilter } from 'reka-ui';
|
|
@@ -1339,7 +1341,7 @@ declare type __VLS_Props_16 = {
|
|
|
1339
1341
|
minHeight?: string;
|
|
1340
1342
|
};
|
|
1341
1343
|
|
|
1342
|
-
declare type __VLS_Props_17 =
|
|
1344
|
+
declare type __VLS_Props_17 = Props_2;
|
|
1343
1345
|
|
|
1344
1346
|
declare type __VLS_Props_18 = {
|
|
1345
1347
|
placeholder?: string;
|
|
@@ -3444,6 +3446,44 @@ export declare const ComboboxViewport: __VLS_WithTemplateSlots_25<typeof __VLS_c
|
|
|
3444
3446
|
|
|
3445
3447
|
export { ConfigType }
|
|
3446
3448
|
|
|
3449
|
+
export declare const ConfirmDialog: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3450
|
+
"update:state": (value: ConfirmOptions | null) => any;
|
|
3451
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
3452
|
+
"onUpdate:state"?: ((value: ConfirmOptions | null) => any) | undefined;
|
|
3453
|
+
}>, {
|
|
3454
|
+
state: ConfirmOptions | null;
|
|
3455
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3456
|
+
|
|
3457
|
+
export declare interface ConfirmDialogButtonProps extends Omit<IButtonProps, 'icon' | 'iconOnly'> {
|
|
3458
|
+
label?: string;
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
export declare const confirmDialogPlugin: {
|
|
3462
|
+
install(app: App): void;
|
|
3463
|
+
};
|
|
3464
|
+
|
|
3465
|
+
export declare const confirmDialogState: Ref<ConfirmOptions | null>;
|
|
3466
|
+
|
|
3467
|
+
export declare interface ConfirmOptions {
|
|
3468
|
+
title?: string;
|
|
3469
|
+
description?: string;
|
|
3470
|
+
icon?: Component;
|
|
3471
|
+
iconColor?: string;
|
|
3472
|
+
acceptProps?: ConfirmDialogButtonProps;
|
|
3473
|
+
rejectProps?: ConfirmDialogButtonProps;
|
|
3474
|
+
accept?: () => void;
|
|
3475
|
+
reject?: () => void;
|
|
3476
|
+
}
|
|
3477
|
+
|
|
3478
|
+
export declare interface ConfirmService {
|
|
3479
|
+
require: (options: ConfirmOptions) => void;
|
|
3480
|
+
close: () => void;
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
export declare const confirmService: ConfirmService;
|
|
3484
|
+
|
|
3485
|
+
export declare const ConfirmServiceKey: InjectionKey<ConfirmService>;
|
|
3486
|
+
|
|
3447
3487
|
export { createColumnHelper }
|
|
3448
3488
|
|
|
3449
3489
|
export declare const DataTable: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -4112,6 +4152,10 @@ export declare const priceFormat: (price: string | number, returnHtml?: boolean)
|
|
|
4112
4152
|
}>;
|
|
4113
4153
|
|
|
4114
4154
|
declare interface Props {
|
|
4155
|
+
state?: ConfirmOptions | null;
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4158
|
+
declare interface Props_2 {
|
|
4115
4159
|
disabled?: boolean;
|
|
4116
4160
|
hourCycle?: 12 | 24;
|
|
4117
4161
|
locale?: string;
|
|
@@ -4358,6 +4402,8 @@ export declare interface TTimeValue {
|
|
|
4358
4402
|
minute: number;
|
|
4359
4403
|
}
|
|
4360
4404
|
|
|
4405
|
+
export declare function useConfirm(): ConfirmService;
|
|
4406
|
+
|
|
4361
4407
|
export declare function useToast(): {
|
|
4362
4408
|
toasts: ComputedRef< {
|
|
4363
4409
|
variant?: ToastVariant | undefined;
|