@farris/ui-vue 1.3.1 → 1.3.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/components/accordion/index.esm.js +103 -99
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +301 -351
- package/components/avatar/index.umd.cjs +1 -1
- package/components/binding-selector/index.esm.js +444 -0
- package/components/binding-selector/index.umd.cjs +1 -0
- package/components/binding-selector/package.json +8 -0
- package/components/border-editor/index.esm.js +5 -3
- package/components/border-editor/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +143 -139
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +407 -396
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +266 -255
- package/components/capsule/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +628 -641
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +379 -374
- package/components/color-picker/index.umd.cjs +2 -2
- package/components/combo-list/index.esm.js +471 -471
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +155 -148
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/common/index.esm.js +487 -478
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +330 -279
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +1171 -1277
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +220 -204
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +4743 -4641
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +2916 -3019
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +2375 -2590
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +9518 -1198
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.esm.js +2 -1
- package/components/designer-outline/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +34 -38
- package/components/drawer/index.umd.cjs +1 -1
- package/components/dropdown/index.esm.js +149 -138
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +1602 -1740
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +159 -151
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +218 -218
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/event-parameter/index.esm.js +311 -0
- package/components/event-parameter/index.umd.cjs +1 -0
- package/components/event-parameter/package.json +8 -0
- package/components/events-editor/index.css +1 -1
- package/components/events-editor/index.esm.js +533 -563
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +95 -91
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/external-container/index.esm.js +2356 -2455
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.esm.js +3048 -3308
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +10537 -3249
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +9781 -1327
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +353 -341
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +510 -827
- package/components/input-group/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +278 -268
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +144 -136
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +2139 -2237
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +6414 -6367
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +5216 -5114
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.esm.js +252 -252
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +70 -70
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +486 -984
- package/components/nav/index.umd.cjs +3 -3
- package/components/number-range/index.esm.js +446 -498
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +363 -388
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +1050 -1308
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +134 -131
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +1072 -1082
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +412 -910
- package/components/pagination/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +214 -203
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.esm.js +1361 -1536
- package/components/property-editor/index.umd.cjs +2 -2
- package/components/property-panel/index.esm.js +650 -677
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +12344 -5048
- package/components/query-solution/index.umd.cjs +6 -1
- package/components/radio-button/index.esm.js +97 -97
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/radio-group/index.css +1 -1
- package/components/radio-group/index.esm.js +1821 -565
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +251 -244
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +151 -140
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +707 -676
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +719 -740
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +4977 -5249
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/search-box/index.esm.js +145 -134
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +348 -337
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +141 -130
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/splitter/index.esm.js +311 -301
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +231 -220
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +385 -432
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +1932 -1914
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tags/index.esm.js +351 -340
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +209 -199
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +388 -415
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +619 -666
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.esm.js +493 -486
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +3169 -3278
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +2320 -2418
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +563 -554
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +287 -276
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +368 -324
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +498 -487
- package/components/weather/index.umd.cjs +5 -5
- package/farris.all.esm.js +51302 -47651
- package/farris.all.umd.cjs +14 -9
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/binding-selector/index.d.ts +55 -0
- package/types/binding-selector/src/binding-selector.component.d.ts +11 -0
- package/types/binding-selector/src/binding-selector.props.d.ts +52 -0
- package/types/binding-selector/src/components/binding-selector-container.component.d.ts +13 -0
- package/types/binding-selector/src/composition/use-field-selection.d.ts +9 -0
- package/types/combo-list/src/components/list-container.component.d.ts +6 -6
- package/types/combo-list/src/components/list-container.props.d.ts +1 -1
- package/types/combo-tree/src/components/tree-container.component.d.ts +5 -5
- package/types/common/entity/entity-schema.d.ts +26 -11
- package/types/common/index.d.ts +1 -0
- package/types/common/types.d.ts +2 -2
- package/types/condition/src/condition-fields.design.component.d.ts +18 -0
- package/types/condition/src/types.d.ts +6 -6
- package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +20 -0
- package/types/data-grid/src/{designer/data-grid-column.props.d.ts → data-grid-column.props.d.ts} +1 -1
- package/types/data-grid/src/data-grid.props.d.ts +2 -2
- package/types/data-grid/src/designer/grid-field-editor.component.d.ts +14 -14
- package/types/data-grid/src/schema/schema-resolver.d.ts +1 -1
- package/types/data-view/composition/types.d.ts +2 -2
- package/types/date-picker/src/components/calendar/calendar.component.d.ts +3 -3
- package/types/date-picker/src/components/month/month.component.d.ts +3 -3
- package/types/date-picker/src/components/year/year.component.d.ts +3 -3
- package/types/designer-canvas/index.d.ts +2 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
- package/types/designer-canvas/src/composition/function/drag-resolve.d.ts +5 -0
- package/types/designer-canvas/src/composition/types.d.ts +49 -40
- package/types/designer-canvas/src/types.d.ts +8 -20
- package/types/dynamic-form/index.d.ts +1 -1
- package/types/dynamic-form/src/designer/form-group-use-designer-rules.d.ts +3 -0
- package/types/dynamic-form/src/schema/{schema-resolver.d.ts → response-form-schema-resolver.d.ts} +1 -1
- package/types/dynamic-form/src/types.d.ts +1 -1
- package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +5 -0
- package/types/dynamic-resolver/src/converter/row-number.converter.d.ts +3 -0
- package/types/entity-binding-selector/composition/use-entity-tree.d.ts +7 -0
- package/types/entity-binding-selector/entity-binding-selector.component.d.ts +11 -0
- package/types/entity-binding-selector/entity-binding-selector.props.d.ts +3 -0
- package/types/enum-editor/src/components/enum-editor-container.component.d.ts +3 -3
- package/types/enum-editor/src/enum-editor.component.d.ts +3 -3
- package/types/event-parameter/index.d.ts +31 -0
- package/types/event-parameter/src/composition/type.d.ts +77 -0
- package/types/event-parameter/src/composition/use-editor-combotree.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor-input.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor-select.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor-switch.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor.d.ts +3 -0
- package/types/event-parameter/src/event-parameter.component.d.ts +8 -0
- package/types/event-parameter/src/event-parameter.props.d.ts +34 -0
- package/types/external-container/src/designer/import-external-schema.component.d.ts +1 -1
- package/types/field-selector/src/field-selector.component.d.ts +1 -2
- package/types/field-selector/src/field-selector.props.d.ts +0 -9
- package/types/input-group/src/designer/use-input-group-rules.d.ts +1 -2
- package/types/list-view/src/designer/list-view-table.design.component.d.ts +15 -0
- package/types/list-view/src/list-view-table.component.d.ts +15 -0
- package/types/lookup/src/composition/use-user-data.d.ts +2 -2
- package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -6
- package/types/modal/src/composition/modal.service.d.ts +2 -1
- package/types/page-header/src/designer/page-header.design.component.d.ts +1 -1
- package/types/page-header/src/page-header.component.d.ts +1 -1
- package/types/property-panel/index.d.ts +2 -1
- package/types/property-panel/src/composition/entity/property-entity.d.ts +1 -1
- package/types/property-panel/src/composition/type.d.ts +0 -13
- package/types/query-solution/src/composition/types.d.ts +35 -4
- package/types/query-solution/src/composition/use-header.d.ts +21 -0
- package/types/query-solution/src/composition/{use-filter.d.ts → use-http.d.ts} +2 -2
- package/types/query-solution/src/composition/use-solution.d.ts +20 -0
- package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +17 -16
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +14 -14
- package/types/query-solution/src/property-config/query-solution.property-config.d.ts +3 -51
- package/types/query-solution/src/query-solution.d.ts +10 -2
- package/types/radio-group/src/designer/item-collection-editor-inner.component.d.ts +29 -0
- package/types/radio-group/src/designer/item-collection-editor.component.d.ts +29 -0
- package/types/radio-group/src/designer/item-collection-editor.props.d.ts +21 -0
- package/types/radio-group/src/schema/schema-mapper.d.ts +1 -0
- package/types/radio-group/src/schema/schema-resolver.d.ts +1 -0
- package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -0
- package/types/section/src/property-config/section.property-config.d.ts +17 -17
- package/types/section/src/schema/schema-resolver.d.ts +1 -2
- package/types/section/src/schema/toolbar-resolver.d.ts +1 -1
- package/types/tabs/src/composition/types.d.ts +4 -1
- package/types/tabs/src/property-config/tab-page.property-config.d.ts +9 -59
- package/types/tabs/src/property-config/tabs.property-config.d.ts +8 -71
- package/types/tabs/src/schema/schema-resolver.d.ts +1 -2
- package/types/text/src/composition/types.d.ts +4 -4
- package/types/textarea/src/property-config/textarea.property-config.d.ts +23 -0
- package/types/weather/src/composition/use-weather-charts.d.ts +15 -0
- package/types/weather/src/composition/use-weather-color.d.ts +15 -0
- package/types/weather/src/composition/use-weather-data.d.ts +15 -0
- package/types/weather/src/composition/use-weather-format-number.d.ts +15 -0
- package/types/property-panel/src/composition/entity/use-input-rules.d.ts +0 -3
- package/types/tree-grid/src/schema/column-resolver.d.ts +0 -3
- package/types/weather/src/composition/types.d.ts +0 -2
- /package/types/dynamic-form/src/designer/{use-designer-rules.d.ts → response-form-use-designer-rules.d.ts} +0 -0
- /package/types/dynamic-form/src/property-config/{form.property-config.d.ts → response-form.property-config.d.ts} +0 -0
|
@@ -16,10 +16,11 @@
|
|
|
16
16
|
import type { App } from 'vue';
|
|
17
17
|
import FPropertyPanel from './src/property-panel.component';
|
|
18
18
|
import { BaseControlProperty } from './src/composition/entity/base-property';
|
|
19
|
+
import { SchemaDOMMapping } from './src/composition/entity/schema-dom-mapping';
|
|
19
20
|
export * from './src/composition/props/property-panel-item.props';
|
|
20
21
|
export * from './src/composition/props/property-panel.props';
|
|
21
22
|
export * from './src/composition/type';
|
|
22
|
-
export { FPropertyPanel, BaseControlProperty };
|
|
23
|
+
export { FPropertyPanel, BaseControlProperty, SchemaDOMMapping };
|
|
23
24
|
declare const _default: {
|
|
24
25
|
install(app: App): void;
|
|
25
26
|
};
|
|
@@ -56,19 +56,6 @@ export interface FormUnifiedColumnLayout {
|
|
|
56
56
|
uniqueColClassInLG: number;
|
|
57
57
|
uniqueColClassInEL: number;
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* dom Json ViewModel 节点中states实体
|
|
61
|
-
*/
|
|
62
|
-
export declare class FormVariable {
|
|
63
|
-
id: string;
|
|
64
|
-
code: string;
|
|
65
|
-
name: string;
|
|
66
|
-
value?: any;
|
|
67
|
-
type: string;
|
|
68
|
-
category: string;
|
|
69
|
-
fields?: any[];
|
|
70
|
-
defaultValue?: any;
|
|
71
|
-
}
|
|
72
59
|
export interface IPropertyConfig {
|
|
73
60
|
getPropertyConfig(propertyData: any, eventsEditorUtils: any): any;
|
|
74
61
|
}
|
|
@@ -1,8 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
2
16
|
import { QuerySolution } from '../query-solution';
|
|
3
|
-
|
|
17
|
+
import { JSX } from "vue/jsx-runtime";
|
|
18
|
+
import { AxiosResponse } from 'axios';
|
|
19
|
+
export type TransferItme = {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
};
|
|
23
|
+
export interface UseSolution {
|
|
4
24
|
/**
|
|
5
|
-
*
|
|
25
|
+
* 生成默认筛选方案
|
|
6
26
|
*/
|
|
7
|
-
|
|
27
|
+
getDefaultSolution: () => QuerySolution;
|
|
28
|
+
loadAllSolution: () => void;
|
|
29
|
+
getGuid: () => string;
|
|
30
|
+
}
|
|
31
|
+
export interface UseHeader {
|
|
32
|
+
renderHeader: () => JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
export interface UseHttp {
|
|
35
|
+
createSolution: (solution: any) => Promise<AxiosResponse<any, any>>;
|
|
36
|
+
loadSolution: () => Promise<AxiosResponse<any, any>>;
|
|
37
|
+
updateSolution: (solution: any) => Promise<AxiosResponse<any, any>>;
|
|
38
|
+
getAuth: (type: string) => Promise<AxiosResponse<any, any>>;
|
|
8
39
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { UseHeader, UseHttp, UseSolution } from './types';
|
|
17
|
+
import { Ref, SetupContext } from 'vue';
|
|
18
|
+
import { QuerySolutionProps } from '../query-solution.props';
|
|
19
|
+
import { QuerySolution } from '../query-solution';
|
|
20
|
+
import { FieldConfig } from '../../../condition';
|
|
21
|
+
export declare function useHeader(props: QuerySolutionProps, context: SetupContext, useHttpComposition: UseHttp, useSolutionComposition: UseSolution, solutions: Ref<QuerySolution[]>, currentSolution: Ref<QuerySolution | null>, fields: Ref<FieldConfig[]>): UseHeader;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { UseHttp } from './types';
|
|
17
17
|
import { SetupContext } from 'vue';
|
|
18
18
|
import { QuerySolutionProps } from '../query-solution.props';
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function useHttp(props: QuerySolutionProps, context: SetupContext): UseHttp;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { UseHttp, UseSolution } from './types';
|
|
17
|
+
import { Ref, SetupContext } from 'vue';
|
|
18
|
+
import { QuerySolutionProps } from '../query-solution.props';
|
|
19
|
+
import { QuerySolution } from '../query-solution';
|
|
20
|
+
export declare function useSolution(props: QuerySolutionProps, context: SetupContext, useHttpComposition: UseHttp, solutions: Ref<QuerySolution[]>, currentSolution: Ref<QuerySolution | null>): UseSolution;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { Ref } from "vue";
|
|
17
17
|
import { TransFerItem } from '../query-solution-config.props';
|
|
18
18
|
import { JSX } from "vue/jsx-runtime";
|
|
19
|
-
export type ControlType = '
|
|
19
|
+
export type ControlType = 'number-spinner' | 'number-range' | 'combo-list' | 'lookup' | 'combo-lookup' | 'date-range' | 'date-picker' | 'date-time' | 'single-date-time' | 'month' | 'single-year' | 'radio-group' | 'input-group';
|
|
20
20
|
export interface UseTransfer {
|
|
21
21
|
selectPanels: Ref<TransFerItem[]>;
|
|
22
22
|
/**
|
|
@@ -27,20 +27,6 @@ export interface UseTransfer {
|
|
|
27
27
|
confirm: () => void;
|
|
28
28
|
cancel: () => void;
|
|
29
29
|
}
|
|
30
|
-
export interface UsePanel {
|
|
31
|
-
renderPanel: () => JSX.Element | null;
|
|
32
|
-
getExtendSchemaProerty: (controlType: ControlType) => Partial<PropertyItem>;
|
|
33
|
-
}
|
|
34
|
-
export interface UseProperty {
|
|
35
|
-
getPropertyConfig: (propertyData: PropertyItem) => PropertyConfig;
|
|
36
|
-
}
|
|
37
|
-
export interface PropertyConfig {
|
|
38
|
-
description: string;
|
|
39
|
-
title: string;
|
|
40
|
-
type: string;
|
|
41
|
-
readonly?: boolean;
|
|
42
|
-
categories: any;
|
|
43
|
-
}
|
|
44
30
|
export interface PropertyItem {
|
|
45
31
|
id: string;
|
|
46
32
|
code: string;
|
|
@@ -48,12 +34,13 @@ export interface PropertyItem {
|
|
|
48
34
|
name: string;
|
|
49
35
|
isExtend?: string;
|
|
50
36
|
controlType: ControlType;
|
|
51
|
-
|
|
37
|
+
class?: string;
|
|
52
38
|
require?: boolean;
|
|
53
39
|
precision?: number;
|
|
54
40
|
maxValue?: number;
|
|
55
41
|
minValue?: number;
|
|
56
42
|
uri?: string;
|
|
43
|
+
displayName?: string;
|
|
57
44
|
multiSelect?: boolean;
|
|
58
45
|
valueType?: Array<any>;
|
|
59
46
|
enumValue?: string;
|
|
@@ -76,3 +63,17 @@ export interface PropertyItem {
|
|
|
76
63
|
showLabel?: boolean;
|
|
77
64
|
[prop: string]: any;
|
|
78
65
|
}
|
|
66
|
+
export interface PropertyConfig {
|
|
67
|
+
description: string;
|
|
68
|
+
title: string;
|
|
69
|
+
type: string;
|
|
70
|
+
readonly?: boolean;
|
|
71
|
+
categories: any;
|
|
72
|
+
}
|
|
73
|
+
export interface UsePanel {
|
|
74
|
+
renderPanel: () => JSX.Element | null;
|
|
75
|
+
getExtendSchemaProerty: (controlType: ControlType) => Partial<PropertyItem>;
|
|
76
|
+
}
|
|
77
|
+
export interface UseProperty {
|
|
78
|
+
getPropertyConfig: (propertyData: PropertyItem) => PropertyConfig;
|
|
79
|
+
}
|
package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
16
|
import { ExtractPropTypes } from 'vue';
|
|
17
17
|
export type TransFerItem = {
|
|
18
18
|
id: string;
|
|
@@ -1,60 +1,12 @@
|
|
|
1
1
|
import { InputBaseProperty } from "../../../property-panel/src/composition/entity/input-base-property";
|
|
2
2
|
import { DesignerComponentInstance } from "../../../designer-canvas/src/types";
|
|
3
|
-
import { PropertyItem } from "../designer/query-solution-config/composition/types";
|
|
4
3
|
export declare class QuerySolutionPropertyConfig extends InputBaseProperty {
|
|
5
4
|
getPropertyConfig(propertyData: any, componentInstance: DesignerComponentInstance): {
|
|
6
5
|
type: string;
|
|
7
|
-
categories: {
|
|
8
|
-
basic: any;
|
|
9
|
-
appearance: any;
|
|
10
|
-
behavior: {
|
|
11
|
-
description: string;
|
|
12
|
-
title: string;
|
|
13
|
-
properties: {
|
|
14
|
-
isControlInline: {
|
|
15
|
-
description: string;
|
|
16
|
-
type: string;
|
|
17
|
-
title: string;
|
|
18
|
-
};
|
|
19
|
-
presetQuerySolutionName: {
|
|
20
|
-
description: string;
|
|
21
|
-
type: string;
|
|
22
|
-
title: string;
|
|
23
|
-
};
|
|
24
|
-
filterText: {
|
|
25
|
-
description: string;
|
|
26
|
-
type: string;
|
|
27
|
-
title: string;
|
|
28
|
-
};
|
|
29
|
-
expanded: {
|
|
30
|
-
description: string;
|
|
31
|
-
type: string;
|
|
32
|
-
title: string;
|
|
33
|
-
};
|
|
34
|
-
openAdvancedMode: {
|
|
35
|
-
description: string;
|
|
36
|
-
type: string;
|
|
37
|
-
title: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
lookup: {
|
|
42
|
-
description: string;
|
|
43
|
-
title: string;
|
|
44
|
-
properties: {
|
|
45
|
-
fields: {
|
|
46
|
-
description: string;
|
|
47
|
-
title: string;
|
|
48
|
-
type: string;
|
|
49
|
-
editor: {
|
|
50
|
-
type: string;
|
|
51
|
-
fields: PropertyItem[];
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
6
|
+
categories: {};
|
|
57
7
|
};
|
|
8
|
+
getBasicPropConfig(): void;
|
|
58
9
|
private getBehaviorConfig;
|
|
59
10
|
private getQuerySolutionConfig;
|
|
11
|
+
private getEventPropConfig;
|
|
60
12
|
}
|
|
@@ -7,6 +7,10 @@ export interface QuerySolution {
|
|
|
7
7
|
* 唯一性标识
|
|
8
8
|
*/
|
|
9
9
|
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* 所属表单
|
|
12
|
+
*/
|
|
13
|
+
belongId: string;
|
|
10
14
|
/**
|
|
11
15
|
* 查询方案编号
|
|
12
16
|
*/
|
|
@@ -18,11 +22,15 @@ export interface QuerySolution {
|
|
|
18
22
|
/**
|
|
19
23
|
* 查询条件
|
|
20
24
|
*/
|
|
21
|
-
conditions: Condition[];
|
|
25
|
+
conditions: Partial<Condition>[];
|
|
26
|
+
/**
|
|
27
|
+
* 数据存储格式
|
|
28
|
+
*/
|
|
29
|
+
queryConditionString?: string;
|
|
22
30
|
/**
|
|
23
31
|
* 是否系统预置查询方案
|
|
24
32
|
*/
|
|
25
|
-
|
|
33
|
+
isSystem: boolean;
|
|
26
34
|
/**
|
|
27
35
|
* 是否默认查询方案
|
|
28
36
|
* 初始时,为false
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft selectItem., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* 先假定 valueField和idField是同一个字段
|
|
18
|
+
* ToDo 支持不同字段
|
|
19
|
+
*/
|
|
20
|
+
declare const _default: import("vue").DefineComponent<{
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
}> & Readonly<{
|
|
25
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
[x: string]: any;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft selectItem., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* 先假定 valueField和idField是同一个字段
|
|
18
|
+
* ToDo 支持不同字段
|
|
19
|
+
*/
|
|
20
|
+
declare const _default: import("vue").DefineComponent<{
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
}> & Readonly<{
|
|
25
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
[x: string]: any;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { ExtractPropTypes } from 'vue';
|
|
17
|
+
export declare const itemCollectionEditorProps: Record<string, any>;
|
|
18
|
+
export type ItemCollectionEditorProps = ExtractPropTypes<typeof itemCollectionEditorProps>;
|
|
19
|
+
export declare const itemCollectionEditorPropsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
|
|
20
|
+
export declare const itemCollectionEditorInnerProps: Record<string, any>;
|
|
21
|
+
export type ItemCollectionEditorInnerProps = ExtractPropTypes<typeof itemCollectionEditorProps>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { DynamicResolver } from "../../../dynamic-resolver";
|
|
2
2
|
export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>): Record<string, any>;
|
|
3
|
+
export declare function itemCollectionEditorSchemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>): Record<string, any>;
|
|
@@ -27,24 +27,7 @@ export declare const sectionPropertyConfigs: {
|
|
|
27
27
|
}[];
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
mainTitle: {
|
|
31
|
-
title: string;
|
|
32
|
-
type: string;
|
|
33
|
-
description: string;
|
|
34
|
-
visible: {
|
|
35
|
-
showHeader: boolean;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
subTitle: {
|
|
39
|
-
title: string;
|
|
40
|
-
type: string;
|
|
41
|
-
description: string;
|
|
42
|
-
visible: {
|
|
43
|
-
showHeader: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
30
|
};
|
|
47
|
-
setPropertyRelates(changeObject: any, prop: any): void;
|
|
48
31
|
};
|
|
49
32
|
appearance: {
|
|
50
33
|
title: string;
|
|
@@ -63,6 +46,22 @@ export declare const sectionPropertyConfigs: {
|
|
|
63
46
|
type: string;
|
|
64
47
|
description: string;
|
|
65
48
|
};
|
|
49
|
+
mainTitle: {
|
|
50
|
+
title: string;
|
|
51
|
+
type: string;
|
|
52
|
+
description: string;
|
|
53
|
+
visible: {
|
|
54
|
+
showHeader: boolean;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
subTitle: {
|
|
58
|
+
title: string;
|
|
59
|
+
type: string;
|
|
60
|
+
description: string;
|
|
61
|
+
visible: {
|
|
62
|
+
showHeader: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
66
65
|
fill: {
|
|
67
66
|
title: string;
|
|
68
67
|
type: string;
|
|
@@ -77,6 +76,7 @@ export declare const sectionPropertyConfigs: {
|
|
|
77
76
|
};
|
|
78
77
|
};
|
|
79
78
|
};
|
|
79
|
+
setPropertyRelates(changeObject: any, prop: any): void;
|
|
80
80
|
};
|
|
81
81
|
extends: {
|
|
82
82
|
title: string;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { DesignerHostService } from "@/components/designer-canvas/src/composition/types";
|
|
2
1
|
import { DynamicResolver } from "../../../dynamic-resolver";
|
|
3
|
-
export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any
|
|
2
|
+
export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>): Record<string, any>;
|
|
@@ -59,8 +59,11 @@ export interface UseDesignTabs {
|
|
|
59
59
|
toolbarItems: Ref<any[]>;
|
|
60
60
|
removeDesignTab: (payload: MouseEvent, tabId: string) => void;
|
|
61
61
|
selectDesignTab: (payload: MouseEvent, tabId: string, componentInstance: DesignerComponentInstance) => void;
|
|
62
|
-
selectDesignTabToolbar: (payload: MouseEvent, tabId: string) => void;
|
|
63
62
|
toolbarSchema: Ref<ComponentSchema>;
|
|
63
|
+
changeToolbarItems: () => void;
|
|
64
|
+
addTabPageToolbar: (payload: MouseEvent, tabId: string) => void;
|
|
65
|
+
listenTabNavElementScroll: () => void;
|
|
66
|
+
setHorizontalScrollbarPosition: () => void;
|
|
64
67
|
}
|
|
65
68
|
export interface UseNav {
|
|
66
69
|
previousButtonClass: ComputedRef<Record<string, boolean>>;
|
|
@@ -1,60 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
description: string;
|
|
8
|
-
title: string;
|
|
9
|
-
properties: {
|
|
10
|
-
id: {
|
|
11
|
-
description: string;
|
|
12
|
-
title: string;
|
|
13
|
-
type: string;
|
|
14
|
-
readonly: boolean;
|
|
15
|
-
};
|
|
16
|
-
title: {
|
|
17
|
-
description: string;
|
|
18
|
-
title: string;
|
|
19
|
-
type: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
setPropertyRelates(changeObject: any, prop: any): void;
|
|
23
|
-
};
|
|
24
|
-
appearance: {
|
|
25
|
-
description: string;
|
|
26
|
-
title: string;
|
|
27
|
-
properties: {
|
|
28
|
-
class: {
|
|
29
|
-
description: string;
|
|
30
|
-
title: string;
|
|
31
|
-
};
|
|
32
|
-
style: {
|
|
33
|
-
description: string;
|
|
34
|
-
title: string;
|
|
35
|
-
};
|
|
36
|
-
width: {
|
|
37
|
-
description: string;
|
|
38
|
-
title: string;
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
height: {
|
|
42
|
-
description: string;
|
|
43
|
-
title: string;
|
|
44
|
-
type: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
behavior: {
|
|
49
|
-
description: string;
|
|
50
|
-
title: string;
|
|
51
|
-
properties: {
|
|
52
|
-
removeable: {
|
|
53
|
-
description: string;
|
|
54
|
-
type: string;
|
|
55
|
-
title: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
1
|
+
import { BaseControlProperty } from "../../../property-panel/src/composition/entity/base-property";
|
|
2
|
+
export declare class TabPageProperty extends BaseControlProperty {
|
|
3
|
+
constructor(componentId: string, designerHostService: any);
|
|
4
|
+
getPropertyConfig(propertyData: any): {
|
|
5
|
+
type: string;
|
|
6
|
+
categories: {};
|
|
59
7
|
};
|
|
60
|
-
|
|
8
|
+
getBehaviorProperties(propertyData: any): void;
|
|
9
|
+
getBasicPropConfig(propertyData: any): void;
|
|
10
|
+
}
|