bt-core-app 1.4.1 → 1.4.3
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/bt-core-app.js +4079 -28248
- package/dist/index.d.ts +0 -4
- package/package.json +8 -2
- package/dist/components/BT-Btn.vue.d.ts +0 -41
- package/dist/components/BT-Col.vue.d.ts +0 -49
- package/dist/components/BT-Field-Checkbox.vue.d.ts +0 -56
- package/dist/components/BT-Field-Date.vue.d.ts +0 -64
- package/dist/components/BT-Field-Entity.vue.d.ts +0 -46
- package/dist/components/BT-Field-Select.vue.d.ts +0 -54
- package/dist/components/BT-Field-String.vue.d.ts +0 -53
- package/dist/components/BT-Field-Switch.vue.d.ts +0 -51
- package/dist/components/BT-Field-Tags.vue.d.ts +0 -51
- package/dist/components/BT-Field-Textarea.vue.d.ts +0 -52
- package/dist/components/BT-Field-Trigger.vue.d.ts +0 -79
- package/dist/components/BT-Header-Option.vue.d.ts +0 -18
- package/dist/components/BT-Json.vue.d.ts +0 -8
- package/dist/components/BT-Nav-Menu-Item.vue.d.ts +0 -36
- package/dist/components/BT-Nav-Sidebar.vue.d.ts +0 -25
- package/dist/components/BT-Select-List-Box.vue.d.ts +0 -108
- package/dist/components/BT-Select.vue.d.ts +0 -53
- package/dist/components/BT-Snack.vue.d.ts +0 -33
- package/dist/components/BT-Span.vue.d.ts +0 -17
- package/dist/components/Dialog-Confirm.vue.d.ts +0 -38
- package/dist/components/Dialog-Select-Date.vue.d.ts +0 -36
- package/dist/components/Dialog-Select.vue.d.ts +0 -48
- package/dist/components/Dialog-Text.vue.d.ts +0 -33
- package/dist/main.d.ts +0 -0
- package/dist/style.css +0 -1
- package/dist/useApi.d.ts +0 -0
- package/src/assets/vue.svg +0 -1
- package/src/components/BT-Btn.vue +0 -41
- package/src/components/BT-Col.vue +0 -36
- package/src/components/BT-Field-Checkbox.vue +0 -70
- package/src/components/BT-Field-Date.vue +0 -108
- package/src/components/BT-Field-Entity.vue +0 -48
- package/src/components/BT-Field-Select.vue +0 -67
- package/src/components/BT-Field-String.vue +0 -78
- package/src/components/BT-Field-Switch.vue +0 -68
- package/src/components/BT-Field-Tags.vue +0 -66
- package/src/components/BT-Field-Textarea.vue +0 -67
- package/src/components/BT-Field-Trigger.vue +0 -315
- package/src/components/BT-Header-Option.vue +0 -39
- package/src/components/BT-Json.vue +0 -67
- package/src/components/BT-Nav-Menu-Item.vue +0 -61
- package/src/components/BT-Nav-Sidebar.vue +0 -79
- package/src/components/BT-Select-List-Box.vue +0 -258
- package/src/components/BT-Select.vue +0 -46
- package/src/components/BT-Snack.vue +0 -31
- package/src/components/BT-Span.vue +0 -21
- package/src/components/Dialog-Confirm.vue +0 -47
- package/src/components/Dialog-Select-Date.vue +0 -89
- package/src/components/Dialog-Select.vue +0 -140
- package/src/components/Dialog-Text.vue +0 -59
- package/src/composables/actions-tracker.ts +0 -99
- package/src/composables/actions.ts +0 -354
- package/src/composables/api.ts +0 -479
- package/src/composables/auth.ts +0 -452
- package/src/composables/cosmetics.ts +0 -177
- package/src/composables/csv.ts +0 -198
- package/src/composables/dates.ts +0 -86
- package/src/composables/demo.ts +0 -33
- package/src/composables/dialogs.ts +0 -115
- package/src/composables/document-meta.ts +0 -44
- package/src/composables/draggable.ts +0 -189
- package/src/composables/filters.ts +0 -264
- package/src/composables/forage.ts +0 -49
- package/src/composables/helpers.ts +0 -647
- package/src/composables/id.ts +0 -20
- package/src/composables/list.ts +0 -604
- package/src/composables/navigation.ts +0 -222
- package/src/composables/presets.ts +0 -28
- package/src/composables/pwa.ts +0 -97
- package/src/composables/resizable.ts +0 -382
- package/src/composables/rules.ts +0 -40
- package/src/composables/stores.ts +0 -818
- package/src/composables/track.ts +0 -55
- package/src/composables/urls.ts +0 -66
- package/src/core.ts +0 -121
- package/src/index.ts +0 -48
- package/src/main.ts +0 -6
- package/src/types.ts +0 -17
- package/src/useApi.ts +0 -68
- package/src/vite-env.d.ts +0 -1
- package/test/api.test.ts +0 -84
- package/test/auth.test.ts +0 -74
- package/test/forage.test.ts +0 -31
- package/test/helpers.test.ts +0 -231
- package/test/navigation.test.ts +0 -99
- package/test/stores-last-update.test.ts +0 -138
- package/test/stores-session.test.ts +0 -118
- package/test/track.test.ts +0 -29
- package/test/urls.test.ts +0 -42
- package/test/utils.ts +0 -15
- package/tsconfig.json +0 -28
- package/tsconfig.node.json +0 -11
- package/vite.config.ts +0 -45
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { default as BTNavSidebar } from './components/BT-Nav-Sidebar.vue';
|
|
2
|
-
import { default as BTNavMenuItem } from './components/BT-Nav-Menu-Item.vue';
|
|
3
1
|
export { useActionsTracker } from './composables/actions-tracker';
|
|
4
2
|
export type { BTActions, GetOptions, DeleteOptions, RestoreOptions, SaveOptions, ApiActionOptions, UseActionsOptions } from './composables/actions';
|
|
5
3
|
export { useActions } from './composables/actions';
|
|
@@ -14,7 +12,6 @@ export type { BTDates, CreateDatesOptions } from './composables/dates';
|
|
|
14
12
|
export { createDates, useDates } from './composables/dates';
|
|
15
13
|
export type { BTDemo } from './composables/demo';
|
|
16
14
|
export { createDemo, useDemo } from './composables/demo';
|
|
17
|
-
export * from './composables/dialogs';
|
|
18
15
|
export type { BTDocumentMeta, UseDocumentMetaOptions } from './composables/document-meta';
|
|
19
16
|
export { useDocumentMeta } from './composables/document-meta';
|
|
20
17
|
export * from './composables/draggable';
|
|
@@ -42,4 +39,3 @@ export { createUrl, useUrls, useAuthUrl, useDbName, useDataUrl } from './composa
|
|
|
42
39
|
export * from './types';
|
|
43
40
|
export type { CoreApp, CreateCoreOptions } from './core';
|
|
44
41
|
export { createCore } from './core';
|
|
45
|
-
export { BTNavMenuItem, BTNavSidebar };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bt-core-app",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
|
|
5
5
|
"homepage": "https://github.com/BlitzItTech/bt-core",
|
|
6
6
|
"bugs": {
|
|
@@ -9,7 +9,13 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"main": "./dist/bt-core-app.js",
|
|
12
|
-
"exports":
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./dist/bt-core-app.js",
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
13
19
|
"scripts": {
|
|
14
20
|
"dev": "vite",
|
|
15
21
|
"build": "vue-tsc && vite build",
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
interface BtnProps {
|
|
2
|
-
icon?: string;
|
|
3
|
-
isEditing?: boolean;
|
|
4
|
-
preset?: string;
|
|
5
|
-
size?: string;
|
|
6
|
-
variant?: 'flat' | 'text' | 'elevated' | 'tonal' | 'outlined' | 'plain';
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BtnProps>, {
|
|
9
|
-
icon: undefined;
|
|
10
|
-
isEditing: boolean;
|
|
11
|
-
size: undefined;
|
|
12
|
-
variant: string;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BtnProps>, {
|
|
14
|
-
icon: undefined;
|
|
15
|
-
isEditing: boolean;
|
|
16
|
-
size: undefined;
|
|
17
|
-
variant: string;
|
|
18
|
-
}>>>, {
|
|
19
|
-
icon: string;
|
|
20
|
-
isEditing: boolean;
|
|
21
|
-
size: string;
|
|
22
|
-
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
23
|
-
}, {}>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
interface ColProps {
|
|
2
|
-
cols?: string | boolean;
|
|
3
|
-
isMobile?: boolean;
|
|
4
|
-
lg?: string | boolean;
|
|
5
|
-
md?: string | boolean;
|
|
6
|
-
sm?: string | boolean;
|
|
7
|
-
noGutters?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ColProps>, {
|
|
10
|
-
cols: string;
|
|
11
|
-
lg: boolean;
|
|
12
|
-
md: boolean;
|
|
13
|
-
sm: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ColProps>, {
|
|
15
|
-
cols: string;
|
|
16
|
-
lg: boolean;
|
|
17
|
-
md: boolean;
|
|
18
|
-
sm: string;
|
|
19
|
-
}>>>, {
|
|
20
|
-
cols: string | boolean;
|
|
21
|
-
lg: string | boolean;
|
|
22
|
-
md: string | boolean;
|
|
23
|
-
sm: string | boolean;
|
|
24
|
-
}, {}>, {
|
|
25
|
-
default?(_: {}): any;
|
|
26
|
-
}>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
-
default: D[K];
|
|
40
|
-
}> : P[K];
|
|
41
|
-
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
45
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
-
new (): {
|
|
47
|
-
$slots: S;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { BladeDensity } from '../types';
|
|
2
|
-
|
|
3
|
-
interface FieldProps {
|
|
4
|
-
cols?: string | boolean;
|
|
5
|
-
density?: BladeDensity;
|
|
6
|
-
horizontal?: boolean;
|
|
7
|
-
isEditing?: boolean;
|
|
8
|
-
isMobile?: boolean;
|
|
9
|
-
label: any;
|
|
10
|
-
lg?: string | boolean;
|
|
11
|
-
md?: string | boolean;
|
|
12
|
-
modelValue: any;
|
|
13
|
-
rules?: any;
|
|
14
|
-
sm?: string | boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
17
|
-
isEditing: undefined;
|
|
18
|
-
cols: string;
|
|
19
|
-
lg: boolean;
|
|
20
|
-
md: boolean;
|
|
21
|
-
sm: string;
|
|
22
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
-
"update:modelValue": (...args: any[]) => void;
|
|
24
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
25
|
-
isEditing: undefined;
|
|
26
|
-
cols: string;
|
|
27
|
-
lg: boolean;
|
|
28
|
-
md: boolean;
|
|
29
|
-
sm: string;
|
|
30
|
-
}>>> & {
|
|
31
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
isEditing: boolean;
|
|
34
|
-
cols: string | boolean;
|
|
35
|
-
lg: string | boolean;
|
|
36
|
-
md: string | boolean;
|
|
37
|
-
sm: string | boolean;
|
|
38
|
-
}, {}>;
|
|
39
|
-
export default _default;
|
|
40
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
-
} : {
|
|
45
|
-
type: import('vue').PropType<T[K]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
type __VLS_WithDefaults<P, D> = {
|
|
50
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
-
default: D[K];
|
|
52
|
-
}> : P[K];
|
|
53
|
-
};
|
|
54
|
-
type __VLS_Prettify<T> = {
|
|
55
|
-
[K in keyof T]: T[K];
|
|
56
|
-
} & {};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
interface FieldProps {
|
|
3
|
-
cols?: string | boolean;
|
|
4
|
-
dateFrom?: string;
|
|
5
|
-
dateRules?: Function | unknown[];
|
|
6
|
-
format?: string;
|
|
7
|
-
fromNow?: boolean;
|
|
8
|
-
horizontal?: boolean;
|
|
9
|
-
isEditing?: boolean;
|
|
10
|
-
isMobile?: boolean;
|
|
11
|
-
label?: string;
|
|
12
|
-
lg?: string | boolean;
|
|
13
|
-
md?: string | boolean;
|
|
14
|
-
modelValue: any;
|
|
15
|
-
sm?: string | boolean;
|
|
16
|
-
useTime?: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
19
|
-
isEditing: undefined;
|
|
20
|
-
cols: string;
|
|
21
|
-
lg: boolean;
|
|
22
|
-
md: boolean;
|
|
23
|
-
sm: string;
|
|
24
|
-
format: string;
|
|
25
|
-
fromNow: boolean;
|
|
26
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"update:modelValue": (...args: any[]) => void;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
29
|
-
isEditing: undefined;
|
|
30
|
-
cols: string;
|
|
31
|
-
lg: boolean;
|
|
32
|
-
md: boolean;
|
|
33
|
-
sm: string;
|
|
34
|
-
format: string;
|
|
35
|
-
fromNow: boolean;
|
|
36
|
-
}>>> & {
|
|
37
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
isEditing: boolean;
|
|
40
|
-
cols: string | boolean;
|
|
41
|
-
lg: string | boolean;
|
|
42
|
-
md: string | boolean;
|
|
43
|
-
sm: string | boolean;
|
|
44
|
-
format: string;
|
|
45
|
-
fromNow: boolean;
|
|
46
|
-
}, {}>;
|
|
47
|
-
export default _default;
|
|
48
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
-
} : {
|
|
53
|
-
type: import('vue').PropType<T[K]>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
type __VLS_WithDefaults<P, D> = {
|
|
58
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
-
default: D[K];
|
|
60
|
-
}> : P[K];
|
|
61
|
-
};
|
|
62
|
-
type __VLS_Prettify<T> = {
|
|
63
|
-
[K in keyof T]: T[K];
|
|
64
|
-
} & {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
interface FieldProps {
|
|
2
|
-
cols?: string | boolean;
|
|
3
|
-
isMobile?: boolean;
|
|
4
|
-
label?: string;
|
|
5
|
-
lg?: string | boolean;
|
|
6
|
-
md?: string | boolean;
|
|
7
|
-
sm?: string | boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
10
|
-
cols: string;
|
|
11
|
-
lg: boolean;
|
|
12
|
-
md: boolean;
|
|
13
|
-
sm: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"update:modelValue": (...args: any[]) => void;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
17
|
-
cols: string;
|
|
18
|
-
lg: boolean;
|
|
19
|
-
md: boolean;
|
|
20
|
-
sm: string;
|
|
21
|
-
}>>> & {
|
|
22
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
cols: string | boolean;
|
|
25
|
-
lg: string | boolean;
|
|
26
|
-
md: string | boolean;
|
|
27
|
-
sm: string | boolean;
|
|
28
|
-
}, {}>;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
interface FieldProps {
|
|
2
|
-
cols?: string | boolean;
|
|
3
|
-
horizontal?: boolean;
|
|
4
|
-
isEditing?: boolean;
|
|
5
|
-
isMobile?: boolean;
|
|
6
|
-
lg?: string | boolean;
|
|
7
|
-
md?: string | boolean;
|
|
8
|
-
modelValue?: any;
|
|
9
|
-
rules?: any;
|
|
10
|
-
sm?: string | boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
13
|
-
isEditing: undefined;
|
|
14
|
-
cols: string;
|
|
15
|
-
lg: boolean;
|
|
16
|
-
md: boolean;
|
|
17
|
-
sm: string;
|
|
18
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
"update:modelValue": (...args: any[]) => void;
|
|
20
|
-
select: (...args: any[]) => void;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
22
|
-
isEditing: undefined;
|
|
23
|
-
cols: string;
|
|
24
|
-
lg: boolean;
|
|
25
|
-
md: boolean;
|
|
26
|
-
sm: string;
|
|
27
|
-
}>>> & {
|
|
28
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
isEditing: boolean;
|
|
32
|
-
cols: string | boolean;
|
|
33
|
-
lg: string | boolean;
|
|
34
|
-
md: string | boolean;
|
|
35
|
-
sm: string | boolean;
|
|
36
|
-
}, {}>;
|
|
37
|
-
export default _default;
|
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
-
} : {
|
|
43
|
-
type: import('vue').PropType<T[K]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
-
default: D[K];
|
|
50
|
-
}> : P[K];
|
|
51
|
-
};
|
|
52
|
-
type __VLS_Prettify<T> = {
|
|
53
|
-
[K in keyof T]: T[K];
|
|
54
|
-
} & {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
interface FieldProps {
|
|
2
|
-
cols?: string | boolean;
|
|
3
|
-
horizontal?: boolean;
|
|
4
|
-
isEditing?: boolean;
|
|
5
|
-
isMobile?: boolean;
|
|
6
|
-
lg?: string | boolean;
|
|
7
|
-
md?: string | boolean;
|
|
8
|
-
modelValue: any;
|
|
9
|
-
rules?: any;
|
|
10
|
-
sm?: string | boolean;
|
|
11
|
-
useCurrency?: boolean;
|
|
12
|
-
}
|
|
13
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
14
|
-
isEditing: undefined;
|
|
15
|
-
cols: string;
|
|
16
|
-
lg: boolean;
|
|
17
|
-
md: boolean;
|
|
18
|
-
sm: string;
|
|
19
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (...args: any[]) => void;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
22
|
-
isEditing: undefined;
|
|
23
|
-
cols: string;
|
|
24
|
-
lg: boolean;
|
|
25
|
-
md: boolean;
|
|
26
|
-
sm: string;
|
|
27
|
-
}>>> & {
|
|
28
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
isEditing: boolean;
|
|
31
|
-
cols: string | boolean;
|
|
32
|
-
lg: string | boolean;
|
|
33
|
-
md: string | boolean;
|
|
34
|
-
sm: string | boolean;
|
|
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
|
-
} & {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
interface FieldProps {
|
|
2
|
-
cols?: string | boolean;
|
|
3
|
-
isEditing?: boolean;
|
|
4
|
-
isMobile?: boolean;
|
|
5
|
-
label?: string;
|
|
6
|
-
lg?: string | boolean;
|
|
7
|
-
md?: string | boolean;
|
|
8
|
-
modelValue: any;
|
|
9
|
-
sm?: string | boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
12
|
-
isEditing: undefined;
|
|
13
|
-
cols: string;
|
|
14
|
-
lg: boolean;
|
|
15
|
-
md: boolean;
|
|
16
|
-
sm: string;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (...args: any[]) => void;
|
|
19
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
20
|
-
isEditing: undefined;
|
|
21
|
-
cols: string;
|
|
22
|
-
lg: boolean;
|
|
23
|
-
md: boolean;
|
|
24
|
-
sm: string;
|
|
25
|
-
}>>> & {
|
|
26
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
isEditing: boolean;
|
|
29
|
-
cols: string | boolean;
|
|
30
|
-
lg: string | boolean;
|
|
31
|
-
md: string | boolean;
|
|
32
|
-
sm: string | boolean;
|
|
33
|
-
}, {}>;
|
|
34
|
-
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_Prettify<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
interface FieldProps {
|
|
2
|
-
cols?: string | boolean;
|
|
3
|
-
isEditing?: boolean;
|
|
4
|
-
isMobile?: boolean;
|
|
5
|
-
lg?: string | boolean;
|
|
6
|
-
md?: string | boolean;
|
|
7
|
-
modelValue: string | undefined;
|
|
8
|
-
rules?: any;
|
|
9
|
-
sm?: string | boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
12
|
-
isEditing: undefined;
|
|
13
|
-
cols: string;
|
|
14
|
-
lg: boolean;
|
|
15
|
-
md: boolean;
|
|
16
|
-
sm: string;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (...args: any[]) => void;
|
|
19
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
20
|
-
isEditing: undefined;
|
|
21
|
-
cols: string;
|
|
22
|
-
lg: boolean;
|
|
23
|
-
md: boolean;
|
|
24
|
-
sm: string;
|
|
25
|
-
}>>> & {
|
|
26
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
isEditing: boolean;
|
|
29
|
-
cols: string | boolean;
|
|
30
|
-
lg: string | boolean;
|
|
31
|
-
md: string | boolean;
|
|
32
|
-
sm: string | boolean;
|
|
33
|
-
}, {}>;
|
|
34
|
-
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_Prettify<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
interface FieldProps {
|
|
2
|
-
cols?: string | boolean;
|
|
3
|
-
horizontal?: boolean;
|
|
4
|
-
isEditing?: boolean;
|
|
5
|
-
isMobile?: boolean;
|
|
6
|
-
lg?: string | boolean;
|
|
7
|
-
md?: string | boolean;
|
|
8
|
-
modelValue: any;
|
|
9
|
-
rules?: any;
|
|
10
|
-
sm?: string | boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
13
|
-
isEditing: undefined;
|
|
14
|
-
cols: string;
|
|
15
|
-
lg: boolean;
|
|
16
|
-
md: boolean;
|
|
17
|
-
sm: string;
|
|
18
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
"update:modelValue": (...args: any[]) => void;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
21
|
-
isEditing: undefined;
|
|
22
|
-
cols: string;
|
|
23
|
-
lg: boolean;
|
|
24
|
-
md: boolean;
|
|
25
|
-
sm: string;
|
|
26
|
-
}>>> & {
|
|
27
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
isEditing: boolean;
|
|
30
|
-
cols: string | boolean;
|
|
31
|
-
lg: string | boolean;
|
|
32
|
-
md: string | boolean;
|
|
33
|
-
sm: string | boolean;
|
|
34
|
-
}, {}>;
|
|
35
|
-
export default _default;
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
type __VLS_WithDefaults<P, D> = {
|
|
46
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
-
default: D[K];
|
|
48
|
-
}> : P[K];
|
|
49
|
-
};
|
|
50
|
-
type __VLS_Prettify<T> = {
|
|
51
|
-
[K in keyof T]: T[K];
|
|
52
|
-
} & {};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { BladeDensity } from '../types';
|
|
2
|
-
|
|
3
|
-
interface Option {
|
|
4
|
-
text?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
icon?: string;
|
|
7
|
-
}
|
|
8
|
-
interface FieldProps {
|
|
9
|
-
automation?: any;
|
|
10
|
-
cols?: string | boolean;
|
|
11
|
-
custom?: any;
|
|
12
|
-
density?: BladeDensity;
|
|
13
|
-
guide?: any;
|
|
14
|
-
isEditing?: boolean;
|
|
15
|
-
isMobile?: boolean;
|
|
16
|
-
label: any;
|
|
17
|
-
lg?: string | boolean;
|
|
18
|
-
md?: string | boolean;
|
|
19
|
-
sm?: string | boolean;
|
|
20
|
-
options?: Option[];
|
|
21
|
-
trigger?: any;
|
|
22
|
-
useAutomation?: boolean;
|
|
23
|
-
useAutomationDaily?: boolean;
|
|
24
|
-
useAutomationLarge?: boolean;
|
|
25
|
-
useCustom?: boolean;
|
|
26
|
-
useCustomList?: boolean;
|
|
27
|
-
useGuide?: boolean;
|
|
28
|
-
useGuideList?: boolean;
|
|
29
|
-
useScheduledTrigger?: boolean;
|
|
30
|
-
useTrigger?: boolean;
|
|
31
|
-
useTriggerList?: boolean;
|
|
32
|
-
}
|
|
33
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
34
|
-
isEditing: undefined;
|
|
35
|
-
cols: string;
|
|
36
|
-
lg: boolean;
|
|
37
|
-
md: boolean;
|
|
38
|
-
sm: string;
|
|
39
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
-
"update:automation": (...args: any[]) => void;
|
|
41
|
-
"update:custom": (...args: any[]) => void;
|
|
42
|
-
"update:guide": (...args: any[]) => void;
|
|
43
|
-
"update:trigger": (...args: any[]) => void;
|
|
44
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FieldProps>, {
|
|
45
|
-
isEditing: undefined;
|
|
46
|
-
cols: string;
|
|
47
|
-
lg: boolean;
|
|
48
|
-
md: boolean;
|
|
49
|
-
sm: string;
|
|
50
|
-
}>>> & {
|
|
51
|
-
"onUpdate:automation"?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
"onUpdate:custom"?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
"onUpdate:guide"?: ((...args: any[]) => any) | undefined;
|
|
54
|
-
"onUpdate:trigger"?: ((...args: any[]) => any) | undefined;
|
|
55
|
-
}, {
|
|
56
|
-
isEditing: boolean;
|
|
57
|
-
cols: string | boolean;
|
|
58
|
-
lg: string | boolean;
|
|
59
|
-
md: string | boolean;
|
|
60
|
-
sm: string | boolean;
|
|
61
|
-
}, {}>;
|
|
62
|
-
export default _default;
|
|
63
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
-
} : {
|
|
68
|
-
type: import('vue').PropType<T[K]>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
type __VLS_WithDefaults<P, D> = {
|
|
73
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
74
|
-
default: D[K];
|
|
75
|
-
}> : P[K];
|
|
76
|
-
};
|
|
77
|
-
type __VLS_Prettify<T> = {
|
|
78
|
-
[K in keyof T]: T[K];
|
|
79
|
-
} & {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TableColumn } from '../composables/list';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
data: any;
|
|
5
|
-
option: TableColumn;
|
|
6
|
-
size?: string | number;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<Readonly<{
|
|
2
|
-
value?: any;
|
|
3
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
4
|
-
value?: any;
|
|
5
|
-
}>>>, {
|
|
6
|
-
readonly value?: any;
|
|
7
|
-
}, {}>;
|
|
8
|
-
export default _default;
|