@namba_one/ui-kit-2 1.0.244 → 1.0.246
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 +261 -0
- package/dist/index.es.js +10711 -9562
- package/dist/index.umd.js +27 -27
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -412,6 +412,22 @@ declare const __VLS_component_35: DefineComponent<__VLS_PublicProps_23, {}, {},
|
|
|
412
412
|
items: HTMLDivElement;
|
|
413
413
|
}, HTMLDivElement>;
|
|
414
414
|
|
|
415
|
+
declare const __VLS_component_36: DefineComponent<TableSimpleActionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
416
|
+
click: () => any;
|
|
417
|
+
}, string, PublicProps, Readonly<TableSimpleActionProps> & Readonly<{
|
|
418
|
+
onClick?: (() => any) | undefined;
|
|
419
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
420
|
+
|
|
421
|
+
declare const __VLS_component_37: DefineComponent<TableSimpleHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
422
|
+
click: () => any;
|
|
423
|
+
}, string, PublicProps, Readonly<TableSimpleHeaderProps> & Readonly<{
|
|
424
|
+
onClick?: (() => any) | undefined;
|
|
425
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
426
|
+
triggerElementRef: HTMLDivElement;
|
|
427
|
+
}, HTMLDivElement>;
|
|
428
|
+
|
|
429
|
+
declare const __VLS_component_38: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
430
|
+
|
|
415
431
|
declare const __VLS_component_4: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
416
432
|
|
|
417
433
|
declare const __VLS_component_5: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -465,6 +481,10 @@ declare type __VLS_PrettifyLocal<T> = {
|
|
|
465
481
|
[K in keyof T]: T[K];
|
|
466
482
|
} & {};
|
|
467
483
|
|
|
484
|
+
declare type __VLS_PrettifyLocal_2<T> = {
|
|
485
|
+
[K in keyof T]: T[K];
|
|
486
|
+
} & {};
|
|
487
|
+
|
|
468
488
|
/**
|
|
469
489
|
* @author Sokolov D <ds@burno.tech>
|
|
470
490
|
*/
|
|
@@ -536,8 +556,18 @@ declare type __VLS_Props_28 = {
|
|
|
536
556
|
size: 'body' | 'subhead';
|
|
537
557
|
};
|
|
538
558
|
|
|
559
|
+
declare type __VLS_Props_29 = FilterGroup_SortProps;
|
|
560
|
+
|
|
539
561
|
declare type __VLS_Props_3 = CardContentListProps;
|
|
540
562
|
|
|
563
|
+
declare type __VLS_Props_30 = FilterGroup_AmountProps;
|
|
564
|
+
|
|
565
|
+
declare type __VLS_Props_31 = FilterGroup_CheckboxListProps;
|
|
566
|
+
|
|
567
|
+
declare type __VLS_Props_32 = FilterGroup_DateProps;
|
|
568
|
+
|
|
569
|
+
declare type __VLS_Props_33 = FilterGroup_SingleSelectProps;
|
|
570
|
+
|
|
541
571
|
declare type __VLS_Props_4 = DropzoneProps;
|
|
542
572
|
|
|
543
573
|
declare type __VLS_Props_5 = InputProps;
|
|
@@ -619,6 +649,26 @@ declare type __VLS_PublicProps_23 = {
|
|
|
619
649
|
'active': string;
|
|
620
650
|
} & __VLS_Props_28;
|
|
621
651
|
|
|
652
|
+
declare type __VLS_PublicProps_24 = {
|
|
653
|
+
'value': FilterGroup_SortValue;
|
|
654
|
+
} & __VLS_Props_29;
|
|
655
|
+
|
|
656
|
+
declare type __VLS_PublicProps_25 = {
|
|
657
|
+
'value': FilterGroup_AmountValue;
|
|
658
|
+
} & __VLS_Props_30;
|
|
659
|
+
|
|
660
|
+
declare type __VLS_PublicProps_26 = {
|
|
661
|
+
'value': (string | number)[];
|
|
662
|
+
} & __VLS_Props_31;
|
|
663
|
+
|
|
664
|
+
declare type __VLS_PublicProps_27 = {
|
|
665
|
+
'value': FilterGroup_DateValue;
|
|
666
|
+
} & __VLS_Props_32;
|
|
667
|
+
|
|
668
|
+
declare type __VLS_PublicProps_28 = {
|
|
669
|
+
'value': FilterGroup_SingleSelectValue;
|
|
670
|
+
} & __VLS_Props_33;
|
|
671
|
+
|
|
622
672
|
declare type __VLS_PublicProps_3 = {
|
|
623
673
|
'value': DropzoneProps['value'];
|
|
624
674
|
'isError'?: DropzoneProps['isError'];
|
|
@@ -1198,6 +1248,36 @@ declare function __VLS_template_35(): {
|
|
|
1198
1248
|
rootEl: HTMLDivElement;
|
|
1199
1249
|
};
|
|
1200
1250
|
|
|
1251
|
+
declare function __VLS_template_36(): {
|
|
1252
|
+
attrs: Partial<{}>;
|
|
1253
|
+
slots: {
|
|
1254
|
+
default?(_: {}): any;
|
|
1255
|
+
};
|
|
1256
|
+
refs: {};
|
|
1257
|
+
rootEl: HTMLButtonElement;
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
declare function __VLS_template_37(): {
|
|
1261
|
+
attrs: Partial<{}>;
|
|
1262
|
+
slots: {
|
|
1263
|
+
default?(_: {}): any;
|
|
1264
|
+
actions?(_: {}): any;
|
|
1265
|
+
};
|
|
1266
|
+
refs: {
|
|
1267
|
+
triggerElementRef: HTMLDivElement;
|
|
1268
|
+
};
|
|
1269
|
+
rootEl: HTMLDivElement;
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
declare function __VLS_template_38(): {
|
|
1273
|
+
attrs: Partial<{}>;
|
|
1274
|
+
slots: {
|
|
1275
|
+
default?(_: {}): any;
|
|
1276
|
+
};
|
|
1277
|
+
refs: {};
|
|
1278
|
+
rootEl: HTMLDivElement;
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1201
1281
|
declare function __VLS_template_4(): {
|
|
1202
1282
|
attrs: Partial<{}>;
|
|
1203
1283
|
slots: {
|
|
@@ -1312,6 +1392,12 @@ declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
|
1312
1392
|
|
|
1313
1393
|
declare type __VLS_TemplateResult_35 = ReturnType<typeof __VLS_template_35>;
|
|
1314
1394
|
|
|
1395
|
+
declare type __VLS_TemplateResult_36 = ReturnType<typeof __VLS_template_36>;
|
|
1396
|
+
|
|
1397
|
+
declare type __VLS_TemplateResult_37 = ReturnType<typeof __VLS_template_37>;
|
|
1398
|
+
|
|
1399
|
+
declare type __VLS_TemplateResult_38 = ReturnType<typeof __VLS_template_38>;
|
|
1400
|
+
|
|
1315
1401
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1316
1402
|
|
|
1317
1403
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1498,6 +1584,24 @@ declare type __VLS_WithTemplateSlots_35<T, S> = T & {
|
|
|
1498
1584
|
};
|
|
1499
1585
|
};
|
|
1500
1586
|
|
|
1587
|
+
declare type __VLS_WithTemplateSlots_36<T, S> = T & {
|
|
1588
|
+
new (): {
|
|
1589
|
+
$slots: S;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
declare type __VLS_WithTemplateSlots_37<T, S> = T & {
|
|
1594
|
+
new (): {
|
|
1595
|
+
$slots: S;
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
declare type __VLS_WithTemplateSlots_38<T, S> = T & {
|
|
1600
|
+
new (): {
|
|
1601
|
+
$slots: S;
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1501
1605
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1502
1606
|
new (): {
|
|
1503
1607
|
$slots: S;
|
|
@@ -2259,6 +2363,95 @@ declare type FieldBaseProps = {
|
|
|
2259
2363
|
|
|
2260
2364
|
export declare type Filter = CheckboxGroupFilterType | DatepickerFilterType;
|
|
2261
2365
|
|
|
2366
|
+
export declare const FilterGroup: __VLS_WithTemplateSlots_38<typeof __VLS_component_38, __VLS_TemplateResult_38["slots"]>;
|
|
2367
|
+
|
|
2368
|
+
export declare const FilterGroup_Amount: DefineComponent<__VLS_PublicProps_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2369
|
+
"update:value": (value: FilterGroup_AmountValue) => any;
|
|
2370
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_25> & Readonly<{
|
|
2371
|
+
"onUpdate:value"?: ((value: FilterGroup_AmountValue) => any) | undefined;
|
|
2372
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2373
|
+
|
|
2374
|
+
export declare type FilterGroup_AmountProps = {
|
|
2375
|
+
title: string;
|
|
2376
|
+
popoverTitle: string;
|
|
2377
|
+
minWidth?: number;
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2380
|
+
export declare type FilterGroup_AmountValue = {
|
|
2381
|
+
start: string;
|
|
2382
|
+
end: string;
|
|
2383
|
+
};
|
|
2384
|
+
|
|
2385
|
+
export declare const FilterGroup_CheckboxList: DefineComponent<__VLS_PublicProps_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2386
|
+
"update:value": (value: (string | number)[]) => any;
|
|
2387
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_26> & Readonly<{
|
|
2388
|
+
"onUpdate:value"?: ((value: (string | number)[]) => any) | undefined;
|
|
2389
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2390
|
+
|
|
2391
|
+
export declare type FilterGroup_CheckboxListProps = {
|
|
2392
|
+
title: string;
|
|
2393
|
+
titleMulti: string;
|
|
2394
|
+
data: {
|
|
2395
|
+
id: string | number;
|
|
2396
|
+
title: string;
|
|
2397
|
+
description?: string;
|
|
2398
|
+
}[];
|
|
2399
|
+
selectAllButton?: string;
|
|
2400
|
+
minWidth?: number;
|
|
2401
|
+
withHeader?: boolean;
|
|
2402
|
+
};
|
|
2403
|
+
|
|
2404
|
+
export declare const FilterGroup_Date: DefineComponent<__VLS_PublicProps_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2405
|
+
"update:value": (value: FilterGroup_DateValue) => any;
|
|
2406
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_27> & Readonly<{
|
|
2407
|
+
"onUpdate:value"?: ((value: FilterGroup_DateValue) => any) | undefined;
|
|
2408
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2409
|
+
|
|
2410
|
+
export declare type FilterGroup_DateProps = {
|
|
2411
|
+
buttonTitle: string;
|
|
2412
|
+
title?: string;
|
|
2413
|
+
fromPlaceholder?: string;
|
|
2414
|
+
toPlaceholder?: string;
|
|
2415
|
+
minWidth?: number;
|
|
2416
|
+
};
|
|
2417
|
+
|
|
2418
|
+
export declare type FilterGroup_DateValue = [Maybe<Date>, Maybe<Date>];
|
|
2419
|
+
|
|
2420
|
+
export declare const FilterGroup_SingleSelect: DefineComponent<__VLS_PublicProps_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2421
|
+
"update:value": (value: FilterGroup_SingleSelectValue) => any;
|
|
2422
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_28> & Readonly<{
|
|
2423
|
+
"onUpdate:value"?: ((value: FilterGroup_SingleSelectValue) => any) | undefined;
|
|
2424
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2425
|
+
|
|
2426
|
+
export declare type FilterGroup_SingleSelectProps = {
|
|
2427
|
+
emptyLabel?: string;
|
|
2428
|
+
title: string;
|
|
2429
|
+
data: {
|
|
2430
|
+
id: string | number;
|
|
2431
|
+
text: string;
|
|
2432
|
+
}[];
|
|
2433
|
+
minWidth?: number;
|
|
2434
|
+
};
|
|
2435
|
+
|
|
2436
|
+
export declare type FilterGroup_SingleSelectValue = string | number | null | undefined;
|
|
2437
|
+
|
|
2438
|
+
export declare const FilterGroup_Sort: DefineComponent<__VLS_PublicProps_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2439
|
+
"update:value": (value: FilterGroup_SortValue) => any;
|
|
2440
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_24> & Readonly<{
|
|
2441
|
+
"onUpdate:value"?: ((value: FilterGroup_SortValue) => any) | undefined;
|
|
2442
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2443
|
+
|
|
2444
|
+
declare type FilterGroup_SortProps = {
|
|
2445
|
+
list: {
|
|
2446
|
+
label: string;
|
|
2447
|
+
value: string | number;
|
|
2448
|
+
type?: 'asc' | 'desc';
|
|
2449
|
+
}[];
|
|
2450
|
+
minWidth?: number;
|
|
2451
|
+
};
|
|
2452
|
+
|
|
2453
|
+
declare type FilterGroup_SortValue = string | number;
|
|
2454
|
+
|
|
2262
2455
|
export declare const FilterHub: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2263
2456
|
|
|
2264
2457
|
export declare type FilterHubProps = {
|
|
@@ -2968,6 +3161,7 @@ export declare type PriceProps = {
|
|
|
2968
3161
|
weight: TheTextProps['weight'];
|
|
2969
3162
|
color: Color;
|
|
2970
3163
|
isShowPlusSign?: boolean;
|
|
3164
|
+
isCrossOut?: boolean;
|
|
2971
3165
|
align?: 'left' | 'center' | 'right';
|
|
2972
3166
|
isMono?: TheTextProps['isMono'];
|
|
2973
3167
|
};
|
|
@@ -3277,6 +3471,72 @@ export declare type TableProps<T> = {
|
|
|
3277
3471
|
|
|
3278
3472
|
export declare const TableRow: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
3279
3473
|
|
|
3474
|
+
export declare const TableSimple: <T>(__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<{
|
|
3475
|
+
props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
|
|
3476
|
+
readonly onClick?: ((value: T) => any) | undefined;
|
|
3477
|
+
readonly onReset?: (() => any) | undefined;
|
|
3478
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onClick" | "onReset"> & TableSimpleProps<T> & Partial<{}>> & PublicProps;
|
|
3479
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
3480
|
+
attrs: any;
|
|
3481
|
+
slots: Readonly<{
|
|
3482
|
+
renderHeaderCell(props: {
|
|
3483
|
+
columnKey: keyof T | string;
|
|
3484
|
+
}): any;
|
|
3485
|
+
renderCell(props: {
|
|
3486
|
+
item: T;
|
|
3487
|
+
columnKey: keyof T | string;
|
|
3488
|
+
}): any;
|
|
3489
|
+
}> & {
|
|
3490
|
+
renderHeaderCell(props: {
|
|
3491
|
+
columnKey: keyof T | string;
|
|
3492
|
+
}): any;
|
|
3493
|
+
renderCell(props: {
|
|
3494
|
+
item: T;
|
|
3495
|
+
columnKey: keyof T | string;
|
|
3496
|
+
}): any;
|
|
3497
|
+
};
|
|
3498
|
+
emit: TableSimpleEmits<T>;
|
|
3499
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
3500
|
+
[key: string]: any;
|
|
3501
|
+
}> & {
|
|
3502
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
3503
|
+
};
|
|
3504
|
+
|
|
3505
|
+
export declare const TableSimpleAction: __VLS_WithTemplateSlots_36<typeof __VLS_component_36, __VLS_TemplateResult_36["slots"]>;
|
|
3506
|
+
|
|
3507
|
+
export declare type TableSimpleActionEmits = {
|
|
3508
|
+
(e: 'click'): void;
|
|
3509
|
+
};
|
|
3510
|
+
|
|
3511
|
+
export declare type TableSimpleActionProps = {
|
|
3512
|
+
icon: IconName;
|
|
3513
|
+
};
|
|
3514
|
+
|
|
3515
|
+
export declare type TableSimpleEmits<T> = {
|
|
3516
|
+
(e: 'click', value: T): void;
|
|
3517
|
+
(e: 'reset'): void;
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3520
|
+
export declare const TableSimpleHeader: __VLS_WithTemplateSlots_37<typeof __VLS_component_37, __VLS_TemplateResult_37["slots"]>;
|
|
3521
|
+
|
|
3522
|
+
export declare type TableSimpleHeaderEmits = {
|
|
3523
|
+
(e: 'click'): void;
|
|
3524
|
+
};
|
|
3525
|
+
|
|
3526
|
+
export declare type TableSimpleHeaderProps = {
|
|
3527
|
+
icon?: IconName;
|
|
3528
|
+
};
|
|
3529
|
+
|
|
3530
|
+
export declare type TableSimpleProps<T> = {
|
|
3531
|
+
data: T[];
|
|
3532
|
+
columns: string[];
|
|
3533
|
+
sizes: number[];
|
|
3534
|
+
reRenderKey?: string;
|
|
3535
|
+
scrollOffset?: number | string;
|
|
3536
|
+
errorText?: string;
|
|
3537
|
+
responseButtonText?: string;
|
|
3538
|
+
};
|
|
3539
|
+
|
|
3280
3540
|
export declare const Tabs: DefineComponent<__VLS_PublicProps_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3281
3541
|
"update:value": (value: Maybe<string | number> | undefined) => any;
|
|
3282
3542
|
}, string, PublicProps, Readonly<__VLS_PublicProps_21> & Readonly<{
|
|
@@ -3343,6 +3603,7 @@ export declare type TheTextProps = {
|
|
|
3343
3603
|
color?: Color | 'inherit';
|
|
3344
3604
|
numberOfLines?: number | string;
|
|
3345
3605
|
isMono?: boolean;
|
|
3606
|
+
isCrossOut?: boolean;
|
|
3346
3607
|
};
|
|
3347
3608
|
|
|
3348
3609
|
export declare const TheTextSkeleton: DefineComponent<TheTextSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextSkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|