@namba_one/ui-kit-2 1.0.244 → 1.0.245

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
@@ -412,6 +412,20 @@ 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
+
415
429
  declare const __VLS_component_4: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
416
430
 
417
431
  declare const __VLS_component_5: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -465,6 +479,10 @@ declare type __VLS_PrettifyLocal<T> = {
465
479
  [K in keyof T]: T[K];
466
480
  } & {};
467
481
 
482
+ declare type __VLS_PrettifyLocal_2<T> = {
483
+ [K in keyof T]: T[K];
484
+ } & {};
485
+
468
486
  /**
469
487
  * @author Sokolov D <ds@burno.tech>
470
488
  */
@@ -1198,6 +1216,27 @@ declare function __VLS_template_35(): {
1198
1216
  rootEl: HTMLDivElement;
1199
1217
  };
1200
1218
 
1219
+ declare function __VLS_template_36(): {
1220
+ attrs: Partial<{}>;
1221
+ slots: {
1222
+ default?(_: {}): any;
1223
+ };
1224
+ refs: {};
1225
+ rootEl: HTMLButtonElement;
1226
+ };
1227
+
1228
+ declare function __VLS_template_37(): {
1229
+ attrs: Partial<{}>;
1230
+ slots: {
1231
+ default?(_: {}): any;
1232
+ actions?(_: {}): any;
1233
+ };
1234
+ refs: {
1235
+ triggerElementRef: HTMLDivElement;
1236
+ };
1237
+ rootEl: HTMLDivElement;
1238
+ };
1239
+
1201
1240
  declare function __VLS_template_4(): {
1202
1241
  attrs: Partial<{}>;
1203
1242
  slots: {
@@ -1312,6 +1351,10 @@ declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
1312
1351
 
1313
1352
  declare type __VLS_TemplateResult_35 = ReturnType<typeof __VLS_template_35>;
1314
1353
 
1354
+ declare type __VLS_TemplateResult_36 = ReturnType<typeof __VLS_template_36>;
1355
+
1356
+ declare type __VLS_TemplateResult_37 = ReturnType<typeof __VLS_template_37>;
1357
+
1315
1358
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1316
1359
 
1317
1360
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
@@ -1498,6 +1541,18 @@ declare type __VLS_WithTemplateSlots_35<T, S> = T & {
1498
1541
  };
1499
1542
  };
1500
1543
 
1544
+ declare type __VLS_WithTemplateSlots_36<T, S> = T & {
1545
+ new (): {
1546
+ $slots: S;
1547
+ };
1548
+ };
1549
+
1550
+ declare type __VLS_WithTemplateSlots_37<T, S> = T & {
1551
+ new (): {
1552
+ $slots: S;
1553
+ };
1554
+ };
1555
+
1501
1556
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1502
1557
  new (): {
1503
1558
  $slots: S;
@@ -2968,6 +3023,7 @@ export declare type PriceProps = {
2968
3023
  weight: TheTextProps['weight'];
2969
3024
  color: Color;
2970
3025
  isShowPlusSign?: boolean;
3026
+ isCrossOut?: boolean;
2971
3027
  align?: 'left' | 'center' | 'right';
2972
3028
  isMono?: TheTextProps['isMono'];
2973
3029
  };
@@ -3277,6 +3333,72 @@ export declare type TableProps<T> = {
3277
3333
 
3278
3334
  export declare const TableRow: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
3279
3335
 
3336
+ 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<{
3337
+ props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
3338
+ readonly onClick?: ((value: T) => any) | undefined;
3339
+ readonly onReset?: (() => any) | undefined;
3340
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onClick" | "onReset"> & TableSimpleProps<T> & Partial<{}>> & PublicProps;
3341
+ expose(exposed: ShallowUnwrapRef< {}>): void;
3342
+ attrs: any;
3343
+ slots: Readonly<{
3344
+ renderHeaderCell(props: {
3345
+ columnKey: keyof T | string;
3346
+ }): any;
3347
+ renderCell(props: {
3348
+ item: T;
3349
+ columnKey: keyof T | string;
3350
+ }): any;
3351
+ }> & {
3352
+ renderHeaderCell(props: {
3353
+ columnKey: keyof T | string;
3354
+ }): any;
3355
+ renderCell(props: {
3356
+ item: T;
3357
+ columnKey: keyof T | string;
3358
+ }): any;
3359
+ };
3360
+ emit: TableSimpleEmits<T>;
3361
+ }>) => VNode<RendererNode, RendererElement, {
3362
+ [key: string]: any;
3363
+ }> & {
3364
+ __ctx?: Awaited<typeof __VLS_setup>;
3365
+ };
3366
+
3367
+ export declare const TableSimpleAction: __VLS_WithTemplateSlots_36<typeof __VLS_component_36, __VLS_TemplateResult_36["slots"]>;
3368
+
3369
+ export declare type TableSimpleActionEmits = {
3370
+ (e: 'click'): void;
3371
+ };
3372
+
3373
+ export declare type TableSimpleActionProps = {
3374
+ icon: IconName;
3375
+ };
3376
+
3377
+ export declare type TableSimpleEmits<T> = {
3378
+ (e: 'click', value: T): void;
3379
+ (e: 'reset'): void;
3380
+ };
3381
+
3382
+ export declare const TableSimpleHeader: __VLS_WithTemplateSlots_37<typeof __VLS_component_37, __VLS_TemplateResult_37["slots"]>;
3383
+
3384
+ export declare type TableSimpleHeaderEmits = {
3385
+ (e: 'click'): void;
3386
+ };
3387
+
3388
+ export declare type TableSimpleHeaderProps = {
3389
+ icon?: IconName;
3390
+ };
3391
+
3392
+ export declare type TableSimpleProps<T> = {
3393
+ data: T[];
3394
+ columns: string[];
3395
+ sizes: number[];
3396
+ reRenderKey?: string;
3397
+ scrollOffset?: number | string;
3398
+ errorText?: string;
3399
+ responseButtonText?: string;
3400
+ };
3401
+
3280
3402
  export declare const Tabs: DefineComponent<__VLS_PublicProps_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3281
3403
  "update:value": (value: Maybe<string | number> | undefined) => any;
3282
3404
  }, string, PublicProps, Readonly<__VLS_PublicProps_21> & Readonly<{
@@ -3343,6 +3465,7 @@ export declare type TheTextProps = {
3343
3465
  color?: Color | 'inherit';
3344
3466
  numberOfLines?: number | string;
3345
3467
  isMono?: boolean;
3468
+ isCrossOut?: boolean;
3346
3469
  };
3347
3470
 
3348
3471
  export declare const TheTextSkeleton: DefineComponent<TheTextSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TheTextSkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {