@fastkit/vui 1.2.0 → 1.3.0
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/vui.css +37 -0
- package/dist/vui.d.ts +321 -2
- package/dist/vui.mjs +455 -334
- package/dist/vui.mjs.map +1 -1
- package/package.json +12 -12
- package/src/components/VControlField/VControlField.scss +1 -0
- package/src/components/VFileInput/VFileInput.scss +42 -0
- package/src/components/VFileInput/VFileInput.tsx +178 -0
- package/src/components/VFileInput/index.ts +1 -0
- package/src/components/index.ts +1 -0
- package/src/injections.ts +1 -0
- package/src/service.tsx +1 -0
package/dist/vui.css
CHANGED
|
@@ -1361,6 +1361,7 @@
|
|
|
1361
1361
|
height:var(--control-field-height);
|
|
1362
1362
|
letter-spacing:var(--control-field-letter-spacing);
|
|
1363
1363
|
line-height:var(--control-field-line-height);
|
|
1364
|
+
min-height:var(--control-field-height);
|
|
1364
1365
|
min-width:0;
|
|
1365
1366
|
padding:0 8px;
|
|
1366
1367
|
position:relative;
|
|
@@ -1876,6 +1877,42 @@
|
|
|
1876
1877
|
color:var(--control-disabled-color);
|
|
1877
1878
|
font-style:italic;
|
|
1878
1879
|
}
|
|
1880
|
+
.v-file-input__inner{
|
|
1881
|
+
align-items:stretch;
|
|
1882
|
+
display:flex;
|
|
1883
|
+
}
|
|
1884
|
+
.v-file-input__button{
|
|
1885
|
+
border-bottom-right-radius:0;
|
|
1886
|
+
border-top-right-radius:0;
|
|
1887
|
+
flex:0 0 auto;
|
|
1888
|
+
height:auto;
|
|
1889
|
+
margin:0 0 1px;
|
|
1890
|
+
}
|
|
1891
|
+
.v-file-input__selections{
|
|
1892
|
+
align-items:center;
|
|
1893
|
+
align-self:stretch;
|
|
1894
|
+
display:flex;
|
|
1895
|
+
flex-wrap:wrap;
|
|
1896
|
+
padding:4px 6px;
|
|
1897
|
+
}
|
|
1898
|
+
.v-file-input__placeholder{
|
|
1899
|
+
color:var(--control-disabled-color);
|
|
1900
|
+
}
|
|
1901
|
+
.v-file-input__input{
|
|
1902
|
+
border-bottom-left-radius:0;
|
|
1903
|
+
border-top-left-radius:0;
|
|
1904
|
+
cursor:text;
|
|
1905
|
+
flex:1 1 100%;
|
|
1906
|
+
}
|
|
1907
|
+
.v-file-input__input__element{
|
|
1908
|
+
height:1px;
|
|
1909
|
+
overflow:hidden;
|
|
1910
|
+
position:absolute;
|
|
1911
|
+
white-space:nowrap;
|
|
1912
|
+
width:1px;
|
|
1913
|
+
clip:rect(0 0 0 0);
|
|
1914
|
+
clip-path:inset(100%);
|
|
1915
|
+
}
|
|
1879
1916
|
.v-tabs{
|
|
1880
1917
|
height:var(--tabs-height);
|
|
1881
1918
|
overflow:hidden;
|
package/dist/vui.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export * from '@fastkit/vue-app-layout';
|
|
|
19
19
|
import { VueColorSchemePluginSettings, ScopeName as ScopeName$1 } from '@fastkit/vue-color-scheme';
|
|
20
20
|
export * from '@fastkit/vue-color-scheme';
|
|
21
21
|
import * as _fastkit_vue_form_control from '@fastkit/vue-form-control';
|
|
22
|
-
import { FormSelectorControl, ResolvedFormSelectorItem, FormNodeControl, TextInputNodeEmits, FormNodeWrapperHinttipDelay, VueForm, RequiredChipSource, FormNodeWrapper, FormSelectorItemGroupControl, FormSelectorItemControl, FormGroupControl, VueFormServiceOptions } from '@fastkit/vue-form-control';
|
|
22
|
+
import { FormSelectorControl, ResolvedFormSelectorItem, FormNodeControl, TextInputNodeEmits, FormNodeWrapperHinttipDelay, VueForm, RequiredChipSource, FormNodeWrapper, FormSelectorItemGroupControl, FormSelectorItemControl, FileInputNodeControl, FileInputNodeEmits, FormGroupControl, VueFormServiceOptions } from '@fastkit/vue-form-control';
|
|
23
23
|
export * from '@fastkit/vue-form-control';
|
|
24
24
|
import { UseScroller } from '@fastkit/vue-scroller';
|
|
25
25
|
export * from '@fastkit/vue-scroller';
|
|
@@ -1996,6 +1996,7 @@ declare const VUI_RADIO_GROUP_SYMBOL = "vui-radio-group";
|
|
|
1996
1996
|
declare const VUI_RADIO_SYMBOL = "vui-radio";
|
|
1997
1997
|
declare const VUI_SWITCH_GROUP_SYMBOL = "vui-switch-group";
|
|
1998
1998
|
declare const VUI_SWITCH_SYMBOL = "vui-switch";
|
|
1999
|
+
declare const VUI_FILE_INPUT_SYMBOL = "vui-file-input";
|
|
1999
2000
|
declare const VUI_FORM_GROUP_SYMBOL = "vui-form-group";
|
|
2000
2001
|
declare const VUI_FORM_SYMBOL = "vui-form";
|
|
2001
2002
|
declare function useVui(): VuiService;
|
|
@@ -2073,6 +2074,7 @@ interface VuiServiceIconSettings {
|
|
|
2073
2074
|
hinttip: IconName;
|
|
2074
2075
|
clear: IconName;
|
|
2075
2076
|
reload: IconName;
|
|
2077
|
+
fileUpload: IconName;
|
|
2076
2078
|
}
|
|
2077
2079
|
type RawVuiServiceIconSettings = Partial<VuiServiceIconSettings>;
|
|
2078
2080
|
declare function mergeVuiServiceIconSettings(base: VuiServiceIconSettings, overrides?: RawVuiServiceIconSettings): VuiServiceIconSettings;
|
|
@@ -6520,6 +6522,323 @@ declare const VTextarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
6520
6522
|
rows: _fastkit_vue_utils.Numberish;
|
|
6521
6523
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
6522
6524
|
|
|
6525
|
+
declare function createFileInputProps(): {
|
|
6526
|
+
buttonText: {
|
|
6527
|
+
type: StringConstructor;
|
|
6528
|
+
default: string;
|
|
6529
|
+
};
|
|
6530
|
+
truncateLength: {
|
|
6531
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6532
|
+
default: number;
|
|
6533
|
+
};
|
|
6534
|
+
'v-slots': vue.PropType<{
|
|
6535
|
+
[x: `error:${string}`]: (error: _fastkit_vue_form_control.FormNodeError) => vue.VNodeChild;
|
|
6536
|
+
label?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6537
|
+
hint?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6538
|
+
infoAppends?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6539
|
+
error?: ((error: _fastkit_vue_form_control.FormNodeError) => vue.VNodeChild) | undefined;
|
|
6540
|
+
default?: (() => vue.VNodeChild) | undefined;
|
|
6541
|
+
startAdornment?: (() => vue.VNodeChild) | undefined;
|
|
6542
|
+
endAdornment?: (() => vue.VNodeChild) | undefined;
|
|
6543
|
+
selections?: ((control: FileInputNodeControl) => vue.VNodeChild) | undefined;
|
|
6544
|
+
}>;
|
|
6545
|
+
size: {
|
|
6546
|
+
type: vue.PropType<ControlSize>;
|
|
6547
|
+
validator: (value: any) => boolean;
|
|
6548
|
+
};
|
|
6549
|
+
loading: BooleanConstructor;
|
|
6550
|
+
variant: {
|
|
6551
|
+
type: vue.PropType<ControlFieldVariant>;
|
|
6552
|
+
validator: (value: any) => boolean;
|
|
6553
|
+
};
|
|
6554
|
+
startAdornment: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6555
|
+
endAdornment: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6556
|
+
tabindex: {
|
|
6557
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6558
|
+
default: number;
|
|
6559
|
+
};
|
|
6560
|
+
nodeControl: vue.PropType<_fastkit_vue_form_control.FormNodeControl>;
|
|
6561
|
+
label: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6562
|
+
hint: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6563
|
+
hinttip: vue.PropType<_fastkit_vue_form_control.FormNodeWrapperHinttip>;
|
|
6564
|
+
hinttipDelay: vue.PropType<_fastkit_vue_form_control.FormNodeWrapperHinttipDelay>;
|
|
6565
|
+
infoAppends: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6566
|
+
hiddenInfo: BooleanConstructor;
|
|
6567
|
+
requiredChip: vue.PropType<_fastkit_vue_form_control.RequiredChipSource>;
|
|
6568
|
+
collectErrorMessages: {
|
|
6569
|
+
type: BooleanConstructor;
|
|
6570
|
+
default: boolean;
|
|
6571
|
+
};
|
|
6572
|
+
theme: vue.PropType<ThemeName>;
|
|
6573
|
+
color: vue.PropType<ScopeName>;
|
|
6574
|
+
textColor: vue.PropType<PaletteName>;
|
|
6575
|
+
borderColor: vue.PropType<PaletteName>;
|
|
6576
|
+
accept: StringConstructor;
|
|
6577
|
+
capture: vue.PropType<vue.InputHTMLAttributes["capture"]>;
|
|
6578
|
+
multiple: {
|
|
6579
|
+
type: BooleanConstructor;
|
|
6580
|
+
default: boolean | undefined;
|
|
6581
|
+
};
|
|
6582
|
+
placeholder: StringConstructor;
|
|
6583
|
+
name: StringConstructor;
|
|
6584
|
+
tag: StringConstructor;
|
|
6585
|
+
modelValue: vue.Prop<File[], File[]>;
|
|
6586
|
+
autofocus: BooleanConstructor;
|
|
6587
|
+
disabled: BooleanConstructor;
|
|
6588
|
+
readonly: BooleanConstructor;
|
|
6589
|
+
viewonly: BooleanConstructor;
|
|
6590
|
+
spellcheck: BooleanConstructor;
|
|
6591
|
+
required: vue.PropType<boolean> | BooleanConstructor;
|
|
6592
|
+
clearable: BooleanConstructor;
|
|
6593
|
+
validateTiming: {
|
|
6594
|
+
type: vue.PropType<_fastkit_vue_form_control.ValidateTiming>;
|
|
6595
|
+
default: _fastkit_vue_form_control.ValidateTiming;
|
|
6596
|
+
};
|
|
6597
|
+
rules: {
|
|
6598
|
+
type: vue.PropType<_fastkit_vue_form_control.RecursiveVerifiableRuleOrFn>;
|
|
6599
|
+
default: () => never[];
|
|
6600
|
+
};
|
|
6601
|
+
validationDeps: vue.PropType<(nodeControl: _fastkit_vue_form_control.FormNodeControl) => any>;
|
|
6602
|
+
error: BooleanConstructor;
|
|
6603
|
+
errorMessages: vue.PropType<string | string[]>;
|
|
6604
|
+
showOwnErrors: {
|
|
6605
|
+
type: BooleanConstructor;
|
|
6606
|
+
default: undefined;
|
|
6607
|
+
};
|
|
6608
|
+
detach: BooleanConstructor;
|
|
6609
|
+
};
|
|
6610
|
+
type FileInputPropsOptions = ReturnType<typeof createFileInputProps>;
|
|
6611
|
+
type FileInputEmits = FileInputNodeEmits;
|
|
6612
|
+
type FileInputInput = ExtractPropInput<ReturnType<typeof createFileInputProps>>;
|
|
6613
|
+
declare const VFileInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6614
|
+
buttonText: {
|
|
6615
|
+
type: StringConstructor;
|
|
6616
|
+
default: string;
|
|
6617
|
+
};
|
|
6618
|
+
truncateLength: {
|
|
6619
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6620
|
+
default: number;
|
|
6621
|
+
};
|
|
6622
|
+
'v-slots': vue.PropType<{
|
|
6623
|
+
[x: `error:${string}`]: (error: _fastkit_vue_form_control.FormNodeError) => vue.VNodeChild;
|
|
6624
|
+
label?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6625
|
+
hint?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6626
|
+
infoAppends?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6627
|
+
error?: ((error: _fastkit_vue_form_control.FormNodeError) => vue.VNodeChild) | undefined;
|
|
6628
|
+
default?: (() => vue.VNodeChild) | undefined;
|
|
6629
|
+
startAdornment?: (() => vue.VNodeChild) | undefined;
|
|
6630
|
+
endAdornment?: (() => vue.VNodeChild) | undefined;
|
|
6631
|
+
selections?: ((control: FileInputNodeControl) => vue.VNodeChild) | undefined;
|
|
6632
|
+
}>;
|
|
6633
|
+
size: {
|
|
6634
|
+
type: vue.PropType<ControlSize>;
|
|
6635
|
+
validator: (value: any) => boolean;
|
|
6636
|
+
};
|
|
6637
|
+
loading: BooleanConstructor;
|
|
6638
|
+
variant: {
|
|
6639
|
+
type: vue.PropType<ControlFieldVariant>;
|
|
6640
|
+
validator: (value: any) => boolean;
|
|
6641
|
+
};
|
|
6642
|
+
startAdornment: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6643
|
+
endAdornment: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6644
|
+
tabindex: {
|
|
6645
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6646
|
+
default: number;
|
|
6647
|
+
};
|
|
6648
|
+
nodeControl: vue.PropType<_fastkit_vue_form_control.FormNodeControl>;
|
|
6649
|
+
label: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6650
|
+
hint: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6651
|
+
hinttip: vue.PropType<_fastkit_vue_form_control.FormNodeWrapperHinttip>;
|
|
6652
|
+
hinttipDelay: vue.PropType<_fastkit_vue_form_control.FormNodeWrapperHinttipDelay>;
|
|
6653
|
+
infoAppends: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6654
|
+
hiddenInfo: BooleanConstructor;
|
|
6655
|
+
requiredChip: vue.PropType<_fastkit_vue_form_control.RequiredChipSource>;
|
|
6656
|
+
collectErrorMessages: {
|
|
6657
|
+
type: BooleanConstructor;
|
|
6658
|
+
default: boolean;
|
|
6659
|
+
};
|
|
6660
|
+
theme: vue.PropType<ThemeName>;
|
|
6661
|
+
color: vue.PropType<ScopeName>;
|
|
6662
|
+
textColor: vue.PropType<PaletteName>;
|
|
6663
|
+
borderColor: vue.PropType<PaletteName>;
|
|
6664
|
+
accept: StringConstructor;
|
|
6665
|
+
capture: vue.PropType<vue.InputHTMLAttributes["capture"]>;
|
|
6666
|
+
multiple: {
|
|
6667
|
+
type: BooleanConstructor;
|
|
6668
|
+
default: boolean | undefined;
|
|
6669
|
+
};
|
|
6670
|
+
placeholder: StringConstructor;
|
|
6671
|
+
name: StringConstructor;
|
|
6672
|
+
tag: StringConstructor;
|
|
6673
|
+
modelValue: vue.Prop<File[], File[]>;
|
|
6674
|
+
autofocus: BooleanConstructor;
|
|
6675
|
+
disabled: BooleanConstructor;
|
|
6676
|
+
readonly: BooleanConstructor;
|
|
6677
|
+
viewonly: BooleanConstructor;
|
|
6678
|
+
spellcheck: BooleanConstructor;
|
|
6679
|
+
required: vue.PropType<boolean> | BooleanConstructor;
|
|
6680
|
+
clearable: BooleanConstructor;
|
|
6681
|
+
validateTiming: {
|
|
6682
|
+
type: vue.PropType<_fastkit_vue_form_control.ValidateTiming>;
|
|
6683
|
+
default: _fastkit_vue_form_control.ValidateTiming;
|
|
6684
|
+
};
|
|
6685
|
+
rules: {
|
|
6686
|
+
type: vue.PropType<_fastkit_vue_form_control.RecursiveVerifiableRuleOrFn>;
|
|
6687
|
+
default: () => never[];
|
|
6688
|
+
};
|
|
6689
|
+
validationDeps: vue.PropType<(nodeControl: _fastkit_vue_form_control.FormNodeControl) => any>;
|
|
6690
|
+
error: BooleanConstructor;
|
|
6691
|
+
errorMessages: vue.PropType<string | string[]>;
|
|
6692
|
+
showOwnErrors: {
|
|
6693
|
+
type: BooleanConstructor;
|
|
6694
|
+
default: undefined;
|
|
6695
|
+
};
|
|
6696
|
+
detach: BooleanConstructor;
|
|
6697
|
+
}>, () => vue_jsx_runtime.JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
6698
|
+
'update:modelValue': (value: File[]) => boolean;
|
|
6699
|
+
'update:errors': (errors: _fastkit_vue_form_control.FormNodeError[]) => boolean;
|
|
6700
|
+
change: (value: File[]) => boolean;
|
|
6701
|
+
focus: (ev: FocusEvent) => boolean;
|
|
6702
|
+
blur: (ev: FocusEvent) => boolean;
|
|
6703
|
+
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
6704
|
+
buttonText: {
|
|
6705
|
+
type: StringConstructor;
|
|
6706
|
+
default: string;
|
|
6707
|
+
};
|
|
6708
|
+
truncateLength: {
|
|
6709
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6710
|
+
default: number;
|
|
6711
|
+
};
|
|
6712
|
+
'v-slots': vue.PropType<{
|
|
6713
|
+
[x: `error:${string}`]: (error: _fastkit_vue_form_control.FormNodeError) => vue.VNodeChild;
|
|
6714
|
+
label?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6715
|
+
hint?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6716
|
+
infoAppends?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNodeChild) | undefined;
|
|
6717
|
+
error?: ((error: _fastkit_vue_form_control.FormNodeError) => vue.VNodeChild) | undefined;
|
|
6718
|
+
default?: (() => vue.VNodeChild) | undefined;
|
|
6719
|
+
startAdornment?: (() => vue.VNodeChild) | undefined;
|
|
6720
|
+
endAdornment?: (() => vue.VNodeChild) | undefined;
|
|
6721
|
+
selections?: ((control: FileInputNodeControl) => vue.VNodeChild) | undefined;
|
|
6722
|
+
}>;
|
|
6723
|
+
size: {
|
|
6724
|
+
type: vue.PropType<ControlSize>;
|
|
6725
|
+
validator: (value: any) => boolean;
|
|
6726
|
+
};
|
|
6727
|
+
loading: BooleanConstructor;
|
|
6728
|
+
variant: {
|
|
6729
|
+
type: vue.PropType<ControlFieldVariant>;
|
|
6730
|
+
validator: (value: any) => boolean;
|
|
6731
|
+
};
|
|
6732
|
+
startAdornment: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6733
|
+
endAdornment: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6734
|
+
tabindex: {
|
|
6735
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6736
|
+
default: number;
|
|
6737
|
+
};
|
|
6738
|
+
nodeControl: vue.PropType<_fastkit_vue_form_control.FormNodeControl>;
|
|
6739
|
+
label: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6740
|
+
hint: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6741
|
+
hinttip: vue.PropType<_fastkit_vue_form_control.FormNodeWrapperHinttip>;
|
|
6742
|
+
hinttipDelay: vue.PropType<_fastkit_vue_form_control.FormNodeWrapperHinttipDelay>;
|
|
6743
|
+
infoAppends: vue.PropType<_fastkit_vue_utils.VNodeChildOrSlot>;
|
|
6744
|
+
hiddenInfo: BooleanConstructor;
|
|
6745
|
+
requiredChip: vue.PropType<_fastkit_vue_form_control.RequiredChipSource>;
|
|
6746
|
+
collectErrorMessages: {
|
|
6747
|
+
type: BooleanConstructor;
|
|
6748
|
+
default: boolean;
|
|
6749
|
+
};
|
|
6750
|
+
theme: vue.PropType<ThemeName>;
|
|
6751
|
+
color: vue.PropType<ScopeName>;
|
|
6752
|
+
textColor: vue.PropType<PaletteName>;
|
|
6753
|
+
borderColor: vue.PropType<PaletteName>;
|
|
6754
|
+
accept: StringConstructor;
|
|
6755
|
+
capture: vue.PropType<vue.InputHTMLAttributes["capture"]>;
|
|
6756
|
+
multiple: {
|
|
6757
|
+
type: BooleanConstructor;
|
|
6758
|
+
default: boolean | undefined;
|
|
6759
|
+
};
|
|
6760
|
+
placeholder: StringConstructor;
|
|
6761
|
+
name: StringConstructor;
|
|
6762
|
+
tag: StringConstructor;
|
|
6763
|
+
modelValue: vue.Prop<File[], File[]>;
|
|
6764
|
+
autofocus: BooleanConstructor;
|
|
6765
|
+
disabled: BooleanConstructor;
|
|
6766
|
+
readonly: BooleanConstructor;
|
|
6767
|
+
viewonly: BooleanConstructor;
|
|
6768
|
+
spellcheck: BooleanConstructor;
|
|
6769
|
+
required: vue.PropType<boolean> | BooleanConstructor;
|
|
6770
|
+
clearable: BooleanConstructor;
|
|
6771
|
+
validateTiming: {
|
|
6772
|
+
type: vue.PropType<_fastkit_vue_form_control.ValidateTiming>;
|
|
6773
|
+
default: _fastkit_vue_form_control.ValidateTiming;
|
|
6774
|
+
};
|
|
6775
|
+
rules: {
|
|
6776
|
+
type: vue.PropType<_fastkit_vue_form_control.RecursiveVerifiableRuleOrFn>;
|
|
6777
|
+
default: () => never[];
|
|
6778
|
+
};
|
|
6779
|
+
validationDeps: vue.PropType<(nodeControl: _fastkit_vue_form_control.FormNodeControl) => any>;
|
|
6780
|
+
error: BooleanConstructor;
|
|
6781
|
+
errorMessages: vue.PropType<string | string[]>;
|
|
6782
|
+
showOwnErrors: {
|
|
6783
|
+
type: BooleanConstructor;
|
|
6784
|
+
default: undefined;
|
|
6785
|
+
};
|
|
6786
|
+
detach: BooleanConstructor;
|
|
6787
|
+
}>> & Readonly<{
|
|
6788
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
6789
|
+
onChange?: ((value: File[]) => any) | undefined;
|
|
6790
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
6791
|
+
"onUpdate:errors"?: ((errors: _fastkit_vue_form_control.FormNodeError[]) => any) | undefined;
|
|
6792
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
6793
|
+
}>, {
|
|
6794
|
+
loading: boolean;
|
|
6795
|
+
collectErrorMessages: boolean;
|
|
6796
|
+
tabindex: string | number;
|
|
6797
|
+
autofocus: boolean;
|
|
6798
|
+
disabled: boolean;
|
|
6799
|
+
readonly: boolean;
|
|
6800
|
+
viewonly: boolean;
|
|
6801
|
+
spellcheck: boolean;
|
|
6802
|
+
clearable: boolean;
|
|
6803
|
+
validateTiming: _fastkit_vue_form_control.ValidateTiming;
|
|
6804
|
+
rules: _fastkit_vue_form_control.RecursiveVerifiableRuleOrFn;
|
|
6805
|
+
error: boolean;
|
|
6806
|
+
showOwnErrors: boolean;
|
|
6807
|
+
detach: boolean;
|
|
6808
|
+
hiddenInfo: boolean;
|
|
6809
|
+
multiple: boolean;
|
|
6810
|
+
buttonText: string;
|
|
6811
|
+
truncateLength: string | number;
|
|
6812
|
+
}, _fastkit_vue_utils.DefinedSlots<{
|
|
6813
|
+
[x: `error:${string}`]: (error: _fastkit_vue_form_control.FormNodeError) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6814
|
+
[key: string]: any;
|
|
6815
|
+
}>[];
|
|
6816
|
+
label?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6817
|
+
[key: string]: any;
|
|
6818
|
+
}>[]) | undefined;
|
|
6819
|
+
hint?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6820
|
+
[key: string]: any;
|
|
6821
|
+
}>[]) | undefined;
|
|
6822
|
+
infoAppends?: ((wrapper: _fastkit_vue_form_control.FormNodeWrapper) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6823
|
+
[key: string]: any;
|
|
6824
|
+
}>[]) | undefined;
|
|
6825
|
+
error?: ((error: _fastkit_vue_form_control.FormNodeError) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6826
|
+
[key: string]: any;
|
|
6827
|
+
}>[]) | undefined;
|
|
6828
|
+
} & {
|
|
6829
|
+
default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6830
|
+
[key: string]: any;
|
|
6831
|
+
}>[]) | undefined;
|
|
6832
|
+
startAdornment?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6833
|
+
[key: string]: any;
|
|
6834
|
+
}>[]) | undefined;
|
|
6835
|
+
endAdornment?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6836
|
+
[key: string]: any;
|
|
6837
|
+
}>[]) | undefined;
|
|
6838
|
+
} & {
|
|
6839
|
+
selections?: (control: FileInputNodeControl) => any;
|
|
6840
|
+
}>, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
6841
|
+
|
|
6523
6842
|
type VFormGroupSlots = DefineSlotsType<{
|
|
6524
6843
|
default?: (form: FormGroupControl) => any;
|
|
6525
6844
|
}>;
|
|
@@ -7547,4 +7866,4 @@ declare class VuiPlugin {
|
|
|
7547
7866
|
}
|
|
7548
7867
|
declare function installVuiPlugin(app: App, opts: VuiPluginOptions): App<any>;
|
|
7549
7868
|
|
|
7550
|
-
export { ARROW_KEY_TYPES, AVATAR_SIZES, type AdornmentPosition, type AvatarSize, BUTTON_ALIGNS, type BreadcrumbsItem, type BusyImageLoadState, type BusyImageRect, type BusyImageRects, type BusyImageSizeValue, CHIP_SIZES, CHOICE_KEY_TYPES, CONTROL_FIELD_VARIANTS, CONTROL_LOADING_SPINNER_SIZES, CONTROL_SIZES, type ChipSize, type ContentSwitcherSeeTopOptions, type ControlFieldProvider, type ControlFieldProviderProps, type ControlFieldVariant, type ControlProps, type ControlProvider, type ControlSize, DISABLED_REASON_PROPS, type DataTableCellSlotPayload, type DataTableDefaults, type DataTableHeader, type DataTableHeaderAlign, type DataTableItem, type DataTableItemSlotPayload, type DataTableRowSettings, type DataTableRowSettingsFn, type DefineFormSelectorComponentOptions, type DisabledReasonInput, type DisabledReasonType, type ElevationProps, type GridContainerAlignContentValue, type GridContainerDirectionValue, type GridContainerJustifyContentValue, type GridContainerSpacingValue, type GridContainerWrapValue, type GridItemAlignValue, type GridItemJustifyValue, type GridItemNumberSizeValue, type GridItemSizeValue, type ImgHTMLAttributesPropOptions, type InputBoxSlots, KEYBOARD_EVENT_TYPES, type NavigationInput, type NavigationItemInput, PAGINATION_ALIGNS, type RawBreadcrumbsItem, type RawDataTableRowSettings, type RawIconProp, type RawVButtonIcon, type RawVButtonSpacer, type RawVChipIcon, type RawVuiPluginOptions, type RawVuiPromptOptions, type RawVuiServiceIconSettings, type RawVuiServiceOptions, type RawVuiServiceUISettings, type TextFieldEmits, type TextFieldInput, type TextFieldPropsOptions, type UseControlFieldProviderOptions, type UseControlProviderOptions, type UseElevationOptions, type UseLinkResult, VApp, VAvatar, VBreadcrumbs, VBusyImage, VButton, type VButtonAlign, VButtonGroup, type VButtonIcon, type VButtonProps, type VButtonResolvedProps, type VButtonSpacer, VCard, VCardActions, VCardContent, VCheckbox, VCheckboxGroup, VChip, type VChipIcon, VContentSwitcher, VControlField, VDataTable, VDialog, VDisabledReason, VDrawerLayout, VForm, VFormControl, VFormGroup, type VFormGroupSlots, type VFormSlots, VGridContainer, VGridItem, VHero, VIcon, VListTile, VMenu, VNavigation, VNavigationItem, VNumberField, VOption, VOptionGroup, VPagination, type VPaginationAlign, type VPaginationGuard, VPaper, VRadio, VRadioGroup, VSelect, VSheetModal, type VSheetModalSlots, VSkeltonLoaderBone, VSnackbar, VSwitch, VSwitchGroup, VTabs, type VTabsGuard, type VTabsItem, type VTabsItemLabelSlot, type VTabsItemLabelSlotCtx, type VTabsRouterHandler, VTextCounter, VTextField, VTextarea, VToolbar, VToolbarEdge, type VToolbarEdgeEdge, VToolbarMenu, type VToolbarMenuEdge, VToolbarTitle, VTooltip, VUI_CHECKBOX_GROUP_SYMBOL, VUI_CHECKBOX_SYMBOL, VUI_FORM_GROUP_SYMBOL, VUI_FORM_SYMBOL, VUI_OPTION_SYMBOL, VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL, VUI_SELECT_SYMBOL, VUI_SWITCH_GROUP_SYMBOL, VUI_SWITCH_SYMBOL, VUI_TEXTAREA_SYMBOL, VUI_TEXT_FIELD_SYMBOL, type VuiColorProvider, VuiColorProviderInjectionKey, VuiControlFieldInjectionKey, VuiControlInjectionKey, type VuiElevationValue, type VuiFormPromptSettings, VuiInjectionKey, VuiPlugin, type VuiPluginOptions, type VuiPluginStackOptions, type VuiPromptOptions, VuiService, type VuiServiceIconSettings, type VuiServiceOptions, type VuiServiceUISettings, type VuiVNodeResolver, configureDataTableDefaults, createAvatarProps, createCardProps, createChipProps, createControlFieldProps, createControlFieldProviderProps, createControlProps, createElevationProps, createListTileProps, createNavigationItemProps, createNavigationProps, createPaperBaseProps, createPaperProps, createRequiredChipRenderer, createVFormGroupProps, createVFormProps, defineFormSelectorComponent, formGroupSlots, formSlots, iconProps, installVuiPlugin, listTileEmits, mergeVuiPluginOptions, mergeVuiServiceIconSettings, mergeVuiServiceOptions, mergeVuiServiceUISettings, paginationProps, paperBaseSlots, rawIconProp, renderNavigationItemInput, resolveNavigationItemInput, resolveRawIconProp, sheetModalProps, splitAttrs, useControl, useControlField, useElevation, useVui, useVuiColorProvider, vueButtonProps };
|
|
7869
|
+
export { ARROW_KEY_TYPES, AVATAR_SIZES, type AdornmentPosition, type AvatarSize, BUTTON_ALIGNS, type BreadcrumbsItem, type BusyImageLoadState, type BusyImageRect, type BusyImageRects, type BusyImageSizeValue, CHIP_SIZES, CHOICE_KEY_TYPES, CONTROL_FIELD_VARIANTS, CONTROL_LOADING_SPINNER_SIZES, CONTROL_SIZES, type ChipSize, type ContentSwitcherSeeTopOptions, type ControlFieldProvider, type ControlFieldProviderProps, type ControlFieldVariant, type ControlProps, type ControlProvider, type ControlSize, DISABLED_REASON_PROPS, type DataTableCellSlotPayload, type DataTableDefaults, type DataTableHeader, type DataTableHeaderAlign, type DataTableItem, type DataTableItemSlotPayload, type DataTableRowSettings, type DataTableRowSettingsFn, type DefineFormSelectorComponentOptions, type DisabledReasonInput, type DisabledReasonType, type ElevationProps, type FileInputEmits, type FileInputInput, type FileInputPropsOptions, type GridContainerAlignContentValue, type GridContainerDirectionValue, type GridContainerJustifyContentValue, type GridContainerSpacingValue, type GridContainerWrapValue, type GridItemAlignValue, type GridItemJustifyValue, type GridItemNumberSizeValue, type GridItemSizeValue, type ImgHTMLAttributesPropOptions, type InputBoxSlots, KEYBOARD_EVENT_TYPES, type NavigationInput, type NavigationItemInput, PAGINATION_ALIGNS, type RawBreadcrumbsItem, type RawDataTableRowSettings, type RawIconProp, type RawVButtonIcon, type RawVButtonSpacer, type RawVChipIcon, type RawVuiPluginOptions, type RawVuiPromptOptions, type RawVuiServiceIconSettings, type RawVuiServiceOptions, type RawVuiServiceUISettings, type TextFieldEmits, type TextFieldInput, type TextFieldPropsOptions, type UseControlFieldProviderOptions, type UseControlProviderOptions, type UseElevationOptions, type UseLinkResult, VApp, VAvatar, VBreadcrumbs, VBusyImage, VButton, type VButtonAlign, VButtonGroup, type VButtonIcon, type VButtonProps, type VButtonResolvedProps, type VButtonSpacer, VCard, VCardActions, VCardContent, VCheckbox, VCheckboxGroup, VChip, type VChipIcon, VContentSwitcher, VControlField, VDataTable, VDialog, VDisabledReason, VDrawerLayout, VFileInput, VForm, VFormControl, VFormGroup, type VFormGroupSlots, type VFormSlots, VGridContainer, VGridItem, VHero, VIcon, VListTile, VMenu, VNavigation, VNavigationItem, VNumberField, VOption, VOptionGroup, VPagination, type VPaginationAlign, type VPaginationGuard, VPaper, VRadio, VRadioGroup, VSelect, VSheetModal, type VSheetModalSlots, VSkeltonLoaderBone, VSnackbar, VSwitch, VSwitchGroup, VTabs, type VTabsGuard, type VTabsItem, type VTabsItemLabelSlot, type VTabsItemLabelSlotCtx, type VTabsRouterHandler, VTextCounter, VTextField, VTextarea, VToolbar, VToolbarEdge, type VToolbarEdgeEdge, VToolbarMenu, type VToolbarMenuEdge, VToolbarTitle, VTooltip, VUI_CHECKBOX_GROUP_SYMBOL, VUI_CHECKBOX_SYMBOL, VUI_FILE_INPUT_SYMBOL, VUI_FORM_GROUP_SYMBOL, VUI_FORM_SYMBOL, VUI_OPTION_SYMBOL, VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL, VUI_SELECT_SYMBOL, VUI_SWITCH_GROUP_SYMBOL, VUI_SWITCH_SYMBOL, VUI_TEXTAREA_SYMBOL, VUI_TEXT_FIELD_SYMBOL, type VuiColorProvider, VuiColorProviderInjectionKey, VuiControlFieldInjectionKey, VuiControlInjectionKey, type VuiElevationValue, type VuiFormPromptSettings, VuiInjectionKey, VuiPlugin, type VuiPluginOptions, type VuiPluginStackOptions, type VuiPromptOptions, VuiService, type VuiServiceIconSettings, type VuiServiceOptions, type VuiServiceUISettings, type VuiVNodeResolver, configureDataTableDefaults, createAvatarProps, createCardProps, createChipProps, createControlFieldProps, createControlFieldProviderProps, createControlProps, createElevationProps, createListTileProps, createNavigationItemProps, createNavigationProps, createPaperBaseProps, createPaperProps, createRequiredChipRenderer, createVFormGroupProps, createVFormProps, defineFormSelectorComponent, formGroupSlots, formSlots, iconProps, installVuiPlugin, listTileEmits, mergeVuiPluginOptions, mergeVuiServiceIconSettings, mergeVuiServiceOptions, mergeVuiServiceUISettings, paginationProps, paperBaseSlots, rawIconProp, renderNavigationItemInput, resolveNavigationItemInput, resolveRawIconProp, sheetModalProps, splitAttrs, useControl, useControlField, useElevation, useVui, useVuiColorProvider, vueButtonProps };
|