@fastkit/vui 0.16.8 → 0.16.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/vui.d.ts +3 -1
- package/dist/vui.mjs +10 -2
- package/dist/vui.mjs.map +1 -1
- package/package.json +14 -14
- package/src/plugin.tsx +14 -3
package/dist/vui.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export * from '@fastkit/vue-app-layout';
|
|
|
16
16
|
import { VueColorSchemePluginSettings, ScopeName as ScopeName$1 } from '@fastkit/vue-color-scheme';
|
|
17
17
|
export * from '@fastkit/vue-color-scheme';
|
|
18
18
|
import * as _fastkit_vue_form_control from '@fastkit/vue-form-control';
|
|
19
|
-
import { FormSelectorControl, ResolvedFormSelectorItem, FormNodeControl, TextInputEmits, FormControlHinttipDelay, VueForm, RequiredChipSource, FormControl, FormSelectorItemGroupControl, FormSelectorItemControl } from '@fastkit/vue-form-control';
|
|
19
|
+
import { FormSelectorControl, ResolvedFormSelectorItem, FormNodeControl, TextInputEmits, FormControlHinttipDelay, VueForm, RequiredChipSource, FormControl, FormSelectorItemGroupControl, FormSelectorItemControl, VueFormServiceOptions } from '@fastkit/vue-form-control';
|
|
20
20
|
export * from '@fastkit/vue-form-control';
|
|
21
21
|
import { UseScroller } from '@fastkit/vue-scroller';
|
|
22
22
|
export * from '@fastkit/vue-scroller';
|
|
@@ -7384,9 +7384,11 @@ interface VuiPluginStackOptions extends VueStackServiceOptions {
|
|
|
7384
7384
|
}
|
|
7385
7385
|
interface VuiPluginOptions extends VuiServiceOptions {
|
|
7386
7386
|
stack?: VuiPluginStackOptions;
|
|
7387
|
+
form?: VueFormServiceOptions;
|
|
7387
7388
|
}
|
|
7388
7389
|
interface RawVuiPluginOptions extends RawVuiServiceOptions {
|
|
7389
7390
|
stack?: VuiPluginStackOptions;
|
|
7391
|
+
form?: VueFormServiceOptions;
|
|
7390
7392
|
}
|
|
7391
7393
|
declare function mergeVuiPluginOptions(base: VuiPluginOptions, override?: RawVuiPluginOptions): VuiPluginOptions;
|
|
7392
7394
|
declare module 'vue' {
|
package/dist/vui.mjs
CHANGED
|
@@ -20,7 +20,7 @@ import { VAppContainer, VueAppLayout, VAppLayout, installVueAppLayout } from '@f
|
|
|
20
20
|
export * from '@fastkit/vue-app-layout';
|
|
21
21
|
import { colorSchemeProps, useColorClasses, useScopeColorClass, toScopeColorClass, useInjectTheme, VueColorSchemePlugin } from '@fastkit/vue-color-scheme';
|
|
22
22
|
export * from '@fastkit/vue-color-scheme';
|
|
23
|
-
import { createFormControlSettings, useFormControl, useParentFormNode, createFormSelectorItemSettings, useFormSelectorItemControl, createFormSelectorItemGroupProps, useFormSelectorItemGroupControl, createFormSelectorSettings, createFormControlProps, useFormSelectorControl, createTextInputSettings, useTextInputControl, createTextareaSettings, useTextareaControl, createFormSettings, useForm } from '@fastkit/vue-form-control';
|
|
23
|
+
import { createFormControlSettings, useFormControl, useParentFormNode, createFormSelectorItemSettings, useFormSelectorItemControl, createFormSelectorItemGroupProps, useFormSelectorItemGroupControl, createFormSelectorSettings, createFormControlProps, useFormSelectorControl, createTextInputSettings, useTextInputControl, createTextareaSettings, useTextareaControl, createFormSettings, useForm, installVueFormPlugin } from '@fastkit/vue-form-control';
|
|
24
24
|
export * from '@fastkit/vue-form-control';
|
|
25
25
|
import { getDocumentScroller, useVScrollerRef, VScroller } from '@fastkit/vue-scroller';
|
|
26
26
|
export * from '@fastkit/vue-scroller';
|
|
@@ -4860,17 +4860,25 @@ function mergeVuiPluginOptions(base, override) {
|
|
|
4860
4860
|
...override.stack
|
|
4861
4861
|
};
|
|
4862
4862
|
}
|
|
4863
|
+
if (override.form) {
|
|
4864
|
+
merged.form = {
|
|
4865
|
+
...merged.form,
|
|
4866
|
+
...override.form
|
|
4867
|
+
};
|
|
4868
|
+
}
|
|
4863
4869
|
return merged;
|
|
4864
4870
|
}
|
|
4865
4871
|
var VuiPlugin = class {
|
|
4866
4872
|
static install(app, opts) {
|
|
4867
4873
|
const {
|
|
4868
4874
|
colorScheme,
|
|
4869
|
-
stack
|
|
4875
|
+
stack,
|
|
4876
|
+
form
|
|
4870
4877
|
} = opts;
|
|
4871
4878
|
const vueColorSchemePlugin = new VueColorSchemePlugin(colorScheme);
|
|
4872
4879
|
app.use(vueColorSchemePlugin);
|
|
4873
4880
|
installVueStackPlugin(app, stack);
|
|
4881
|
+
installVueFormPlugin(app, form);
|
|
4874
4882
|
installVueAppLayout(app);
|
|
4875
4883
|
installBodyScrollLockDirective(app);
|
|
4876
4884
|
installClickOutsideDirective(app);
|