@bagelink/vue 1.14.7 → 1.14.10
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 +6 -7
- package/dist/components/Btn.vue.d.ts +1 -1
- package/dist/components/Carousel.vue.d.ts +0 -11
- package/dist/components/Dropdown.vue.d.ts +0 -2
- package/dist/components/Filter.vue.d.ts +30 -0
- package/dist/components/Filter.vue.d.ts.map +1 -0
- package/dist/components/FilterQuery.vue.d.ts +8 -3
- package/dist/components/Modal.vue.d.ts +0 -1
- package/dist/components/QueryFilter.vue.d.ts +30 -0
- package/dist/components/QueryFilter.vue.d.ts.map +1 -0
- package/dist/components/Swiper.vue.d.ts +6 -12
- package/dist/components/Swiper.vue.d.ts.map +1 -1
- package/dist/components/analytics/PieChart.vue.d.ts +2 -2
- package/dist/components/calendar/CalendarPopover.vue.d.ts +8 -4
- package/dist/components/calendar/CalendarTypes.d.ts +0 -10
- package/dist/components/calendar/Index.vue.d.ts +4 -20
- package/dist/components/calendar/views/WeekView.vue.d.ts +1 -9
- package/dist/components/form/inputs/ArrayInput.vue.d.ts +2 -4
- package/dist/components/form/inputs/CheckInput.vue.d.ts +1 -2
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts +0 -54
- package/dist/components/form/inputs/ColorInput.vue.d.ts +1 -3
- package/dist/components/form/inputs/DateInput.vue.d.ts +1 -2
- package/dist/components/form/inputs/DatePicker.vue.d.ts +0 -1
- package/dist/components/form/inputs/EmailInput.vue.d.ts +2 -5
- package/dist/components/form/inputs/JSONInput.vue.d.ts +1 -2
- package/dist/components/form/inputs/MarkdownEditor.vue.d.ts +2 -7
- package/dist/components/form/inputs/NumberInput.vue.d.ts +1 -2
- package/dist/components/form/inputs/OTP.vue.d.ts +1 -2
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +10 -16
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +1 -3
- package/dist/components/form/inputs/RangeInput.vue.d.ts +1 -6
- package/dist/components/form/inputs/RichText/index.vue.d.ts +1 -2
- package/dist/components/form/inputs/SelectBtn.vue.d.ts +2 -2
- package/dist/components/form/inputs/SelectInput.vue.d.ts +13 -20
- package/dist/components/form/inputs/SignaturePad.vue.d.ts +1 -6
- package/dist/components/form/inputs/TableField.vue.d.ts +1 -2
- package/dist/components/form/inputs/TelInput.vue.d.ts +1 -2
- package/dist/components/form/inputs/TextInput.vue.d.ts +2 -3
- package/dist/components/form/inputs/ToggleInput.vue.d.ts +1 -2
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +6 -27
- package/dist/components/form/inputs/Upload/upload.d.ts +1 -1
- package/dist/components/form/inputs/index.d.ts +0 -1
- package/dist/components/index.d.ts +1 -3
- package/dist/components/layout/AppContent.vue.d.ts +1 -1
- package/dist/components/layout/AppLayout.vue.d.ts +0 -2
- package/dist/components/layout/AppSidebar.vue.d.ts +1 -5
- package/dist/components/layout/TabsNav.vue.d.ts +1 -12
- package/dist/form-flow/MultiStepForm.vue.d.ts +1 -6
- package/dist/form-flow/form-flow.d.ts +1 -24
- package/dist/i18n/index.d.ts +0 -838
- package/dist/index.cjs +187 -163
- package/dist/index.d.ts +0 -2
- package/dist/index.mjs +43492 -49344
- package/dist/style.css +1 -2
- package/dist/types/BagelForm.d.ts +1 -10
- package/dist/types/NavLink.d.ts +1 -2
- package/dist/types/index.d.ts +1 -2
- package/dist/utils/BagelFormUtils.d.ts +0 -1
- package/dist/utils/calendar/dateUtils.d.ts +2 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/useSearch.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import { ToString } from 'type-fest/source/internal';
|
|
|
3
3
|
import { LiteralStringUnion } from 'type-fest/source/literal-union';
|
|
4
4
|
import { PathsOptions, DefaultPathsOptions } from 'type-fest/source/paths';
|
|
5
5
|
import { VNode } from 'vue';
|
|
6
|
-
import { BagelInputShellProps } from '../components/form/inputs/bagelInputShell';
|
|
7
6
|
type ArrayAttrs = any;
|
|
8
7
|
interface Option {
|
|
9
8
|
label: string;
|
|
@@ -124,9 +123,8 @@ export interface ValidateInputBaseT {
|
|
|
124
123
|
}, string>;
|
|
125
124
|
getFormData?: () => any;
|
|
126
125
|
}
|
|
127
|
-
export interface UploadInputProps
|
|
126
|
+
export interface UploadInputProps {
|
|
128
127
|
id?: string;
|
|
129
|
-
name?: string;
|
|
130
128
|
label?: string;
|
|
131
129
|
multiple?: boolean;
|
|
132
130
|
modelValue?: string | string[];
|
|
@@ -142,15 +140,8 @@ export interface UploadInputProps extends BagelInputShellProps {
|
|
|
142
140
|
disabled?: boolean;
|
|
143
141
|
baseURL?: string;
|
|
144
142
|
placeholder?: string;
|
|
145
|
-
/** Alias for dropzone placeholder text (same as `placeholder` when theme is dropzone). */
|
|
146
|
-
dropPlaceholder?: string;
|
|
147
143
|
noFilePlaceholder?: string;
|
|
148
144
|
btnPlaceholder?: string;
|
|
149
|
-
error?: string;
|
|
150
|
-
showIcon?: boolean;
|
|
151
|
-
icon?: string;
|
|
152
|
-
iconSize?: number | string;
|
|
153
|
-
iconMobileSize?: number | string;
|
|
154
145
|
}
|
|
155
146
|
export {};
|
|
156
147
|
//# sourceMappingURL=BagelForm.d.ts.map
|
package/dist/types/NavLink.d.ts
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IconType, MaterialIcons } from '../components/Icon/types';
|
|
2
|
-
export type { AvailabilitySlot, CalendarEvent, CalendarProps, CalendarView, CalendarViewState } from '../components/calendar/CalendarTypes';
|
|
3
|
-
export type { IconType, MaterialIcons };
|
|
4
2
|
export type { ModalComponentProps, ModalComponentProps as ModalFormComponentProps, ModalOptions, } from '../plugins/modalTypes';
|
|
3
|
+
export type { IconType, MaterialIcons };
|
|
5
4
|
export type { AddToCalendarEvent } from '../utils/calendar/types';
|
|
6
5
|
export * from './BagelForm';
|
|
7
6
|
export * from './BtnOptions';
|
|
@@ -134,7 +134,6 @@ export interface ArrayAttrs<T, P extends Path<T>> extends Attributes<T, P> {
|
|
|
134
134
|
add?: boolean;
|
|
135
135
|
schema?: MaybeRefOrGetter<BglFormSchemaT<ArrayFieldVal<T, P>>>;
|
|
136
136
|
type?: ArrayType;
|
|
137
|
-
simple?: boolean;
|
|
138
137
|
}
|
|
139
138
|
export interface ArrayFieldOptions<T, K extends Path<T>> extends InputOptions<T, K>, ArrayAttrs<T, K> {
|
|
140
139
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { timeDelta, formatDate, fmtDate, handleTimezone, getDatePartsMap
|
|
2
|
-
export { fmtDate, formatDate, getDatePartsMap, handleTimezone, timeDelta
|
|
1
|
+
import { timeDelta, formatDate, fmtDate, handleTimezone, getDatePartsMap } from '@bagelink/utils';
|
|
2
|
+
export { fmtDate, formatDate, getDatePartsMap, handleTimezone, timeDelta };
|
|
3
3
|
export type { DateTimeAcceptedFormats, FormatDateOptions } from '@bagelink/utils';
|
|
4
4
|
type TimeAgoLang = 'en' | 'es' | 'fr' | 'he' | 'it' | 'ru';
|
|
5
5
|
export declare function timeAgo(date: string | Date, langOrConfig?: TimeAgoLang | {
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export { getOptionIcon, getOptionLabel, getOptionValue, normalizeOption } from '
|
|
|
29
29
|
export type { ComparisonOperator, FilterCondition, LogicalOperator, QueryConditions, QueryFilter } from './queryFilter';
|
|
30
30
|
export { anyOf, parseQuery, queryFilter, range, search } from './queryFilter';
|
|
31
31
|
export type { ShowdownConverter, ShowdownOptions } from './showdown';
|
|
32
|
-
export declare function pathKeyToURL(pathKey?: string
|
|
32
|
+
export declare function pathKeyToURL(pathKey?: string): string | undefined;
|
|
33
33
|
export declare function getNestedValue(obj: any, path?: string, defaultValue?: any): any;
|
|
34
34
|
export declare function tryRun<T>(func: () => T, callback?: (error: Error) => void): T | undefined;
|
|
35
35
|
export declare function downloadFile(source: string | Blob, fileName?: string): void;
|
|
@@ -14,7 +14,7 @@ export declare function normalizeText(text: string): string;
|
|
|
14
14
|
export interface SearchItemParams<T> {
|
|
15
15
|
searchTerm?: MaybeRefOrGetter<string>;
|
|
16
16
|
items?: MaybeRefOrGetter<T[]>;
|
|
17
|
-
keysToSearch?: string[];
|
|
17
|
+
keysToSearch?: (keyof T extends string ? keyof T : string)[];
|
|
18
18
|
fieldWeights?: Record<string, number>;
|
|
19
19
|
minChars?: number;
|
|
20
20
|
serverSearch?: (query: string) => Promise<T[]>;
|