@farris/ui-vue 1.5.8 → 1.5.9
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/avatar/index.esm.js +1 -1
- package/components/avatar/index.umd.cjs +1 -1
- package/components/component/index.esm.js +1 -1
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +1 -1
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +1 -1
- package/components/content-container/index.umd.cjs +1 -1
- package/components/designer-canvas/index.esm.js +904 -893
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/dynamic-form/index.esm.js +1 -1
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +1 -1
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +1 -1
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +1 -1
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/flow-canvas/index.esm.js +1 -1
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +1 -1
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +1 -1
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +795 -2822
- package/components/page-header/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +1 -1
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.esm.js +1 -1
- package/components/query-solution/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +1 -1
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/section/index.esm.js +119 -7475
- package/components/section/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +1 -1
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/video/index.esm.js +1 -1
- package/components/video/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +1 -1
- package/designer/data-grid/index.umd.cjs +1 -1
- package/designer/farris-designer.all.esm.js +946 -934
- package/designer/farris-designer.all.umd.cjs +4 -4
- package/designer/radio-group/index.esm.js +1 -1
- package/designer/radio-group/index.umd.cjs +1 -1
- package/designer/section/index.esm.js +744 -0
- package/designer/section/index.umd.cjs +1 -0
- package/farris.all.esm.js +10489 -10488
- package/farris.all.umd.cjs +16 -16
- package/package.json +1 -1
- package/types/designer-canvas/index.d.ts +2 -2
- package/types/section/designer.d.ts +26 -0
- package/types/section/index.d.ts +1 -0
- package/types/section/src/designer/section-header.design.component.d.ts +2 -2
- package/types/section/src/designer/section-toolbar-item.design.props.d.ts +16 -0
- package/types/section/src/designer/section-toolbar-item.props.d.ts +0 -1
- package/types/section/src/designer/section-toolbar.design.component.d.ts +2 -2
- package/types/section/src/designer/section.design.props.d.ts +11 -0
- package/types/section/src/designer/use-designer-rules.d.ts +1 -2
- package/types/section/src/property-config/section.property-config.d.ts +1 -1
- package/types/section/src/schema/schema-resolver.d.ts +1 -1
- package/types/section/src/section.props.d.ts +0 -10
- package/components/section/index.css +0 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import FDesignerItem from './src/components/designer-item.component';
|
|
|
3
3
|
import FDesignerInnerItem from './src/components/designer-inner-item.component';
|
|
4
4
|
import { DgControl } from './src/composition/dg-control';
|
|
5
5
|
import type { DesignerHostService, UseDesignerRules, DesignerHTMLElement, DraggingResolveContext } from './src/composition/types';
|
|
6
|
-
import { canvasChanged, setPositionForSelectedElement, setPositionOfButtonGroup } from './src/composition/designer-canvas-changed';
|
|
6
|
+
import { canvasChanged, setPositionForSelectedElement, setPositionOfButtonGroup, setPositionOfSelectedComponentBtnGroup } from './src/composition/designer-canvas-changed';
|
|
7
7
|
export * from './src/composition/props/designer-canvas.props';
|
|
8
8
|
export * from './src/composition/function/use-designer-component';
|
|
9
9
|
export * from './src/composition/function/use-designer-inner-component';
|
|
@@ -11,4 +11,4 @@ export * from './src/composition/rule/use-template-rule';
|
|
|
11
11
|
export * from './src/composition/rule/use-dragula-common-rule';
|
|
12
12
|
export * from './src/composition/types';
|
|
13
13
|
export * from './src/types';
|
|
14
|
-
export { FDesignerCanvas, canvasChanged, setPositionForSelectedElement, setPositionOfButtonGroup, FDesignerItem, DgControl, UseDesignerRules, DesignerHostService, DesignerHTMLElement, DraggingResolveContext, FDesignerInnerItem };
|
|
14
|
+
export { FDesignerCanvas, canvasChanged, setPositionForSelectedElement, setPositionOfButtonGroup, setPositionOfSelectedComponentBtnGroup, FDesignerItem, DgControl, UseDesignerRules, DesignerHostService, DesignerHTMLElement, DraggingResolveContext, FDesignerInnerItem };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
}> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<{
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
}> & Readonly<{}>, () => any, {}, {}, {}, {
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
}>;
|
|
18
|
+
__isFragment?: undefined;
|
|
19
|
+
__isTeleport?: undefined;
|
|
20
|
+
__isSuspense?: undefined;
|
|
21
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
}> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
26
|
+
export default _default;
|
package/types/section/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import Section from './src/section.component';
|
|
17
17
|
export * from './src/section.props';
|
|
18
|
+
export * from './src/designer/section-toolbar-item.props';
|
|
18
19
|
export { Section };
|
|
19
20
|
declare const _default: {
|
|
20
21
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignerItemContext } from '../../../designer-canvas/src/types';
|
|
2
1
|
import { SetupContext, Ref } from 'vue';
|
|
3
|
-
import {
|
|
2
|
+
import { DesignerItemContext } from '../../../designer-canvas';
|
|
3
|
+
import { SectionDesignProps } from './section.design.props';
|
|
4
4
|
export default function (props: SectionDesignProps, context: SetupContext, expandStatus: Ref<boolean>, sectionRef: Ref<any>, sectionParentElementRef: Ref<any>, maxStatus: Ref<boolean>, designItemContext: DesignerItemContext): () => any;
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
export declare const sectionToolbarItemResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
|
|
@@ -16,4 +16,3 @@
|
|
|
16
16
|
import { ExtractPropTypes } from 'vue';
|
|
17
17
|
export declare const sectionToolbarItemProps: Record<string, any>;
|
|
18
18
|
export type SectionToolbarItemProps = ExtractPropTypes<typeof sectionToolbarItemProps>;
|
|
19
|
-
export declare const sectionToolbarItemResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DesignerItemContext } from '../../../designer-canvas
|
|
2
|
-
import { SectionDesignProps } from '
|
|
1
|
+
import { DesignerItemContext } from '../../../designer-canvas';
|
|
2
|
+
import { SectionDesignProps } from './section.design.props';
|
|
3
3
|
export default function (props: SectionDesignProps, designerItemContext: DesignerItemContext): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const propsResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
|
|
3
|
+
export declare const eventHandlerResolver: import('../../../dynamic-resolver').EventHandlerResolver;
|
|
4
|
+
export declare const sectionDesignProps: Record<string, any> & {
|
|
5
|
+
componentId: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type SectionDesignProps = ExtractPropTypes<typeof sectionDesignProps>;
|
|
11
|
+
export declare const sectionToolbarPropsResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { DesignerHostService, UseDesignerRules } from
|
|
2
|
-
import { DesignerItemContext } from "../../../designer-canvas/src/types";
|
|
1
|
+
import { DesignerHostService, UseDesignerRules, DesignerItemContext } from '../../../designer-canvas';
|
|
3
2
|
export declare function useDesignerRules(designItemContext: DesignerItemContext, designerHostService?: DesignerHostService): UseDesignerRules;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseControlProperty } from
|
|
1
|
+
import { BaseControlProperty } from '../../../property-panel';
|
|
2
2
|
export declare class SectionProperty extends BaseControlProperty {
|
|
3
3
|
constructor(componentId: string, designerHostService: any);
|
|
4
4
|
getPropertyConfig(propertyData: any): {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DynamicResolver } from
|
|
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>;
|
|
@@ -28,13 +28,3 @@ export interface ButtonConfig {
|
|
|
28
28
|
export type ButtonPosition = 'inHead' | 'inContent';
|
|
29
29
|
export declare const sectionProps: Record<string, any>;
|
|
30
30
|
export type SectionProps = ExtractPropTypes<typeof sectionProps>;
|
|
31
|
-
export declare const propsResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
|
|
32
|
-
export declare const eventHandlerResolver: import("../../dynamic-resolver").EventHandlerResolver;
|
|
33
|
-
export declare const sectionDesignProps: Record<string, any> & {
|
|
34
|
-
componentId: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export type SectionDesignProps = ExtractPropTypes<typeof sectionDesignProps>;
|
|
40
|
-
export declare const sectionToolbarPropsResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.fv-grid-disabled{color:#0000004d}.fv-grid-header-cell.fv-grid-header-cell-border:after{background-color:transparent}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fv-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.fv-resizable-handle:hover{background:transparent}.fv-resizable-handle.fv-resizable-n{cursor:n-resize;height:.4375rem;width:100%;top:-.3125rem;left:0}.fv-resizable-handle.fv-resizable-e{cursor:e-resize;width:.4375rem;right:-.3125rem;height:100%;top:0}.fv-resizable-handle.fv-resizable-s{cursor:s-resize;height:.4375rem;width:100%;bottom:-.3125rem;left:0}.fv-resizable-handle.fv-resizable-w{cursor:w-resize;height:100%;width:.4375rem;left:-.3125rem;top:0}.fv-resizable-handle.fv-resizable-ne{cursor:ne-resize;width:.75rem;height:.75rem;right:1px;top:1px}.fv-resizable-handle.fv-resizable-se{cursor:se-resize;width:.75rem;height:.75rem;right:1px;bottom:1px}.fv-resizable-handle.fv-resizable-nw{cursor:nw-resize;width:.75rem;height:.75rem;left:1px;top:1px}.fv-resizable-handle.fv-resizable-sw{cursor:sw-resize;width:.75rem;height:.75rem;left:1px;bottom:1px}.exception_wrap{max-width:750px;display:flex;overflow:hidden;position:relative}.exception_error_msg{line-height:1.5;overflow:hidden;min-height:66px}.screenGroup{background:#ffffffe6;box-shadow:0 0 3px #024bc133;border-radius:8px;padding:2px 14px;margin:5px auto;flex:1 1 0!important}.screenGroup .screenName{width:90px;font-family:PingFangSC-Regular;font-size:14px;line-height:24px;color:#2a87ff;height:32px;padding:4px;text-align:left}.screenGroup .screen-input{flex:1 1 0}.screenGroup farris-combo-list{width:84px}.screenGroup .columnText{line-height:26px}.applyBtn{margin-top:5px;display:flex;justify-content:center}.applyBtn .btn{width:110px}.en .screenGroup{width:100%;flex-direction:column;align-items:flex-start}.en .screenGroup>div{width:100%;padding:0 10px 10px 0;margin-left:0!important}.en .screenGroup .screenName{width:auto}.en .screenGroup farris-combo-list{flex:1}.en .screenGroup .columnText{width:50px}.form-group-in-canvas .f-cmp-inputgroup .f-state-readonly .input-group-append{display:flex!important}.component-btn-group{flex-direction:row-reverse;position:absolute;z-index:800;background:#fff;display:none;top:-26px;right:0}.component-btn-group>div{position:fixed}.farris-component.farris-nested{padding-top:10px!important;padding-bottom:10px!important;border:dotted 2px #e8e8e8}.farris-component.farris-nested:not(.px-0){padding-right:10px!important;padding-left:10px!important}.farris-component.farris-nested.dgComponentFocused{border:dotted 2px #388fff}.farris-component.can-move{padding:2px}.farris-component.dgComponentSelected>.component-btn-group{display:flex}.component-btn-group .component-settings-button{display:flex;cursor:pointer;float:right;margin-left:4px;padding:0!important;font-size:10px;line-height:1.2em;border-radius:2px 2px 0 0;width:24px!important;height:24px!important;color:#fff!important;background:#388fff!important}.component-btn-group .component-settings-button+.component-settings-button{margin-left:4px!important}.component-btn-group .component-settings-button:last-child{margin-left:0!important}.component-btn-group .component-settings-button .f-icon{font-size:18px;margin:0 auto;line-height:20px}.component-btn-group .component-settings-button .f-icon.f-icon-yxs_move{cursor:move}.farris-component-content-container .drag-container{display:inherit;flex-direction:inherit;flex-shrink:1;flex-grow:1;flex-basis:0%;flex-wrap:inherit;justify-content:inherit;align-items:inherit;width:100%;overflow:inherit;height:inherit}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80)}.gu-mirror.undroppable .component-settings-button .f-icon-yxs_move{cursor:no-drop}.component-btn-group .component-settings-button .f-icon.f-icon-yxs_delete{color:#fff!important;background:#388fff!important}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20)}.drag-over:not(.no-drop){background-color:#f3f8ff!important}.gu-unselectable .farris-component.dgComponentSelected>.component-btn-group{display:none}.gu-unselectable .gu-mirror.farris-component.dgComponentSelected>.component-btn-group{display:flex}.gu-transit.farris-component.dgComponentSelected>.component-btn-group{display:none}.gu-mirror.farris-component.dgComponentSelected{position:fixed!important}.gu-mirror.farris-component.dgComponentSelected>.component-btn-group>div{position:relative;top:0!important;left:0!important}.gu-mirror.farris-component.dgComponentSelected>.component-btn-group{width:max-content}.dgComponentFocused{border-top:2px dotted #388fff!important;border-left:2px dotted #388fff!important;border-right:2px dotted #388fff!important;border-bottom:2px dotted #388fff!important}.dgComponentSelected{border-top:2px solid #388fff!important;border-left:2px solid #388fff!important;border-right:2px solid #388fff!important;border-bottom:2px solid #388fff!important}.editorDiv{background-color:#dbe6f7;overflow-x:auto}.editorPanel{position:relative;height:100%;min-width:900px}.editorDiv .f-struct-like-card{display:block}.editorDiv .farris-tabs.f-tabs-content-fill .f-struct-is-subgrid .f-grid-is-sub{width:100%}.ide-framework .cdk-overlay-container{z-index:1100}.editorDiv .f-struct-wrapper{margin-bottom:15px}.f-struct-wrapper+.f-struct-wrapper{position:relative;display:inherit;margin-bottom:15px}.f-page-is-mainsubcard .f-page-main .f-struct-wrapper{background:#fff}.editorDiv .f-page-navigate .f-page{position:absolute!important}.editorDiv .f-page-navigate .f-page.f-page-card .f-page-main>.drag-container{display:block;overflow:unset}.editorDiv .f-page.f-page-navigate.f-page-is-listnav-with-header .f-page-main .f-page-content-main{display:block}.editorDiv .f-page-has-scheme .f-page-main.farris-component{margin-top:0}.f-struct-subsub-wrapper{padding-top:0!important}.gu-mirror.undroppable{cursor:no-drop}.gu-insertion{position:fixed;z-index:840!important;pointer-events:none!important;background-color:#388fff;height:4px;overflow:hidden}.editorPanel .f-page .f-page-main{margin-right:.5rem!important;margin-left:.5rem!important;margin-bottom:.5rem!important}.editorPanel .f-page.f-page-is-listnav .f-page-main{margin-top:.5rem!important}.editorPanel .f-page .f-page-main .f-page-main{margin:0!important}.editorPanel .f-page.f-page-has-scheme .f-page-header{margin:0 .5rem}.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child{overflow:hidden}.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section-in-mainsubcard,.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section-in-main{height:100%}.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section.f-section-fill>.f-section-content{flex-basis:0%}.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section .f-component-tabs .f-tabs-content-fill{overflow:hidden}.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section .f-component-tabs .f-tabs-content-fill .farris-tabs-body>.farris-component-component{flex:1}.component-btn-group .settings-button-extend{padding:0 0 0 2px!important;width:auto!important;display:flex;align-items:center}.settings-button-extend .icon-text{margin:0 4px;font-size:13px;line-height:unset}.f-section-scheme{background:#fff;margin:.5625rem .5rem 0}.farris-component-tabs .farris-tabs-content.f-utils-fill-flex-column .farris-component-tab-page:has(.farris-tab-page-active){display:flex!important;overflow:hidden;flex-shrink:1;flex-grow:1;flex-basis:0;flex-direction:column!important}.response-layout{border:dotted 2px #e8e8e8}.response-layout .response-layout-item{border-right:dotted 2px #e8e8e8}.response-layout .response-layout-item:not(:last-child){padding-right:8px!important}
|