@namba_one/ui-kit-2 1.0.249 → 1.0.251

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
@@ -426,10 +426,16 @@ onClick?: (() => any) | undefined;
426
426
  triggerElementRef: HTMLDivElement;
427
427
  }, HTMLDivElement>;
428
428
 
429
- declare const __VLS_component_38: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
429
+ declare const __VLS_component_38: DefineComponent<TableSimpleCopyCellProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TableSimpleCopyCellProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
430
+
431
+ declare const __VLS_component_39: DefineComponent<TableSimpleActionsCellProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TableSimpleActionsCellProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
432
+ triggerElementRef: HTMLDivElement;
433
+ }, HTMLDivElement>;
430
434
 
431
435
  declare const __VLS_component_4: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
432
436
 
437
+ declare const __VLS_component_40: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
438
+
433
439
  declare const __VLS_component_5: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
434
440
  click: (e: Event) => any;
435
441
  }, string, PublicProps, Readonly<ButtonProps> & Readonly<{
@@ -568,6 +574,8 @@ declare type __VLS_Props_32 = FilterGroup_DateProps;
568
574
 
569
575
  declare type __VLS_Props_33 = FilterGroup_SingleSelectProps;
570
576
 
577
+ declare type __VLS_Props_34 = FilterGroup_ColumnSettingsProps;
578
+
571
579
  declare type __VLS_Props_4 = DropzoneProps;
572
580
 
573
581
  declare type __VLS_Props_5 = InputProps;
@@ -669,6 +677,10 @@ declare type __VLS_PublicProps_28 = {
669
677
  'value': FilterGroup_SingleSelectValue;
670
678
  } & __VLS_Props_33;
671
679
 
680
+ declare type __VLS_PublicProps_29 = {
681
+ 'value': FilterGroup_ColumnSettingsValue;
682
+ } & __VLS_Props_34;
683
+
672
684
  declare type __VLS_PublicProps_3 = {
673
685
  'value': DropzoneProps['value'];
674
686
  'isError'?: DropzoneProps['isError'];
@@ -1270,11 +1282,20 @@ declare function __VLS_template_37(): {
1270
1282
  };
1271
1283
 
1272
1284
  declare function __VLS_template_38(): {
1285
+ attrs: Partial<{}>;
1286
+ slots: Readonly<Record<string, any>> & Record<string, any>;
1287
+ refs: {};
1288
+ rootEl: HTMLDivElement;
1289
+ };
1290
+
1291
+ declare function __VLS_template_39(): {
1273
1292
  attrs: Partial<{}>;
1274
1293
  slots: {
1275
1294
  default?(_: {}): any;
1276
1295
  };
1277
- refs: {};
1296
+ refs: {
1297
+ triggerElementRef: HTMLDivElement;
1298
+ };
1278
1299
  rootEl: HTMLDivElement;
1279
1300
  };
1280
1301
 
@@ -1287,6 +1308,15 @@ declare function __VLS_template_4(): {
1287
1308
  rootEl: HTMLDivElement;
1288
1309
  };
1289
1310
 
1311
+ declare function __VLS_template_40(): {
1312
+ attrs: Partial<{}>;
1313
+ slots: {
1314
+ default?(_: {}): any;
1315
+ };
1316
+ refs: {};
1317
+ rootEl: HTMLDivElement;
1318
+ };
1319
+
1290
1320
  declare function __VLS_template_5(): {
1291
1321
  attrs: Partial<{}>;
1292
1322
  slots: {
@@ -1398,8 +1428,12 @@ declare type __VLS_TemplateResult_37 = ReturnType<typeof __VLS_template_37>;
1398
1428
 
1399
1429
  declare type __VLS_TemplateResult_38 = ReturnType<typeof __VLS_template_38>;
1400
1430
 
1431
+ declare type __VLS_TemplateResult_39 = ReturnType<typeof __VLS_template_39>;
1432
+
1401
1433
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1402
1434
 
1435
+ declare type __VLS_TemplateResult_40 = ReturnType<typeof __VLS_template_40>;
1436
+
1403
1437
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
1404
1438
 
1405
1439
  declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
@@ -1602,12 +1636,24 @@ declare type __VLS_WithTemplateSlots_38<T, S> = T & {
1602
1636
  };
1603
1637
  };
1604
1638
 
1639
+ declare type __VLS_WithTemplateSlots_39<T, S> = T & {
1640
+ new (): {
1641
+ $slots: S;
1642
+ };
1643
+ };
1644
+
1605
1645
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1606
1646
  new (): {
1607
1647
  $slots: S;
1608
1648
  };
1609
1649
  };
1610
1650
 
1651
+ declare type __VLS_WithTemplateSlots_40<T, S> = T & {
1652
+ new (): {
1653
+ $slots: S;
1654
+ };
1655
+ };
1656
+
1611
1657
  declare type __VLS_WithTemplateSlots_5<T, S> = T & {
1612
1658
  new (): {
1613
1659
  $slots: S;
@@ -2363,7 +2409,7 @@ declare type FieldBaseProps = {
2363
2409
 
2364
2410
  export declare type Filter = CheckboxGroupFilterType | DatepickerFilterType;
2365
2411
 
2366
- export declare const FilterGroup: __VLS_WithTemplateSlots_38<typeof __VLS_component_38, __VLS_TemplateResult_38["slots"]>;
2412
+ export declare const FilterGroup: __VLS_WithTemplateSlots_40<typeof __VLS_component_40, __VLS_TemplateResult_40["slots"]>;
2367
2413
 
2368
2414
  export declare const FilterGroup_Amount: DefineComponent<__VLS_PublicProps_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2369
2415
  "update:value": (value: FilterGroup_AmountValue) => any;
@@ -2401,6 +2447,149 @@ export declare type FilterGroup_CheckboxListProps = {
2401
2447
  withHeader?: boolean;
2402
2448
  };
2403
2449
 
2450
+ export declare const FilterGroup_ColumnSettings: DefineComponent<__VLS_PublicProps_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2451
+ "update:value": (value: FilterGroup_ColumnSettingsValue) => any;
2452
+ }, string, PublicProps, Readonly<__VLS_PublicProps_29> & Readonly<{
2453
+ "onUpdate:value"?: ((value: FilterGroup_ColumnSettingsValue) => any) | undefined;
2454
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2455
+ filterGroupColumnSettingsRef: ({
2456
+ $: ComponentInternalInstance;
2457
+ $data: {};
2458
+ $props: {
2459
+ readonly hasCloseButton?: boolean | undefined;
2460
+ readonly onClose?: (() => any) | undefined;
2461
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2462
+ $attrs: {
2463
+ [x: string]: unknown;
2464
+ };
2465
+ $refs: {
2466
+ [x: string]: unknown;
2467
+ } & {
2468
+ visibleArea: ({
2469
+ $: ComponentInternalInstance;
2470
+ $data: {};
2471
+ $props: {
2472
+ readonly isShowOverlay?: boolean | undefined;
2473
+ readonly onClose?: (() => any) | undefined;
2474
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2475
+ $attrs: {
2476
+ [x: string]: unknown;
2477
+ };
2478
+ $refs: {
2479
+ [x: string]: unknown;
2480
+ };
2481
+ $slots: Readonly<{
2482
+ [name: string]: Slot<any> | undefined;
2483
+ }>;
2484
+ $root: ComponentPublicInstance | null;
2485
+ $parent: ComponentPublicInstance | null;
2486
+ $host: Element | null;
2487
+ $emit: (event: "close") => void;
2488
+ $el: any;
2489
+ $options: ComponentOptionsBase<Readonly<DynamicVisibleAreaProps> & Readonly<{
2490
+ onClose?: (() => any) | undefined;
2491
+ }>, {
2492
+ close: () => void;
2493
+ toggle: () => void;
2494
+ open: () => void;
2495
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2496
+ close: () => any;
2497
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
2498
+ beforeCreate?: (() => void) | (() => void)[];
2499
+ created?: (() => void) | (() => void)[];
2500
+ beforeMount?: (() => void) | (() => void)[];
2501
+ mounted?: (() => void) | (() => void)[];
2502
+ beforeUpdate?: (() => void) | (() => void)[];
2503
+ updated?: (() => void) | (() => void)[];
2504
+ activated?: (() => void) | (() => void)[];
2505
+ deactivated?: (() => void) | (() => void)[];
2506
+ beforeDestroy?: (() => void) | (() => void)[];
2507
+ beforeUnmount?: (() => void) | (() => void)[];
2508
+ destroyed?: (() => void) | (() => void)[];
2509
+ unmounted?: (() => void) | (() => void)[];
2510
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2511
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2512
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
2513
+ };
2514
+ $forceUpdate: () => void;
2515
+ $nextTick: nextTick;
2516
+ $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;
2517
+ } & Readonly<{}> & Omit<Readonly<DynamicVisibleAreaProps> & Readonly<{
2518
+ onClose?: (() => any) | undefined;
2519
+ }>, "close" | "toggle" | "open"> & ShallowUnwrapRef< {
2520
+ close: () => void;
2521
+ toggle: () => void;
2522
+ open: () => void;
2523
+ }> & {} & ComponentCustomProperties & {} & {
2524
+ $slots: {
2525
+ default?(_: {}): any;
2526
+ };
2527
+ }) | null;
2528
+ };
2529
+ $slots: Readonly<{
2530
+ [name: string]: Slot<any> | undefined;
2531
+ }>;
2532
+ $root: ComponentPublicInstance | null;
2533
+ $parent: ComponentPublicInstance | null;
2534
+ $host: Element | null;
2535
+ $emit: (event: "close") => void;
2536
+ $el: any;
2537
+ $options: ComponentOptionsBase<Readonly<{
2538
+ hasCloseButton?: boolean;
2539
+ }> & Readonly<{
2540
+ onClose?: (() => any) | undefined;
2541
+ }>, {
2542
+ open: () => void | undefined;
2543
+ close: () => void;
2544
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2545
+ close: () => any;
2546
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
2547
+ beforeCreate?: (() => void) | (() => void)[];
2548
+ created?: (() => void) | (() => void)[];
2549
+ beforeMount?: (() => void) | (() => void)[];
2550
+ mounted?: (() => void) | (() => void)[];
2551
+ beforeUpdate?: (() => void) | (() => void)[];
2552
+ updated?: (() => void) | (() => void)[];
2553
+ activated?: (() => void) | (() => void)[];
2554
+ deactivated?: (() => void) | (() => void)[];
2555
+ beforeDestroy?: (() => void) | (() => void)[];
2556
+ beforeUnmount?: (() => void) | (() => void)[];
2557
+ destroyed?: (() => void) | (() => void)[];
2558
+ unmounted?: (() => void) | (() => void)[];
2559
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2560
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2561
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
2562
+ };
2563
+ $forceUpdate: () => void;
2564
+ $nextTick: nextTick;
2565
+ $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;
2566
+ } & Readonly<{}> & Omit<Readonly<{
2567
+ hasCloseButton?: boolean;
2568
+ }> & Readonly<{
2569
+ onClose?: (() => any) | undefined;
2570
+ }>, "close" | "open"> & ShallowUnwrapRef< {
2571
+ open: () => void | undefined;
2572
+ close: () => void;
2573
+ }> & {} & ComponentCustomProperties & {} & {
2574
+ $slots: {
2575
+ default?(_: {}): any;
2576
+ };
2577
+ }) | null;
2578
+ }, HTMLDivElement>;
2579
+
2580
+ export declare type FilterGroup_ColumnSettingsProps = {
2581
+ title?: string;
2582
+ description?: string;
2583
+ saveAction: (v: FilterGroup_ColumnSettingsValue) => Promise<void>;
2584
+ };
2585
+
2586
+ export declare type FilterGroup_ColumnSettingsValue = {
2587
+ id: string | number;
2588
+ title: string;
2589
+ isVisible: boolean;
2590
+ isLocked: boolean;
2591
+ }[];
2592
+
2404
2593
  export declare const FilterGroup_Date: DefineComponent<__VLS_PublicProps_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2405
2594
  "update:value": (value: FilterGroup_DateValue) => any;
2406
2595
  }, string, PublicProps, Readonly<__VLS_PublicProps_27> & Readonly<{
@@ -3484,6 +3673,7 @@ export declare const TableSimple: <T>(__VLS_props: NonNullable<Awaited<typeof __
3484
3673
  }): any;
3485
3674
  renderCell(props: {
3486
3675
  item: T;
3676
+ hoveredItem: T | null;
3487
3677
  columnKey: keyof T | string;
3488
3678
  }): any;
3489
3679
  }> & {
@@ -3492,6 +3682,7 @@ export declare const TableSimple: <T>(__VLS_props: NonNullable<Awaited<typeof __
3492
3682
  }): any;
3493
3683
  renderCell(props: {
3494
3684
  item: T;
3685
+ hoveredItem: T | null;
3495
3686
  columnKey: keyof T | string;
3496
3687
  }): any;
3497
3688
  };
@@ -3512,6 +3703,40 @@ export declare type TableSimpleActionProps = {
3512
3703
  icon: IconName;
3513
3704
  };
3514
3705
 
3706
+ export declare const TableSimpleActionsCell: __VLS_WithTemplateSlots_39<typeof __VLS_component_39, __VLS_TemplateResult_39["slots"]>;
3707
+
3708
+ export declare const TableSimpleActionsCell_Item: DefineComponent<TableSimpleActionsCell_ItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3709
+ click: (value: Event) => any;
3710
+ }, string, PublicProps, Readonly<TableSimpleActionsCell_ItemProps> & Readonly<{
3711
+ onClick?: ((value: Event) => any) | undefined;
3712
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
3713
+
3714
+ export declare type TableSimpleActionsCell_ItemEmits = {
3715
+ (e: 'click', value: Event): void;
3716
+ };
3717
+
3718
+ export declare type TableSimpleActionsCell_ItemProps = {
3719
+ icon: IconName;
3720
+ title: string;
3721
+ };
3722
+
3723
+ declare type TableSimpleActionsCellProps = {
3724
+ icon?: IconName;
3725
+ minWidth?: number;
3726
+ horizontalAlign?: DropdownElementProps['horizontalAlign'];
3727
+ verticalAlign?: DropdownElementProps['verticalAlign'];
3728
+ verticalOffset?: DropdownElementProps['verticalOffset'];
3729
+ horizontalOffset?: DropdownElementProps['horizontalOffset'];
3730
+ };
3731
+
3732
+ export declare const TableSimpleCopyCell: __VLS_WithTemplateSlots_38<typeof __VLS_component_38, __VLS_TemplateResult_38["slots"]>;
3733
+
3734
+ declare type TableSimpleCopyCellProps = {
3735
+ isHovered: boolean;
3736
+ toasterText: string;
3737
+ textForCopy: string;
3738
+ };
3739
+
3515
3740
  export declare type TableSimpleEmits<T> = {
3516
3741
  (e: 'click', value: T): void;
3517
3742
  (e: 'reset'): void;