@nubisco/ui 1.49.0 → 1.50.0

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.
@@ -0,0 +1,65 @@
1
+ import type { IDataTableColumn, IDataTableProps, IDataTableSortState } from './DataTable.d';
2
+ declare const __VLS_export: <T extends Record<string, unknown> = Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<IDataTableProps<T> & {
4
+ onSort?: ((state: IDataTableSortState) => any) | undefined;
5
+ "onUpdate:selected"?: ((keys: (string | number)[]) => any) | undefined;
6
+ "onRow-click"?: ((row: T, rowIndex: number) => any) | undefined;
7
+ }> & (typeof globalThis extends {
8
+ __VLS_PROPS_FALLBACK: infer P;
9
+ } ? P : {});
10
+ expose: (exposed: {}) => void;
11
+ attrs: any;
12
+ slots: {
13
+ [x: `header-${string}`]: ((props: {
14
+ column: IDataTableColumn<T>;
15
+ }) => any) | undefined;
16
+ } & {
17
+ [x: `header-${string}`]: ((props: {
18
+ column: IDataTableColumn<T>;
19
+ }) => any) | undefined;
20
+ } & {
21
+ [x: `cell-${string}`]: ((props: {
22
+ row: T;
23
+ value: unknown;
24
+ column: IDataTableColumn<T>;
25
+ rowIndex: number;
26
+ }) => any) | undefined;
27
+ } & {
28
+ toolbar?: (props: {
29
+ selectedCount: number;
30
+ }) => any;
31
+ } & {
32
+ search?: (props: {}) => any;
33
+ } & {
34
+ 'toolbar-actions'?: (props: {}) => any;
35
+ } & {
36
+ 'batch-actions'?: (props: {
37
+ selectedKeys: (string | number)[];
38
+ clear: () => void;
39
+ }) => any;
40
+ } & {
41
+ error?: (props: {
42
+ error: string;
43
+ }) => any;
44
+ } & {
45
+ empty?: (props: {}) => any;
46
+ } & {
47
+ 'row-actions'?: (props: {
48
+ row: T;
49
+ rowIndex: number;
50
+ }) => any;
51
+ } & {
52
+ footer?: (props: {}) => any;
53
+ };
54
+ emit: ((evt: "sort", state: IDataTableSortState) => void) & ((evt: "update:selected", keys: (string | number)[]) => void) & ((evt: "row-click", row: T, rowIndex: number) => void);
55
+ }>) => import("vue").VNode & {
56
+ __ctx?: Awaited<typeof __VLS_setup>;
57
+ };
58
+ declare const _default: typeof __VLS_export;
59
+ export default _default;
60
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
61
+ [K in keyof T]: T[K];
62
+ } : {
63
+ [K in keyof T as K]: T[K];
64
+ }) & {};
65
+ //# sourceMappingURL=DataTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.vue"],"names":[],"mappings":"AAy6BA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EAEpB,MAAM,eAAe,CAAA;AAMtB,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjF,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA80BO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;;;;KAAmC,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;;;cAlB2D,GAAG;;;;cACH,GAAG;;;;;;;cACH,GAAG;;kBAC3D,CAAC,KAAK;;SAAgB,KAAK,GAAG;;iBAC/B,CAAC,KAAK,IAAgB,KAAK,GAAG;;4BACnB,CAAC,KAAK,IAAgB,KAAK,GAAG;;0BAChC,CAAC,KAAK;;;SAAgB,KAAK,GAAG;;gBACxC,CAAC,KAAK;;SAAiB,KAAK,GAAG;;gBAC/B,CAAC,KAAK,IAAiB,KAAK,GAAG;;wBACvB,CAAC,KAAK;;;SAAiB,KAAK,GAAG;;iBACtC,CAAC,KAAK,IAAiB,KAAK,GAAG;;;EAYxC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -43,8 +43,8 @@ declare const __VLS_export: import("vue").DefineComponent<IFileUploaderProps, {
43
43
  onRemove?: ((file: File) => any) | undefined;
44
44
  }>, {
45
45
  variant: EVariant;
46
- buttonLabel: string;
47
46
  multiple: boolean;
47
+ buttonLabel: string;
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
49
  declare const _default: typeof __VLS_export;
50
50
  export default _default;
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<IMenuItemProps, {
16
16
  icon: string;
17
17
  disabled: boolean;
18
18
  shortcut: string;
19
- danger: boolean;
20
19
  selectable: boolean;
20
+ danger: boolean;
21
21
  radioGroup: string;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -0,0 +1,18 @@
1
+ import { ESizeShort } from '@/types/Size.d';
2
+ import { IPaginationProps } from './Pagination.d';
3
+ declare const __VLS_export: import("vue").DefineComponent<IPaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ "update:page": (page: number) => any;
5
+ "update:pageSize": (pageSize: number) => any;
6
+ }, string, import("vue").PublicProps, Readonly<IPaginationProps> & Readonly<{
7
+ "onUpdate:page"?: ((page: number) => any) | undefined;
8
+ "onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
9
+ }>, {
10
+ size: ESizeShort | "sm" | "md" | "lg";
11
+ disabled: boolean;
12
+ pageSizeOptions: number[];
13
+ pageSizeLabel: string;
14
+ itemLabel: string;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ //# sourceMappingURL=Pagination.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../src/components/Pagination.vue"],"names":[],"mappings":"AAqOA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAyOjD,QAAA,MAAM,YAAY;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../src/components/Select.vue"],"names":[],"mappings":"AAkuBA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAoHtD,iBAAS,YAAY,SAapB;AAED,iB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;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;;iBAwHf,GAAG;;AADlB,wBAMC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;;iBA4Hf,GAAG;;AADlB,wBAMC"}