halov 0.26.629 → 0.26.810
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/DefaultPropertyForm.vue.d.ts +2 -2
- package/dist/components/HaloForm.vue.d.ts +2 -2
- package/dist/components/QuickSearchBox.vue.d.ts +14 -0
- package/dist/components/SystemIconInput.vue.d.ts +5 -5
- package/dist/composables/uiTools.d.ts +3 -0
- package/dist/halov.es.js +2787 -2721
- package/dist/halov.umd.cjs +6 -6
- package/dist/index.d.ts +2 -1
- package/dist/types/HaloTypes.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import { default as TopMenu } from './components/TopMenu.vue';
|
|
|
48
48
|
import { default as TreeView } from './components/TreeView.vue';
|
|
49
49
|
import { default as UserMenu } from './components/UserMenu.vue';
|
|
50
50
|
import { default as TabMenu } from './components/TabMenu.vue';
|
|
51
|
+
import { default as QuickSearchBox } from './components/QuickSearchBox.vue';
|
|
51
52
|
import { HalovOptions } from './config';
|
|
52
53
|
export * from './config';
|
|
53
54
|
export * from './composables/haloForm';
|
|
@@ -70,7 +71,7 @@ export * from './store/Common';
|
|
|
70
71
|
export * from './store/Tabs';
|
|
71
72
|
export * from './store/fontSizeStore';
|
|
72
73
|
export * from './store/UserConfig';
|
|
73
|
-
export { AppLogoBox, AppTabs, AutoScrollView, BarcodeImage, ChangePassword, ColorInput, DefaultPropertyForm, DetailPage, ExportModal, EmptyDetailView, FormInput, FullscreenSwitch, GridConfigModal, HaloButtonSelect, HaloDatePicker, HaloForm, HaloGrid, HaloModal, HaloModalInput, HaloSelect, HaloTagsInput, HaloTimePicker, HaloTransfer, ImportModal, InputModal, ListInputModal, MainDetailPanel, MenuIcon, NullableBooleanInput, NumberInputModal, ObjectTreeView, PhotoBox, PrintModal, PropertyGrid, QrModal, SearchCard, SearchForm, SearchModal, SearchPanel, SelectIconBox, SelectObjectModal, SideMenu, SystemIconInput, TagsView, ToolButton, TopMenu, TreeView, UserMenu, TabMenu };
|
|
74
|
+
export { AppLogoBox, AppTabs, AutoScrollView, BarcodeImage, ChangePassword, ColorInput, DefaultPropertyForm, DetailPage, ExportModal, EmptyDetailView, FormInput, FullscreenSwitch, GridConfigModal, HaloButtonSelect, HaloDatePicker, HaloForm, HaloGrid, HaloModal, HaloModalInput, HaloSelect, HaloTagsInput, HaloTimePicker, HaloTransfer, ImportModal, InputModal, ListInputModal, MainDetailPanel, MenuIcon, NullableBooleanInput, NumberInputModal, ObjectTreeView, PhotoBox, PrintModal, PropertyGrid, QrModal, SearchCard, SearchForm, SearchModal, SearchPanel, SelectIconBox, SelectObjectModal, SideMenu, SystemIconInput, TagsView, ToolButton, TopMenu, TreeView, UserMenu, TabMenu, QuickSearchBox };
|
|
74
75
|
declare const halovLibrary: {
|
|
75
76
|
install(app: App, options?: HalovOptions): void;
|
|
76
77
|
};
|
|
@@ -44,6 +44,7 @@ export interface ColumnSearchOptions {
|
|
|
44
44
|
role?: HaloItemRole | Array<HaloItemRole>;
|
|
45
45
|
field?: string;
|
|
46
46
|
}
|
|
47
|
+
export type FormEditorRenderFunction = (args: Object) => VNodeChild;
|
|
47
48
|
export interface HaloColumn {
|
|
48
49
|
name: string;
|
|
49
50
|
title?: string;
|
|
@@ -52,7 +53,7 @@ export interface HaloColumn {
|
|
|
52
53
|
role?: HaloItemRole | Array<HaloItemRole>;
|
|
53
54
|
editing?: "hidden" | "readonly" | "edit" | "create" | "full";
|
|
54
55
|
readonly?: boolean | Array<"edit" | "create" | "view">;
|
|
55
|
-
editor?: string |
|
|
56
|
+
editor?: string | FormEditorRenderFunction;
|
|
56
57
|
editorConfig?: Record<string, any>;
|
|
57
58
|
dataType?: "string" | "number" | "boolean" | "bool" | "date" | "datetime" | "time" | "timespan" | "password";
|
|
58
59
|
size?: "x-large" | "large" | "medium" | "small" | "x-small" | number;
|
|
@@ -113,7 +114,7 @@ export interface FormItem {
|
|
|
113
114
|
minValue?: number;
|
|
114
115
|
maxValue?: number;
|
|
115
116
|
group?: string;
|
|
116
|
-
editor?: string |
|
|
117
|
+
editor?: string | FormEditorRenderFunction;
|
|
117
118
|
editorConfig?: Record<string, any>;
|
|
118
119
|
sortable?: boolean;
|
|
119
120
|
template?: string;
|