bt-core-app 1.2.0 → 1.2.2

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,53 @@
1
+ import { FieldVariant } from '../types';
2
+ import { ListProps } from '../composables/list';
3
+
4
+ interface SelectProps extends ListProps {
5
+ additionalUrl?: string;
6
+ canRefresh?: boolean;
7
+ canSelectNone?: boolean;
8
+ fieldVariant?: FieldVariant;
9
+ items?: [];
10
+ itemText?: string;
11
+ itemValue?: string;
12
+ multiple?: boolean;
13
+ nav?: string;
14
+ onFilter?: Function;
15
+ textFilter?: string;
16
+ }
17
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectProps>, {
18
+ sortOrder: string;
19
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ change: (item: any) => void;
21
+ deleted: (item: any) => void;
22
+ input: (item: any) => void;
23
+ select: (item: any) => void;
24
+ "mouse-over-item": (item: any) => void;
25
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectProps>, {
26
+ sortOrder: string;
27
+ }>>> & {
28
+ onChange?: ((item: any) => any) | undefined;
29
+ onInput?: ((item: any) => any) | undefined;
30
+ onSelect?: ((item: any) => any) | undefined;
31
+ onDeleted?: ((item: any) => any) | undefined;
32
+ "onMouse-over-item"?: ((item: any) => any) | undefined;
33
+ }, {
34
+ sortOrder: "Ascending" | "Descending";
35
+ }, {}>;
36
+ export default _default;
37
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
+ type __VLS_TypePropsToRuntimeProps<T> = {
39
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
40
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
+ } : {
42
+ type: import('vue').PropType<T[K]>;
43
+ required: true;
44
+ };
45
+ };
46
+ type __VLS_WithDefaults<P, D> = {
47
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
48
+ default: D[K];
49
+ }> : P[K];
50
+ };
51
+ type __VLS_Prettify<T> = {
52
+ [K in keyof T]: T[K];
53
+ } & {};
@@ -0,0 +1,33 @@
1
+ interface SnackProps {
2
+ isTimed?: boolean;
3
+ modelValue?: string;
4
+ timeout?: string;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SnackProps>, {
7
+ isTimed: boolean;
8
+ timeout: string;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SnackProps>, {
10
+ isTimed: boolean;
11
+ timeout: string;
12
+ }>>>, {
13
+ isTimed: boolean;
14
+ timeout: string;
15
+ }, {}>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -9,6 +9,7 @@ export interface RefreshOptions {
9
9
  }
10
10
  export interface TableColumn {
11
11
  align?: 'start' | 'end' | 'center';
12
+ bool?: number;
12
13
  csv?: boolean;
13
14
  csvArray?: boolean;
14
15
  csvFilter?: string;
@@ -18,8 +19,10 @@ export interface TableColumn {
18
19
  level?: number;
19
20
  maxWidth?: string;
20
21
  minWidth?: string;
22
+ nav?: string;
21
23
  prefix?: string;
22
24
  searchable?: boolean;
25
+ single?: boolean;
23
26
  sublevel?: number;
24
27
  suffix?: string;
25
28
  textFilter?: string;
@@ -143,6 +146,7 @@ export declare function useList(props: ListProps, emit?: ListEvents, options?: U
143
146
  filtersChanged: import('vue').ComputedRef<boolean>;
144
147
  headerOptions: import('vue').Ref<{
145
148
  align?: "start" | "end" | "center" | undefined;
149
+ bool?: number | undefined;
146
150
  csv?: boolean | undefined;
147
151
  csvArray?: boolean | undefined;
148
152
  csvFilter?: string | undefined;
@@ -152,8 +156,10 @@ export declare function useList(props: ListProps, emit?: ListEvents, options?: U
152
156
  level?: number | undefined;
153
157
  maxWidth?: string | undefined;
154
158
  minWidth?: string | undefined;
159
+ nav?: string | undefined;
155
160
  prefix?: string | undefined;
156
161
  searchable?: boolean | undefined;
162
+ single?: boolean | undefined;
157
163
  sublevel?: number | undefined;
158
164
  suffix?: string | undefined;
159
165
  textFilter?: string | undefined;
@@ -178,6 +184,7 @@ export declare function useList(props: ListProps, emit?: ListEvents, options?: U
178
184
  subtitleOptions: import('vue').ComputedRef<GroupedHeaderOption[]>;
179
185
  tableHeaders: import('vue').ComputedRef<{
180
186
  align?: "start" | "end" | "center" | undefined;
187
+ bool?: number | undefined;
181
188
  csv?: boolean | undefined;
182
189
  csvArray?: boolean | undefined;
183
190
  csvFilter?: string | undefined;
@@ -187,8 +194,10 @@ export declare function useList(props: ListProps, emit?: ListEvents, options?: U
187
194
  level?: number | undefined;
188
195
  maxWidth?: string | undefined;
189
196
  minWidth?: string | undefined;
197
+ nav?: string | undefined;
190
198
  prefix?: string | undefined;
191
199
  searchable?: boolean | undefined;
200
+ single?: boolean | undefined;
192
201
  sublevel?: number | undefined;
193
202
  suffix?: string | undefined;
194
203
  textFilter?: string | undefined;