bt-core-app 1.4.1 → 1.4.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.
- package/dist/bt-core-app.js +4079 -28248
- package/dist/index.d.ts +0 -4
- package/package.json +1 -1
- package/src/components/BT-Nav-Menu-Item.vue +0 -1
- package/src/components/BT-Nav-Sidebar.vue +0 -1
- package/src/composables/actions-tracker.ts +3 -3
- package/src/composables/dialogs.ts +0 -1
- package/src/core.ts +35 -43
- package/src/index.ts +4 -4
- package/vite.config.ts +7 -7
- 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/src/main.ts +0 -6
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
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
import { useAuth } from '../composables/auth'
|
|
32
32
|
import { isLengthyArray } from '../composables/helpers'
|
|
33
33
|
import { type NavigationItem } from '../composables/navigation'
|
|
34
|
-
// import { VListItem, VListGroup, VDivider } from 'vuetify/components'
|
|
35
34
|
|
|
36
35
|
interface ItemProps {
|
|
37
36
|
allowedSubscriptionCodes?: string[],
|
|
@@ -61,7 +61,6 @@ import { useCosmetics } from '../composables/cosmetics'
|
|
|
61
61
|
import { useNavigation } from '../composables/navigation'
|
|
62
62
|
import { useAuth } from '../composables/auth'
|
|
63
63
|
import { computed } from 'vue'
|
|
64
|
-
// import { VListItem, VList, VNavigationDrawer, VAvatar, VImg, VRow, VBtn } from 'vuetify/components'
|
|
65
64
|
|
|
66
65
|
interface SidebarProps {
|
|
67
66
|
// greeting?: string
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, ref, shallowRef } from 'vue'
|
|
2
2
|
import type { ShallowRef, Ref } from 'vue'
|
|
3
|
-
import { useConfirmAsync } from '../composables/dialogs'
|
|
3
|
+
// import { useConfirmAsync } from '../composables/dialogs'
|
|
4
4
|
import { watchArray } from '@vueuse/core'
|
|
5
5
|
import { useId } from '../composables/id'
|
|
6
6
|
|
|
@@ -60,8 +60,8 @@ export function useActionsTracker(useOptions?: DoActionOptions) {
|
|
|
60
60
|
|
|
61
61
|
try {
|
|
62
62
|
if (opt.requireConfirmation || opt.confirmationMsg) {
|
|
63
|
-
if (!await useConfirmAsync(opt.confirmationMsg ?? 'Are you sure?'))
|
|
64
|
-
|
|
63
|
+
// if (!await useConfirmAsync(opt.confirmationMsg ?? 'Are you sure?'))
|
|
64
|
+
// return
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
res = await action()
|
package/src/core.ts
CHANGED
|
@@ -12,23 +12,23 @@ import { createStoreBuilder } from './composables/stores'
|
|
|
12
12
|
import { CreateUrlOptions, createUrl } from './composables/urls'
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
import BTBtn from './components/BT-Btn.vue'
|
|
16
|
-
import BTCol from './components/BT-Col.vue'
|
|
17
|
-
import BTFieldCheckbox from './components/BT-Field-Checkbox.vue'
|
|
18
|
-
import BTFieldDate from './components/BT-Field-Date.vue'
|
|
19
|
-
import BTFieldEntity from './components/BT-Field-Entity.vue'
|
|
20
|
-
import BTFieldSelect from './components/BT-Field-Select.vue'
|
|
21
|
-
import BTFieldString from './components/BT-Field-String.vue'
|
|
22
|
-
import BTFieldSwitch from './components/BT-Field-Switch.vue'
|
|
23
|
-
import BTFieldTags from './components/BT-Field-Tags.vue'
|
|
24
|
-
import BTFieldTextarea from './components/BT-Field-Textarea.vue'
|
|
25
|
-
import BTFieldTrigger from './components/BT-Field-Trigger.vue'
|
|
26
|
-
import BTHeaderOption from './components/BT-Header-Option.vue'
|
|
27
|
-
import BTJson from './components/BT-Json.vue'
|
|
28
|
-
import BTSelectListBox from './components/BT-Select-List-Box.vue'
|
|
29
|
-
import BTSelect from './components/BT-Select.vue'
|
|
30
|
-
import BTSnack from './components/BT-Snack.vue'
|
|
31
|
-
import BTSpan from './components/BT-Span.vue'
|
|
15
|
+
// import BTBtn from './components/BT-Btn.vue'
|
|
16
|
+
// import BTCol from './components/BT-Col.vue'
|
|
17
|
+
// import BTFieldCheckbox from './components/BT-Field-Checkbox.vue'
|
|
18
|
+
// import BTFieldDate from './components/BT-Field-Date.vue'
|
|
19
|
+
// import BTFieldEntity from './components/BT-Field-Entity.vue'
|
|
20
|
+
// import BTFieldSelect from './components/BT-Field-Select.vue'
|
|
21
|
+
// import BTFieldString from './components/BT-Field-String.vue'
|
|
22
|
+
// import BTFieldSwitch from './components/BT-Field-Switch.vue'
|
|
23
|
+
// import BTFieldTags from './components/BT-Field-Tags.vue'
|
|
24
|
+
// import BTFieldTextarea from './components/BT-Field-Textarea.vue'
|
|
25
|
+
// import BTFieldTrigger from './components/BT-Field-Trigger.vue'
|
|
26
|
+
// import BTHeaderOption from './components/BT-Header-Option.vue'
|
|
27
|
+
// import BTJson from './components/BT-Json.vue'
|
|
28
|
+
// import BTSelectListBox from './components/BT-Select-List-Box.vue'
|
|
29
|
+
// import BTSelect from './components/BT-Select.vue'
|
|
30
|
+
// import BTSnack from './components/BT-Snack.vue'
|
|
31
|
+
// import BTSpan from './components/BT-Span.vue'
|
|
32
32
|
|
|
33
33
|
export interface CoreApp {
|
|
34
34
|
install(app: App) : void
|
|
@@ -49,26 +49,26 @@ export interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme
|
|
|
49
49
|
export function createCore(options: CreateCoreOptions): CoreApp {
|
|
50
50
|
|
|
51
51
|
return {
|
|
52
|
-
install(app: App) {
|
|
52
|
+
install() { //app: App) {
|
|
53
53
|
|
|
54
54
|
//register components
|
|
55
|
-
app.component('bt-btn', BTBtn)
|
|
56
|
-
app.component('bt-col', BTCol)
|
|
57
|
-
app.component('bt-field-checkbox', BTFieldCheckbox)
|
|
58
|
-
app.component('bt-field-date', BTFieldDate)
|
|
59
|
-
app.component('bt-field-entity', BTFieldEntity)
|
|
60
|
-
app.component('bt-field-select', BTFieldSelect)
|
|
61
|
-
app.component('bt-field-string', BTFieldString)
|
|
62
|
-
app.component('bt-field-switch', BTFieldSwitch)
|
|
63
|
-
app.component('bt-field-tags', BTFieldTags)
|
|
64
|
-
app.component('bt-field-text-area', BTFieldTextarea)
|
|
65
|
-
app.component('bt-field-trigger', BTFieldTrigger)
|
|
66
|
-
app.component('bt-header-option', BTHeaderOption)
|
|
67
|
-
app.component('bt-json', BTJson)
|
|
68
|
-
app.component('bt-select-list-box', BTSelectListBox)
|
|
69
|
-
app.component('bt-select', BTSelect)
|
|
70
|
-
app.component('bt-snack', BTSnack)
|
|
71
|
-
app.component('bt-span', BTSpan)
|
|
55
|
+
// app.component('bt-btn', BTBtn)
|
|
56
|
+
// app.component('bt-col', BTCol)
|
|
57
|
+
// app.component('bt-field-checkbox', BTFieldCheckbox)
|
|
58
|
+
// app.component('bt-field-date', BTFieldDate)
|
|
59
|
+
// app.component('bt-field-entity', BTFieldEntity)
|
|
60
|
+
// app.component('bt-field-select', BTFieldSelect)
|
|
61
|
+
// app.component('bt-field-string', BTFieldString)
|
|
62
|
+
// app.component('bt-field-switch', BTFieldSwitch)
|
|
63
|
+
// app.component('bt-field-tags', BTFieldTags)
|
|
64
|
+
// app.component('bt-field-text-area', BTFieldTextarea)
|
|
65
|
+
// app.component('bt-field-trigger', BTFieldTrigger)
|
|
66
|
+
// app.component('bt-header-option', BTHeaderOption)
|
|
67
|
+
// app.component('bt-json', BTJson)
|
|
68
|
+
// app.component('bt-select-list-box', BTSelectListBox)
|
|
69
|
+
// app.component('bt-select', BTSelect)
|
|
70
|
+
// app.component('bt-snack', BTSnack)
|
|
71
|
+
// app.component('bt-span', BTSpan)
|
|
72
72
|
|
|
73
73
|
//define globals
|
|
74
74
|
// app.config.globalProperties.$btcore = core
|
|
@@ -86,14 +86,6 @@ export function createCore(options: CreateCoreOptions): CoreApp {
|
|
|
86
86
|
|
|
87
87
|
const auth = createAuth(options.auth)
|
|
88
88
|
|
|
89
|
-
// {
|
|
90
|
-
// demo: demo,
|
|
91
|
-
// getAuthItem: navigation.findItem,
|
|
92
|
-
// getAuthorizeUrl: options.auth
|
|
93
|
-
// setCredentials: options.setCredentials,
|
|
94
|
-
// subscriptionOptions: options.subscriptionOptions
|
|
95
|
-
// })
|
|
96
|
-
|
|
97
89
|
const api = createApi({
|
|
98
90
|
auth: auth,
|
|
99
91
|
findPath: navigation.findPath,
|
package/src/index.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type { BTDates, CreateDatesOptions } from './composables/dates'
|
|
|
12
12
|
export { createDates, useDates } from './composables/dates'
|
|
13
13
|
export type { BTDemo } from './composables/demo'
|
|
14
14
|
export { createDemo, useDemo } from './composables/demo'
|
|
15
|
-
export * from './composables/dialogs'
|
|
15
|
+
// export * from './composables/dialogs'
|
|
16
16
|
export type { BTDocumentMeta, UseDocumentMetaOptions } from './composables/document-meta'
|
|
17
17
|
export { useDocumentMeta } from './composables/document-meta'
|
|
18
18
|
export * from './composables/draggable'
|
|
@@ -42,7 +42,7 @@ export type { CoreApp, CreateCoreOptions } from './core'
|
|
|
42
42
|
export { createCore } from './core'
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
import BTNavMenuItem from './components/BT-Nav-Menu-Item.vue'
|
|
46
|
-
import BTNavSidebar from './components/BT-Nav-Sidebar.vue'
|
|
45
|
+
// import BTNavMenuItem from './components/BT-Nav-Menu-Item.vue'
|
|
46
|
+
// import BTNavSidebar from './components/BT-Nav-Sidebar.vue'
|
|
47
47
|
|
|
48
|
-
export { BTNavMenuItem, BTNavSidebar }
|
|
48
|
+
// export { BTNavMenuItem, BTNavSidebar }
|
package/vite.config.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { defineConfig } from 'vite'
|
|
3
3
|
import path from 'path'
|
|
4
4
|
import vue from '@vitejs/plugin-vue'
|
|
5
|
-
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
|
5
|
+
// import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
|
6
6
|
import dts from 'vite-plugin-dts'
|
|
7
7
|
|
|
8
8
|
// https://vitejs.dev/config/
|
|
@@ -21,7 +21,7 @@ export default defineConfig({
|
|
|
21
21
|
formats: ['es']
|
|
22
22
|
},
|
|
23
23
|
rollupOptions: {
|
|
24
|
-
external: ['vue', 'vuetify'],
|
|
24
|
+
external: ['vue', 'vuetify', 'luxon'],
|
|
25
25
|
output: {
|
|
26
26
|
globals: {
|
|
27
27
|
vue: 'Vue'
|
|
@@ -30,12 +30,12 @@ export default defineConfig({
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
plugins: [
|
|
33
|
-
vue({
|
|
34
|
-
|
|
35
|
-
}),
|
|
36
|
-
|
|
33
|
+
// vue({
|
|
34
|
+
// template: { transformAssetUrls }
|
|
35
|
+
// }),
|
|
36
|
+
vue(),
|
|
37
37
|
dts(),
|
|
38
|
-
vuetify({ autoImport: true })
|
|
38
|
+
// vuetify({ autoImport: true })
|
|
39
39
|
],
|
|
40
40
|
resolve: {
|
|
41
41
|
alias: {
|
|
@@ -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
|
-
} & {};
|