urit-qf-ui 0.2.6 → 1.0.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/README.md +88 -22
- package/dist/components/UBaseInfo.vue.d.ts +22 -0
- package/dist/components/UCascader.vue.d.ts +22 -37
- package/dist/components/UDialog.vue.d.ts +94 -0
- package/dist/components/UForm.vue.d.ts +233 -0
- package/dist/components/UMenu.vue.d.ts +230 -11
- package/dist/components/UResults.vue.d.ts +23 -0
- package/dist/components/USearch.vue.d.ts +51 -0
- package/dist/components/UTable.vue.d.ts +54 -0
- package/dist/components/UTablePage.vue.d.ts +152 -0
- package/dist/index.d.ts +35 -20
- package/dist/index.js +3078 -3276
- package/dist/index.umd.cjs +1 -2
- package/dist/layout/UGrid.vue.d.ts +44 -0
- package/dist/model/base-info.d.ts +113 -0
- package/dist/model/cascader.d.ts +135 -0
- package/dist/model/form.d.ts +143 -0
- package/dist/model/grid.d.ts +53 -0
- package/dist/model/menu.d.ts +140 -0
- package/dist/model/results.d.ts +90 -0
- package/dist/model/search.d.ts +93 -0
- package/dist/model/table-page.d.ts +44 -0
- package/dist/model/table.d.ts +163 -0
- package/dist/parser/cascader.d.ts +35 -0
- package/dist/parser/form.d.ts +7 -0
- package/dist/parser/menu.d.ts +5 -0
- package/dist/parser/table-page.d.ts +15 -0
- package/dist/parser/yaml-parser.d.ts +41 -0
- package/dist/qf/http.d.ts +50 -28
- package/dist/qf/interface.d.ts +45 -4
- package/dist/qf/qf.d.ts +52 -6
- package/dist/style.css +1 -1
- package/dist/utils/base-info.d.ts +39 -0
- package/dist/utils/cascader.d.ts +45 -0
- package/dist/utils/form.d.ts +59 -0
- package/dist/utils/menu.d.ts +14 -0
- package/dist/utils/results.d.ts +38 -0
- package/dist/utils/search.d.ts +8 -0
- package/dist/utils/table.d.ts +16 -0
- package/package.json +1 -1
- package/dist/components/UDate.vue.d.ts +0 -47
- package/dist/components/UDict.vue.d.ts +0 -49
- package/dist/components/UInput.vue.d.ts +0 -52
- package/dist/components/UInputNumber.vue.d.ts +0 -52
- package/dist/components/UToggle.vue.d.ts +0 -54
- package/dist/show/UCascaderShow.vue.d.ts +0 -11
- package/dist/show/UDateShow.vue.d.ts +0 -15
- package/dist/show/UDictShow.vue.d.ts +0 -9
- package/dist/show/UFieldView.vue.d.ts +0 -24
- package/dist/show/UInputShow.vue.d.ts +0 -10
- package/dist/show/UToggleShow.vue.d.ts +0 -12
- package/dist/ts/constant.d.ts +0 -24
- package/dist/ts/dict.d.ts +0 -105
- package/dist/ts/form-render.d.ts +0 -30
- package/dist/ts/http.d.ts +0 -13
- package/dist/ts/model.d.ts +0 -202
- package/dist/ts/notify.d.ts +0 -42
- package/dist/ts/table-data-service.d.ts +0 -30
- package/dist/ts/table-render.d.ts +0 -210
- package/dist/uform/FormContainer.vue.d.ts +0 -37
- package/dist/uform/FormField.vue.d.ts +0 -16
- package/dist/uform/FormGrid.vue.d.ts +0 -24
- package/dist/uform/FormRender.vue.d.ts +0 -104
- package/dist/uform/TableDetail.vue.d.ts +0 -37
- package/dist/uform/TableGrid.vue.d.ts +0 -51
- package/dist/uform/TablePagination.vue.d.ts +0 -14
- package/dist/uform/TableRender.vue.d.ts +0 -618
- package/dist/uform/TableSearch.vue.d.ts +0 -38
- package/dist/uform/TableToolbar.vue.d.ts +0 -31
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,42 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
2
|
+
import { default as UForm } from './components/UForm.vue';
|
|
3
|
+
import { default as UTable } from './components/UTable.vue';
|
|
4
|
+
import { default as UTablePage } from './components/UTablePage.vue';
|
|
5
|
+
import { default as USearch } from './components/USearch.vue';
|
|
6
6
|
import { default as UCascader } from './components/UCascader.vue';
|
|
7
|
-
import { default as UDate } from './components/UDate.vue';
|
|
8
7
|
import { default as UMenu } from './components/UMenu.vue';
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { GetQf } from './qf/qf';
|
|
14
|
-
import { QfInterface } from './qf/interface';
|
|
8
|
+
import { default as UBaseInfo } from './components/UBaseInfo.vue';
|
|
9
|
+
import { default as UResults } from './components/UResults.vue';
|
|
10
|
+
import { default as UDialog } from './components/UDialog.vue';
|
|
11
|
+
import { default as UGrid } from './layout/UGrid.vue';
|
|
12
|
+
import { GetQf, getQf } from './qf/qf';
|
|
15
13
|
declare const _default: {
|
|
16
14
|
install(app: App): void;
|
|
17
15
|
};
|
|
18
16
|
export default _default;
|
|
19
|
-
export {
|
|
20
|
-
export type {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export type {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export type {
|
|
27
|
-
export {
|
|
17
|
+
export { UForm, UTable, UTablePage, USearch, UCascader, UMenu, UBaseInfo, UResults, UDialog, UGrid, };
|
|
18
|
+
export type { FormControlType, FormFieldOption, FormFieldConfig, FormOptions, FormFieldSlotProps, FormApi, FormLayout, FormConfig, } from './model/form';
|
|
19
|
+
export type { TableColumnType, TableColumnOption, TableColumnConfig, TableOptions, TableColumnSlotProps, TableActionSlotProps, TableActionConfig, } from './model/table';
|
|
20
|
+
export type { TablePageConfig, TablePageApi } from './model/table-page';
|
|
21
|
+
export type { SearchItemType, SearchOption, SearchItem, SearchOptions, SearchItemSlotProps, SearchSelectLevel, } from './model/search';
|
|
22
|
+
export type { CascaderOption, CascaderSource, CascaderOptions, CascaderLevel, CascaderLevelMeta, CascaderChangePayload, } from './model/cascader';
|
|
23
|
+
export type { MenuOptions, MenuConfig, MenuItem, MenuJumpType, MenuOpenType, MenuClickPayload, MenuItemSlotProps, } from './model/menu';
|
|
24
|
+
export type { GridOptions, CardOptions, GridCardSlotProps } from './model/grid';
|
|
25
|
+
export type { BaseInfoLabelAlign, BaseInfoLayout, BaseInfoItem, BaseInfoOptions, BaseInfoSlotProps, } from './model/base-info';
|
|
26
|
+
export type { ResultsAlign, ResultsColumn, ResultsOptions, ResultsCellSlotProps, } from './model/results';
|
|
27
|
+
export { getByPath, setByPath, isEmptyValue, toCssSize, getValidateTrigger, getDefaultModel, isRequiredField, nestedToFlat, flattenToNested, } from './utils/form';
|
|
28
|
+
export { getTableValue, toDisplayText, resolveTagOption, resolveColumnWidth, resolveColumnMinWidth, resolveColumnSlotName, isBareColumn, } from './utils/table';
|
|
29
|
+
export { defaultPlaceholder, cleanParams } from './utils/search';
|
|
30
|
+
export { isCascadedSelect, selectDepth, collectLevelFields, buildLevelSkeleton, buildSelectLevels, normalizeCascaderTree, } from './utils/cascader';
|
|
31
|
+
export { normalizeMenuList, normalizeMenuNode } from './utils/menu';
|
|
32
|
+
export { resolveColumns, resolveLayout, resolveLabelAlign, resolveLabelWidth, resolveColon, resolveItemValue, resolveItemSlotName, resolveSpan, gridStyle, DEFAULT_LABEL_WIDTH, DEFAULT_GAP, } from './utils/base-info';
|
|
33
|
+
export { resolveAlign, resolveResultsSlotName, getCellValue, buildGridTemplate, resolveSize, resolveColorVars, DEFAULT_HEADER_BG, DEFAULT_HEADER_COLOR, DEFAULT_ITEM_BG, DEFAULT_STRIPE_BG, RESULTS_LINE_COLOR, } from './utils/results';
|
|
34
|
+
export { YamlParser, formCfgApi } from './parser/yaml-parser';
|
|
35
|
+
export type { CfgType } from './parser/yaml-parser';
|
|
36
|
+
export { FormParser } from './parser/form';
|
|
37
|
+
export { TablePageParser } from './parser/table-page';
|
|
38
|
+
export { MenuParser } from './parser/menu';
|
|
39
|
+
export { CascaderParser } from './parser/cascader';
|
|
40
|
+
export { GetQf, getQf };
|
|
41
|
+
export type { QfInterface, QfOptions, HttpResponse } from './qf/interface';
|
|
42
|
+
export { resolveAppBase } from './qf/http';
|