@bagelink/vue 1.14.15 → 1.15.5
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/components/AddressSearch.vue.d.ts +7 -6
- package/dist/components/Alert.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +1 -1
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Carousel.vue.d.ts +11 -0
- package/dist/components/Dropdown.vue.d.ts +2 -0
- package/dist/components/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/FilterQuery.vue.d.ts +3 -8
- package/dist/components/FilterQuery.vue.d.ts.map +1 -1
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/ImportData.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed/Index.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +1 -0
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pill.vue.d.ts.map +1 -1
- package/dist/components/Swiper.vue.d.ts +12 -6
- package/dist/components/Swiper.vue.d.ts.map +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/analytics/PieChart.vue.d.ts +2 -2
- package/dist/components/calendar/CalendarPopover.vue.d.ts +4 -8
- package/dist/components/calendar/CalendarTypes.d.ts +10 -0
- package/dist/components/calendar/Index.vue.d.ts +20 -4
- package/dist/components/calendar/views/WeekView.vue.d.ts +9 -1
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/ArrayInput.vue.d.ts +4 -2
- package/dist/components/form/inputs/CheckInput.vue.d.ts +2 -1
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts +54 -0
- package/dist/components/form/inputs/ColorInput.vue.d.ts +3 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +2 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts +1 -0
- package/dist/components/form/inputs/EmailInput.vue.d.ts +5 -2
- package/dist/components/form/inputs/JSONInput.vue.d.ts +2 -1
- package/dist/components/form/inputs/MarkdownEditor.vue.d.ts +7 -2
- package/dist/components/form/inputs/NumberInput.vue.d.ts +2 -1
- package/dist/components/form/inputs/OTP.vue.d.ts +2 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +16 -10
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +3 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts +6 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts +2 -1
- package/dist/components/form/inputs/SelectBtn.vue.d.ts +2 -2
- package/dist/components/form/inputs/SelectBtn.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +20 -13
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts +6 -1
- package/dist/components/form/inputs/TableField.vue.d.ts +2 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts +2 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +3 -2
- package/dist/components/form/inputs/ToggleInput.vue.d.ts +2 -1
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +27 -6
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/upload.d.ts +1 -1
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layout/AppContent.vue.d.ts +1 -1
- package/dist/components/layout/AppContent.vue.d.ts.map +1 -1
- package/dist/components/layout/AppLayout.vue.d.ts +2 -0
- package/dist/components/layout/AppLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts +5 -1
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/components/layout/Panel.vue.d.ts.map +1 -1
- package/dist/components/layout/Resizable.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +12 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/components/layout/appLayoutContext.d.ts +24 -0
- package/dist/components/layout/appLayoutContext.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/useDevice.d.ts.map +1 -1
- package/dist/composables/useEscapeKey.d.ts +12 -0
- package/dist/composables/useEscapeKey.d.ts.map +1 -0
- package/dist/composables/useSchemaField.d.ts.map +1 -1
- package/dist/composables/useTheme.d.ts.map +1 -1
- package/dist/directives/ripple.d.ts.map +1 -1
- package/dist/form-flow/FormFlow.vue.d.ts.map +1 -1
- package/dist/form-flow/MultiStepForm.vue.d.ts +6 -1
- package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
- package/dist/form-flow/form-flow.d.ts +24 -1
- package/dist/form-flow/form-flow.d.ts.map +1 -1
- package/dist/i18n/index.d.ts +838 -0
- package/dist/index.cjs +200 -231
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +37533 -34638
- package/dist/style.css +2 -1
- package/dist/types/BagelForm.d.ts +10 -1
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/types/BtnOptions.d.ts.map +1 -1
- package/dist/types/NavLink.d.ts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts +1 -0
- package/dist/utils/calendar/dateUtils.d.ts +2 -2
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/options.d.ts.map +1 -1
- package/dist/utils/showdown.d.ts.map +1 -1
- package/dist/utils/useSearch.d.ts +1 -1
- package/package.json +3 -6
- package/src/components/Alert.vue +34 -14
- package/src/components/Badge.vue +145 -22
- package/src/components/Btn.vue +60 -47
- package/src/components/Dropdown.vue +5 -12
- package/src/components/FilterQuery.vue +1 -1
- package/src/components/Image.vue +3 -2
- package/src/components/JSONSchema.vue +2 -2
- package/src/components/JsonBuilder.vue +1 -1
- package/src/components/ListItem.vue +1 -3
- package/src/components/MapEmbed/Index.vue +10 -9
- package/src/components/NavBar.vue +2 -2
- package/src/components/Spreadsheet/Index.vue +1 -1
- package/src/components/Swiper.vue +3 -1
- package/src/components/Toast.vue +23 -8
- package/src/components/calendar/Index.vue +4 -4
- package/src/components/calendar/views/MonthView.vue +3 -3
- package/src/components/form/index.ts +0 -4
- package/src/components/form/inputs/EmailInput.vue +1 -1
- package/src/components/form/inputs/NumberInput.vue +1 -1
- package/src/components/form/inputs/OTP.vue +2 -2
- package/src/components/form/inputs/RadioGroup.vue +2 -2
- package/src/components/form/inputs/SelectBtn.vue +5 -3
- package/src/components/form/inputs/SelectInput.vue +4 -4
- package/src/components/form/inputs/TelInput.vue +2 -2
- package/src/components/form/inputs/TextInput.vue +1 -1
- package/src/components/form/inputs/Upload/upload.css +2 -2
- package/src/components/index.ts +2 -6
- package/src/components/layout/AppContent.vue +5 -19
- package/src/components/layout/AppLayout.vue +47 -18
- package/src/components/layout/AppSidebar.vue +16 -33
- package/src/components/layout/Resizable.vue +5 -2
- package/src/components/layout/TabsNav.vue +5 -5
- package/src/components/layout/appLayoutContext.ts +44 -0
- package/src/components/layout/index.ts +2 -0
- package/src/components/lightbox/Lightbox.vue +3 -9
- package/src/composables/index.ts +1 -0
- package/src/composables/useDevice.ts +2 -1
- package/src/composables/useEscapeKey.ts +56 -0
- package/src/composables/useSchemaField.ts +2 -17
- package/src/composables/useTheme.ts +23 -19
- package/src/directives/ripple.ts +23 -3
- package/src/form-flow/FormFlow.vue +2 -0
- package/src/form-flow/MultiStepForm.vue +9 -1
- package/src/form-flow/form-flow.ts +7 -0
- package/src/index.ts +0 -2
- package/src/styles/base-colors.css +176 -176
- package/src/styles/inputs.css +1 -1
- package/src/types/BagelForm.ts +46 -151
- package/src/types/BtnOptions.ts +5 -3
- package/src/types/index.ts +1 -1
- package/src/utils/constants.ts +7 -0
- package/src/utils/index.ts +57 -5
- package/src/utils/options.ts +2 -2
- package/src/utils/showdown.ts +7 -0
- package/src/utils/sizeParsing.ts +5 -5
- package/vite.config.ts +4 -1
- package/dist/components/Filter.vue.d.ts +0 -30
- package/dist/components/Filter.vue.d.ts.map +0 -1
- package/dist/components/QueryFilter.vue.d.ts +0 -30
- package/dist/components/QueryFilter.vue.d.ts.map +0 -1
- package/src/components/Carousel.vue +0 -724
- package/src/components/ImportData.vue +0 -1749
- package/src/components/Pill.vue +0 -150
- package/src/components/Slider.vue +0 -1446
- package/src/components/Title.vue +0 -23
- package/src/components/ToolBar.vue +0 -9
- package/src/components/form/BagelForm.vue +0 -219
- package/src/components/form/BglFieldSet.vue +0 -14
- package/src/components/form/BglMultiStepForm.vue +0 -469
- package/src/components/form/FieldArray.vue +0 -422
- package/src/components/form/useBagelFormState.ts +0 -76
- package/src/composables/useFormField.ts +0 -38
- package/src/dialog/DialogOLD.vue +0 -358
- package/src/utils/BagelFormUtils.ts +0 -684
|
@@ -37,6 +37,30 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
37
|
type: PropType<HighlightTheme>;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
|
+
frame: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
outline: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
minWidth: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
maxWidth: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
labelColor: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
labelActiveColor: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
40
64
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
65
|
"update:modelValue": (...args: any[]) => void;
|
|
42
66
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -76,6 +100,30 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
76
100
|
type: PropType<HighlightTheme>;
|
|
77
101
|
default: string;
|
|
78
102
|
};
|
|
103
|
+
frame: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
outline: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
minWidth: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
maxWidth: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
labelColor: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: undefined;
|
|
122
|
+
};
|
|
123
|
+
labelActiveColor: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
79
127
|
}>> & Readonly<{
|
|
80
128
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
81
129
|
}>, {
|
|
@@ -83,7 +131,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
83
131
|
height: string;
|
|
84
132
|
language: string;
|
|
85
133
|
disabled: boolean;
|
|
134
|
+
outline: boolean;
|
|
86
135
|
modelValue: string | Record<string, any>;
|
|
136
|
+
frame: boolean;
|
|
137
|
+
minWidth: string;
|
|
138
|
+
maxWidth: string;
|
|
139
|
+
labelColor: string;
|
|
140
|
+
labelActiveColor: string;
|
|
87
141
|
theme: HighlightTheme;
|
|
88
142
|
readonly: boolean;
|
|
89
143
|
autodetect: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
label?: string;
|
|
3
4
|
id?: string;
|
|
@@ -9,7 +10,8 @@ type __VLS_Props = {
|
|
|
9
10
|
nativeInputAttrs?: {
|
|
10
11
|
[key: string]: any;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
underlined?: boolean;
|
|
14
|
+
} & BagelInputShellProps;
|
|
13
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
16
|
"update:modelValue": (...args: any[]) => void;
|
|
15
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModeType } from '../../../utils/calendar/typings';
|
|
2
2
|
import { WEEK_START_DAY } from '../../../utils/calendar/time';
|
|
3
|
-
|
|
3
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
4
|
+
export interface DateInputProps extends BagelInputShellProps {
|
|
4
5
|
required?: boolean;
|
|
5
6
|
label?: string;
|
|
6
7
|
placeholder?: string;
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
enableTime?: boolean;
|
|
12
12
|
highlightedDates?: MaybeRefOrGetter<(string | Date)[]>;
|
|
13
13
|
disabledDates?: MaybeRefOrGetter<(string | Date)[]>;
|
|
14
|
+
allowedDates?: MaybeRefOrGetter<(string | Date)[]>;
|
|
14
15
|
autoSize?: boolean;
|
|
15
16
|
};
|
|
16
17
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IconType, ValidateInputBaseT } from '../../..';
|
|
2
|
-
|
|
2
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
3
|
+
export interface EmailInputProps extends ValidateInputBaseT, BagelInputShellProps {
|
|
3
4
|
id?: string;
|
|
4
5
|
title?: string;
|
|
5
6
|
helptext?: string;
|
|
@@ -19,7 +20,7 @@ export interface EmailInputProps extends ValidateInputBaseT {
|
|
|
19
20
|
};
|
|
20
21
|
icon?: IconType;
|
|
21
22
|
iconStart?: IconType;
|
|
22
|
-
autocomplete?:
|
|
23
|
+
autocomplete?: string;
|
|
23
24
|
autofocus?: boolean;
|
|
24
25
|
error?: string;
|
|
25
26
|
onFocusout?: (e: FocusEvent) => void;
|
|
@@ -27,6 +28,7 @@ export interface EmailInputProps extends ValidateInputBaseT {
|
|
|
27
28
|
autocorrect?: boolean;
|
|
28
29
|
serverValidate?: boolean;
|
|
29
30
|
preventFakeEmails?: boolean;
|
|
31
|
+
formatValidation?: boolean;
|
|
30
32
|
}
|
|
31
33
|
declare const _default: import('vue').DefineComponent<EmailInputProps, {
|
|
32
34
|
focus: () => void | undefined;
|
|
@@ -43,6 +45,7 @@ declare const _default: import('vue').DefineComponent<EmailInputProps, {
|
|
|
43
45
|
autocorrect: boolean;
|
|
44
46
|
serverValidate: boolean;
|
|
45
47
|
preventFakeEmails: boolean;
|
|
48
|
+
formatValidation: boolean;
|
|
46
49
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
47
50
|
input: HTMLInputElement;
|
|
48
51
|
}, HTMLDivElement>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
description?: string;
|
|
3
4
|
label?: string;
|
|
@@ -5,7 +6,7 @@ type __VLS_Props = {
|
|
|
5
6
|
placeholder?: string;
|
|
6
7
|
editMode?: boolean;
|
|
7
8
|
small?: boolean;
|
|
8
|
-
};
|
|
9
|
+
} & BagelInputShellProps;
|
|
9
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
11
|
"update:modelValue": (...args: any[]) => void;
|
|
11
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
2
|
+
interface Props extends BagelInputShellProps {
|
|
2
3
|
maxLength?: number;
|
|
3
4
|
placeholder?: string;
|
|
4
5
|
label?: string;
|
|
@@ -15,7 +16,11 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
15
16
|
"update:modelValue": (value: string) => any;
|
|
16
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
18
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
+
}>, {
|
|
20
|
+
label: string;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
showFormatting: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
24
|
textareaRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./TextInput.vue').TextInputProps> & Readonly<{
|
|
20
25
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
26
|
onDebounce?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IconType } from '../../..';
|
|
2
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
2
3
|
type NumberLayout = 'default' | 'vertical' | 'horizontal';
|
|
3
|
-
interface NumberInputProps {
|
|
4
|
+
interface NumberInputProps extends BagelInputShellProps {
|
|
4
5
|
modelValue?: number | string;
|
|
5
6
|
min?: number;
|
|
6
7
|
max?: number;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
digitCount: number;
|
|
3
4
|
default?: string;
|
|
4
5
|
modelValue?: string;
|
|
5
6
|
error?: string;
|
|
6
|
-
};
|
|
7
|
+
} & BagelInputShellProps;
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
"update:modelValue": (...args: any[]) => void;
|
|
9
10
|
complete: (...args: any[]) => void;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { IconType } from '../../..';
|
|
2
|
-
|
|
3
|
-
export interface TextInputProps {
|
|
1
|
+
import { IconType, ValidateInputBaseT } from '../../..';
|
|
2
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
3
|
+
export interface TextInputProps extends ValidateInputBaseT, BagelInputShellProps {
|
|
4
4
|
id?: string;
|
|
5
5
|
title?: string;
|
|
6
6
|
helptext?: string;
|
|
7
|
+
name?: string;
|
|
7
8
|
placeholder?: string;
|
|
9
|
+
modelValue?: string;
|
|
8
10
|
label?: string;
|
|
9
11
|
small?: boolean;
|
|
10
12
|
dense?: boolean;
|
|
11
13
|
required?: boolean;
|
|
12
14
|
pattern?: string;
|
|
15
|
+
defaultValue?: string;
|
|
13
16
|
shrink?: boolean;
|
|
14
17
|
underlined?: boolean;
|
|
15
18
|
disabled?: boolean;
|
|
16
|
-
|
|
19
|
+
type?: string;
|
|
17
20
|
nativeInputAttrs?: {
|
|
18
21
|
[key: string]: any;
|
|
19
22
|
};
|
|
@@ -22,16 +25,19 @@ export interface TextInputProps {
|
|
|
22
25
|
multiline?: boolean;
|
|
23
26
|
autoheight?: boolean;
|
|
24
27
|
code?: boolean;
|
|
25
|
-
|
|
28
|
+
rows?: number | string;
|
|
29
|
+
autocomplete?: string;
|
|
26
30
|
autofocus?: boolean;
|
|
27
|
-
|
|
28
|
-
autocomplete?: AutoFillField;
|
|
31
|
+
error?: string;
|
|
29
32
|
onFocusout?: (e: FocusEvent) => void;
|
|
33
|
+
onFocus?: (e: FocusEvent) => void;
|
|
34
|
+
}
|
|
35
|
+
export interface PasswordInputProps extends TextInputProps {
|
|
30
36
|
strengthMeter?: boolean;
|
|
31
|
-
error?: string;
|
|
32
37
|
}
|
|
38
|
+
type __VLS_Props = PasswordInputProps;
|
|
33
39
|
type __VLS_PublicProps = {
|
|
34
|
-
|
|
40
|
+
modelValue?: string;
|
|
35
41
|
'showPwd'?: boolean;
|
|
36
42
|
} & __VLS_Props;
|
|
37
43
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -42,7 +48,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
42
48
|
"onUpdate:showPwd"?: ((value: boolean) => any) | undefined;
|
|
43
49
|
}>, {
|
|
44
50
|
label: string;
|
|
45
|
-
autocomplete:
|
|
51
|
+
autocomplete: string;
|
|
46
52
|
strengthMeter: boolean;
|
|
47
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
54
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Option } from '../../..';
|
|
2
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
2
3
|
export interface RadioOption<T = any> {
|
|
3
4
|
imgAlt?: string;
|
|
4
5
|
imgSrc?: string;
|
|
@@ -36,10 +37,11 @@ declare const _default: <ContextObjType extends {
|
|
|
36
37
|
hideRadio?: boolean;
|
|
37
38
|
bgColor?: string;
|
|
38
39
|
activeBgColor?: string;
|
|
40
|
+
activeTextColor?: string;
|
|
39
41
|
borderColor?: string;
|
|
40
42
|
textColor?: string;
|
|
41
43
|
textAlign?: "left" | "center" | "right";
|
|
42
|
-
}) & Partial<{}>> & import('vue').PublicProps;
|
|
44
|
+
} & BagelInputShellProps) & Partial<{}>> & import('vue').PublicProps;
|
|
43
45
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
44
46
|
attrs: any;
|
|
45
47
|
slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"AA2LA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAI3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAG7D,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IACnC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,KAAK,EAAE,GAAG,CAAA;CACV;yBAEgB,cAAc,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAC7D,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,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;
|
|
1
|
+
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"AA2LA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe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;oBAJF,MAAM;iBAET,MAAM;mBADJ,MAAM;qBAJJ,MAAM;qBACN,MAAM;uBACJ,MAAM;;YAsQa,GAAG;;UA8C3B,4HAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA/SzE,wBA+S4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
2
|
+
export interface RangeInputProps extends BagelInputShellProps {
|
|
2
3
|
modelValue: number | [number, number];
|
|
3
4
|
min?: number;
|
|
4
5
|
max?: number;
|
|
@@ -10,6 +11,10 @@ export interface RangeInputProps {
|
|
|
10
11
|
rtl?: boolean;
|
|
11
12
|
multiRange?: boolean;
|
|
12
13
|
formatValue?: (value: number) => string;
|
|
14
|
+
/** צבע הרקע של הפס (track) */
|
|
15
|
+
trackColor?: string;
|
|
16
|
+
/** צבע הפס הפעיל והעיגול — ברירת מחדל: labelActiveColor או primary */
|
|
17
|
+
activeColor?: string;
|
|
13
18
|
}
|
|
14
19
|
declare function __VLS_template(): {
|
|
15
20
|
attrs: Partial<{}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ToolbarConfig } from './richTextTypes';
|
|
2
|
+
import { BagelInputShellProps } from '../bagelInputShell';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
modelValue: string;
|
|
4
5
|
toolbarConfig?: ToolbarConfig;
|
|
@@ -21,7 +22,7 @@ type __VLS_Props = {
|
|
|
21
22
|
autofocus?: boolean;
|
|
22
23
|
textColor?: string;
|
|
23
24
|
fontSize?: number | string;
|
|
24
|
-
};
|
|
25
|
+
} & BagelInputShellProps;
|
|
25
26
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
26
27
|
editor: {
|
|
27
28
|
state: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Option } from '../../..';
|
|
2
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
options: Option[];
|
|
4
5
|
label?: string;
|
|
5
6
|
required?: boolean;
|
|
6
7
|
error?: string;
|
|
7
8
|
thin?: boolean;
|
|
8
|
-
outline?: boolean;
|
|
9
9
|
multiselect?: boolean;
|
|
10
|
-
};
|
|
10
|
+
} & BagelInputShellProps;
|
|
11
11
|
type __VLS_PublicProps = {
|
|
12
12
|
'modelValue'?: string | number | (string | number)[] | null;
|
|
13
13
|
} & __VLS_Props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBtn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectBtn.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectBtn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectBtn.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAI3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAG7D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;CACrB,GAAG,oBAAoB,CAAC;AAmB1B,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;AAuB5C,KAAK,iBAAiB,GAAG;IACzB,YAAY,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,GAAG,IAAI,CAAC;CACjD,GAAG,WAAW,CAAC;;;;;;iBA7CA,OAAO;;AA4LvB,wBASG"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IconType, Option } from '../../..';
|
|
2
2
|
import { AlignedPlacement } from '../../Dropdown.vue';
|
|
3
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
3
4
|
type OptionsSource = Option[] | ((query: string) => Promise<Option[]>);
|
|
4
|
-
interface PropTypes {
|
|
5
|
+
interface PropTypes extends BagelInputShellProps {
|
|
5
6
|
options: OptionsSource;
|
|
6
7
|
placeholder?: string;
|
|
7
8
|
disabled?: boolean;
|
|
@@ -20,6 +21,10 @@ interface PropTypes {
|
|
|
20
21
|
searchPlaceholder?: string;
|
|
21
22
|
error?: string;
|
|
22
23
|
underlined?: boolean;
|
|
24
|
+
size?: 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
25
|
+
border?: boolean;
|
|
26
|
+
thin?: boolean;
|
|
27
|
+
round?: boolean;
|
|
23
28
|
}
|
|
24
29
|
declare function __VLS_template(): {
|
|
25
30
|
attrs: Partial<{}>;
|
|
@@ -59,13 +64,12 @@ declare function __VLS_template(): {
|
|
|
59
64
|
show: number;
|
|
60
65
|
hide: number;
|
|
61
66
|
} | undefined;
|
|
67
|
+
readonly referenceEl?: (Element | null) | undefined;
|
|
62
68
|
readonly onHide?: (() => any) | undefined;
|
|
63
69
|
readonly "onUpdate:shown"?: ((value: boolean) => any) | undefined;
|
|
64
70
|
readonly onShow?: (() => any) | undefined;
|
|
65
71
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
66
|
-
$attrs:
|
|
67
|
-
[x: string]: unknown;
|
|
68
|
-
};
|
|
72
|
+
$attrs: import('vue').Attrs;
|
|
69
73
|
$refs: {
|
|
70
74
|
[x: string]: unknown;
|
|
71
75
|
} & {
|
|
@@ -110,6 +114,7 @@ declare function __VLS_template(): {
|
|
|
110
114
|
show: number;
|
|
111
115
|
hide: number;
|
|
112
116
|
};
|
|
117
|
+
referenceEl?: Element | null;
|
|
113
118
|
}> & Readonly<{
|
|
114
119
|
onHide?: (() => any) | undefined;
|
|
115
120
|
"onUpdate:shown"?: ((value: boolean) => any) | undefined;
|
|
@@ -194,15 +199,16 @@ declare function __VLS_template(): {
|
|
|
194
199
|
show: number;
|
|
195
200
|
hide: number;
|
|
196
201
|
};
|
|
202
|
+
referenceEl?: Element | null;
|
|
197
203
|
}> & Readonly<{
|
|
198
204
|
onHide?: (() => any) | undefined;
|
|
199
205
|
"onUpdate:shown"?: ((value: boolean) => any) | undefined;
|
|
200
206
|
onShow?: (() => any) | undefined;
|
|
201
|
-
}>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> &
|
|
207
|
+
}>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> & {
|
|
202
208
|
show: () => Promise<void>;
|
|
203
209
|
hide: () => void;
|
|
204
|
-
shown:
|
|
205
|
-
}
|
|
210
|
+
shown: boolean;
|
|
211
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
206
212
|
$slots: {
|
|
207
213
|
trigger?(_: {
|
|
208
214
|
show: () => Promise<void>;
|
|
@@ -292,13 +298,12 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
|
|
|
292
298
|
show: number;
|
|
293
299
|
hide: number;
|
|
294
300
|
} | undefined;
|
|
301
|
+
readonly referenceEl?: (Element | null) | undefined;
|
|
295
302
|
readonly onHide?: (() => any) | undefined;
|
|
296
303
|
readonly "onUpdate:shown"?: ((value: boolean) => any) | undefined;
|
|
297
304
|
readonly onShow?: (() => any) | undefined;
|
|
298
305
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
299
|
-
$attrs:
|
|
300
|
-
[x: string]: unknown;
|
|
301
|
-
};
|
|
306
|
+
$attrs: import('vue').Attrs;
|
|
302
307
|
$refs: {
|
|
303
308
|
[x: string]: unknown;
|
|
304
309
|
} & {
|
|
@@ -343,6 +348,7 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
|
|
|
343
348
|
show: number;
|
|
344
349
|
hide: number;
|
|
345
350
|
};
|
|
351
|
+
referenceEl?: Element | null;
|
|
346
352
|
}> & Readonly<{
|
|
347
353
|
onHide?: (() => any) | undefined;
|
|
348
354
|
"onUpdate:shown"?: ((value: boolean) => any) | undefined;
|
|
@@ -427,15 +433,16 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
|
|
|
427
433
|
show: number;
|
|
428
434
|
hide: number;
|
|
429
435
|
};
|
|
436
|
+
referenceEl?: Element | null;
|
|
430
437
|
}> & Readonly<{
|
|
431
438
|
onHide?: (() => any) | undefined;
|
|
432
439
|
"onUpdate:shown"?: ((value: boolean) => any) | undefined;
|
|
433
440
|
onShow?: (() => any) | undefined;
|
|
434
|
-
}>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> &
|
|
441
|
+
}>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> & {
|
|
435
442
|
show: () => Promise<void>;
|
|
436
443
|
hide: () => void;
|
|
437
|
-
shown:
|
|
438
|
-
}
|
|
444
|
+
shown: boolean;
|
|
445
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
439
446
|
$slots: {
|
|
440
447
|
trigger?(_: {
|
|
441
448
|
show: () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuS8B,GAAG,8CAE9C,GAAG,yBAA0B,GAAE,6DACvC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkZT,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Options as SignaturePadOptions } from 'signature_pad';
|
|
2
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
2
3
|
export interface WaterMark {
|
|
3
4
|
text: string;
|
|
4
5
|
x: number;
|
|
@@ -23,7 +24,11 @@ type __VLS_Props = {
|
|
|
23
24
|
format?: FormatType;
|
|
24
25
|
clearable?: boolean;
|
|
25
26
|
required?: boolean;
|
|
26
|
-
|
|
27
|
+
label?: string;
|
|
28
|
+
helptext?: string;
|
|
29
|
+
penColor?: string;
|
|
30
|
+
backgroundColor?: string;
|
|
31
|
+
} & BagelInputShellProps;
|
|
27
32
|
declare function clear(): void;
|
|
28
33
|
declare function save(format?: FormatType): string | undefined;
|
|
29
34
|
declare function fromDataURL(url: string): Promise<void> | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
description?: string;
|
|
3
4
|
meta: {
|
|
@@ -6,7 +7,7 @@ type __VLS_Props = {
|
|
|
6
7
|
fieldname: string;
|
|
7
8
|
bagelApp?: any;
|
|
8
9
|
modelValue: any;
|
|
9
|
-
};
|
|
10
|
+
} & BagelInputShellProps;
|
|
10
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
12
|
"update:modelValue": (...args: any[]) => void;
|
|
12
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
id?: string;
|
|
3
4
|
label?: string;
|
|
@@ -9,7 +10,7 @@ type __VLS_Props = {
|
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
underlined?: boolean;
|
|
11
12
|
error?: string;
|
|
12
|
-
};
|
|
13
|
+
} & BagelInputShellProps;
|
|
13
14
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
15
|
input: (...args: any[]) => void;
|
|
15
16
|
paste: (...args: any[]) => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IconType, ValidateInputBaseT } from '../../..';
|
|
2
|
-
|
|
2
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
3
|
+
export interface TextInputProps extends ValidateInputBaseT, BagelInputShellProps {
|
|
3
4
|
id?: string;
|
|
4
5
|
title?: string;
|
|
5
6
|
helptext?: string;
|
|
@@ -25,7 +26,7 @@ export interface TextInputProps extends ValidateInputBaseT {
|
|
|
25
26
|
autoheight?: boolean;
|
|
26
27
|
code?: boolean;
|
|
27
28
|
rows?: number | string;
|
|
28
|
-
autocomplete?:
|
|
29
|
+
autocomplete?: string;
|
|
29
30
|
autofocus?: boolean;
|
|
30
31
|
error?: string;
|
|
31
32
|
onFocusout?: (e: FocusEvent) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BagelInputShellProps } from './bagelInputShell';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
label?: string;
|
|
3
4
|
id?: string;
|
|
@@ -5,7 +6,7 @@ type __VLS_Props = {
|
|
|
5
6
|
small?: boolean;
|
|
6
7
|
required?: boolean;
|
|
7
8
|
defaultValue?: boolean;
|
|
8
|
-
};
|
|
9
|
+
} & BagelInputShellProps;
|
|
9
10
|
type __VLS_PublicProps = {
|
|
10
11
|
'modelValue'?: boolean | undefined;
|
|
11
12
|
} & __VLS_Props;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { UploadInputProps } from '../../../../types/BagelForm';
|
|
2
|
-
type __VLS_Props = UploadInputProps & {
|
|
3
|
-
showIcon?: boolean;
|
|
4
|
-
icon?: string;
|
|
5
|
-
};
|
|
6
2
|
declare function __VLS_template(): {
|
|
7
3
|
attrs: Partial<{}>;
|
|
8
4
|
slots: {
|
|
@@ -29,6 +25,30 @@ declare function __VLS_template(): {
|
|
|
29
25
|
namespace?: string | undefined;
|
|
30
26
|
}[];
|
|
31
27
|
}): any;
|
|
28
|
+
'drop-placeholder'?(_: {
|
|
29
|
+
files: string[];
|
|
30
|
+
fileQueue: {
|
|
31
|
+
file: {
|
|
32
|
+
readonly lastModified: number;
|
|
33
|
+
readonly name: string;
|
|
34
|
+
readonly webkitRelativePath: string;
|
|
35
|
+
readonly size: number;
|
|
36
|
+
readonly type: string;
|
|
37
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
38
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
39
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
40
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
41
|
+
text: () => Promise<string>;
|
|
42
|
+
};
|
|
43
|
+
url?: string | undefined;
|
|
44
|
+
progress: number;
|
|
45
|
+
uploading?: boolean | undefined;
|
|
46
|
+
name?: string | undefined;
|
|
47
|
+
uploaded?: boolean | undefined;
|
|
48
|
+
namespace?: string | undefined;
|
|
49
|
+
}[];
|
|
50
|
+
browse: (autoFlush?: boolean) => void;
|
|
51
|
+
}): any;
|
|
32
52
|
placeholder?(_: {
|
|
33
53
|
files: string[];
|
|
34
54
|
fileQueue: {
|
|
@@ -58,15 +78,16 @@ declare function __VLS_template(): {
|
|
|
58
78
|
rootEl: HTMLDivElement;
|
|
59
79
|
};
|
|
60
80
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
61
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
81
|
+
declare const __VLS_component: import('vue').DefineComponent<UploadInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
82
|
"update:modelValue": (...args: any[]) => void;
|
|
63
83
|
addFileStart: (...args: any[]) => void;
|
|
64
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
84
|
+
}, string, import('vue').PublicProps, Readonly<UploadInputProps> & Readonly<{
|
|
65
85
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
66
86
|
onAddFileStart?: ((...args: any[]) => any) | undefined;
|
|
67
87
|
}>, {
|
|
68
88
|
icon: string;
|
|
69
89
|
height: string | "auto";
|
|
90
|
+
iconSize: number | string;
|
|
70
91
|
theme: "dropzone" | "basic";
|
|
71
92
|
accept: string;
|
|
72
93
|
showIcon: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/Upload/UploadInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UploadInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/Upload/UploadInput.vue"],"names":[],"mappings":"AAoQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAkGnE,iBAAS,cAAc;WAwjBT,OAAO,IAA6B;;;;;;;;;;;;;;;;;;;;;;;;YAZtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;YACW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;YACV,GAAG;;;;EAerC;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare function createUploadApi(options?: {
|
|
|
6
6
|
export declare const files: {
|
|
7
7
|
get: (pathKey?: string) => Promise<AxiosResponse<BglFile>>;
|
|
8
8
|
put: (bglFilePatch: BglFilePatch, pathKey?: string) => Promise<AxiosResponse<BglFile>>;
|
|
9
|
-
delete: (pathKey?: string) => Promise<AxiosResponse<any, any>>;
|
|
9
|
+
delete: (pathKey?: string) => Promise<AxiosResponse<any, any, {}>>;
|
|
10
10
|
upload: (file: File, options?: UploadOptions & {
|
|
11
11
|
dirPath?: string;
|
|
12
12
|
tags?: string[];
|
|
@@ -19,10 +19,12 @@ export { Draggable, useDraggable, vDraggable } from './draggable';
|
|
|
19
19
|
export { default as DragOver } from './DragOver.vue';
|
|
20
20
|
export { default as Dropdown } from './Dropdown.vue';
|
|
21
21
|
export { default as FieldSetVue } from './FieldSetVue.vue';
|
|
22
|
-
export { default as
|
|
22
|
+
export { default as FilterQuery } from './FilterQuery.vue';
|
|
23
|
+
export type { FilterField, QueryOption } from './FilterQuery.types';
|
|
23
24
|
export { default as Flag } from './Flag.vue';
|
|
24
25
|
export * from './form';
|
|
25
26
|
export { default as Icon } from './Icon/Icon.vue';
|
|
27
|
+
export { FONT_AWESOME_ICONS, FONT_AWESOME_BRANDS_ICONS, MATERIAL_ICONS } from './Icon/constants';
|
|
26
28
|
export { default as IframeVue } from './IframeVue.vue';
|
|
27
29
|
export { default as Image } from './Image.vue';
|
|
28
30
|
export { default as ImportData } from './ImportData.vue';
|