@dynamicforms/vuetify-inputs 0.2.1 → 0.2.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/dynamicforms-vuetify-inputs.js +453 -452
- package/dist/dynamicforms-vuetify-inputs.js.map +1 -1
- package/dist/dynamicforms-vuetify-inputs.umd.cjs +14 -14
- package/dist/dynamicforms-vuetify-inputs.umd.cjs.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { GlobalComponents } from 'vue';
|
|
|
12
12
|
import { GlobalDirectives } from 'vue';
|
|
13
13
|
import { PublicProps } from 'vue';
|
|
14
14
|
import { Ref } from 'vue';
|
|
15
|
+
import { useDisplay } from 'vuetify';
|
|
15
16
|
import { ValidationError } from '@dynamicforms/vue-forms';
|
|
16
17
|
import { VAutocomplete } from 'vuetify/components/VAutocomplete';
|
|
17
18
|
import { VBtn } from 'vuetify/components/VBtn';
|
|
@@ -131,7 +132,7 @@ export declare interface BaseProps<T = any> {
|
|
|
131
132
|
clearable?: boolean;
|
|
132
133
|
}
|
|
133
134
|
|
|
134
|
-
export declare type BreakpointNames =
|
|
135
|
+
export declare type BreakpointNames = typeof responsiveBreakpoints[number];
|
|
135
136
|
|
|
136
137
|
export declare type BreakpointsJSON<T extends Record<string, any>> = T & Partial<Record<BreakpointNames, T>>;
|
|
137
138
|
|
|
@@ -320,6 +321,8 @@ export declare interface FileComms {
|
|
|
320
321
|
|
|
321
322
|
export declare type FileProgressCallback = (loaded: number, total: number) => void;
|
|
322
323
|
|
|
324
|
+
export declare function getBreakpointName(dp: ReturnType<typeof useDisplay>): BreakpointNames;
|
|
325
|
+
|
|
323
326
|
export declare const InputBase: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
324
327
|
|
|
325
328
|
export declare interface LabelRenderOptions {
|
|
@@ -379,12 +382,14 @@ declare interface Props_9 extends BaseProps {
|
|
|
379
382
|
maxRows?: number;
|
|
380
383
|
}
|
|
381
384
|
|
|
385
|
+
export declare const responsiveBreakpoints: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
386
|
+
|
|
382
387
|
export declare class ResponsiveLabelRenderOptions extends ResponsiveRenderOptions<LabelRenderOptions> {
|
|
383
388
|
protected cleanBreakpoint(bp?: LabelRenderOptions, defaultIfEmpty?: boolean): LabelRenderOptions | null;
|
|
384
389
|
}
|
|
385
390
|
|
|
386
391
|
export declare abstract class ResponsiveRenderOptions<T extends Record<string, any>> {
|
|
387
|
-
|
|
392
|
+
protected readonly _value: BreakpointsJSON<T>;
|
|
388
393
|
constructor(data?: BreakpointsJSON<T>);
|
|
389
394
|
getOptionsForBreakpoint(breakpoint: BreakpointNames): T;
|
|
390
395
|
protected abstract cleanBreakpoint(bp?: T, defaultIfEmpty?: boolean): T | null;
|