@kp-ui/lowcode-pc 1.0.0-alpha.1 → 1.0.0-alpha.2
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/assets/CustomerModal.mjs +3 -91
- package/assets/install.mjs +197 -41
- package/index.js +6 -2
- package/package.json +3 -3
- package/types/index.d.ts +1 -0
- package/types/pc/install.d.ts +9 -0
- package/types/core/src/components/DragBtn.vue.d.ts +0 -7
- package/types/core/src/components/HttpEditor.vue.d.ts +0 -46
- package/types/core/src/components/common/EventItemEditor.vue.d.ts +0 -12
- package/types/core/src/components/common/LowcodeI18nProvider.vue.d.ts +0 -17
- package/types/core/src/components/common/RenderWidgetList.vue.d.ts +0 -16
- package/types/core/src/components/common/desginer/FormWidgetContainer.vue.d.ts +0 -6
- package/types/core/src/components/common/desginer/RenderDesignerWrapper.vue.d.ts +0 -2
- package/types/core/src/components/common/desginer/WidgetWrapper.vue.d.ts +0 -30
- package/types/core/src/components/common/render/ActionButtonListDialog.vue.d.ts +0 -345
- package/types/core/src/components/common/render/Debugger.vue.d.ts +0 -10
- package/types/core/src/components/common/render/LowcodeRenderProvider.vue.d.ts +0 -26
- package/types/core/src/components/common/render/index.d.ts +0 -6
- package/types/core/src/components/common/render/useFormContext.d.ts +0 -148
- package/types/core/src/components/common/render/useFormDataProcessor.d.ts +0 -10
- package/types/core/src/components/contextMenu/WidgetContextMenu.vue.d.ts +0 -21
- package/types/core/src/components/contextMenu/useWidgetContextMenu.d.ts +0 -25
- package/types/core/src/components/index.d.ts +0 -17
- package/types/core/src/components/layout/LowcodeLayout.vue.d.ts +0 -24
- package/types/core/src/components/property-editor/index.d.ts +0 -3
- package/types/core/src/components/property-editor/propertyRegister.d.ts +0 -199
- package/types/core/src/components/property-editor/useEditor.d.ts +0 -19
- package/types/core/src/components/setting-plane/WidgetSettingPlane.vue.d.ts +0 -2
- package/types/core/src/components/setting-plane/form-crud-setting.vue.d.ts +0 -10
- package/types/core/src/components/setting-plane/form-setting.vue.d.ts +0 -332
- package/types/core/src/components/setting-plane/index.d.ts +0 -3
- package/types/core/src/components/setting-plane/index.vue.d.ts +0 -675
- package/types/core/src/components/settings/PanelItemDrag.vue.d.ts +0 -24
- package/types/core/src/components/settings/WidgetPanel.vue.d.ts +0 -20
- package/types/core/src/components/toolbar-panel/index.vue.d.ts +0 -689
- package/types/core/src/constants/EditorTypeEnum.d.ts +0 -151
- package/types/core/src/constants/LayoutTypeEnum.d.ts +0 -5
- package/types/core/src/constants/WidgetTypeEnum.d.ts +0 -65
- package/types/core/src/constants/index.d.ts +0 -12
- package/types/core/src/hooks/index.d.ts +0 -7
- package/types/core/src/hooks/useAppRef.d.ts +0 -9
- package/types/core/src/hooks/useDataHttp.d.ts +0 -207
- package/types/core/src/hooks/useDesigner.d.ts +0 -22
- package/types/core/src/hooks/useField.d.ts +0 -95
- package/types/core/src/hooks/useFormValidation.d.ts +0 -54
- package/types/core/src/hooks/useInputEvent.d.ts +0 -10
- package/types/core/src/hooks/useLowcode.d.ts +0 -22
- package/types/core/src/hooks/useNativeDragAndDrop.d.ts +0 -34
- package/types/core/src/hooks/useWidget.d.ts +0 -5
- package/types/core/src/lang/en-US.d.ts +0 -564
- package/types/core/src/lang/en-US_extension.d.ts +0 -23
- package/types/core/src/lang/en-US_render.d.ts +0 -38
- package/types/core/src/lang/zh-CN.d.ts +0 -584
- package/types/core/src/lang/zh-CN_extension.d.ts +0 -23
- package/types/core/src/lang/zh-CN_render.d.ts +0 -38
- package/types/core/src/types/button.d.ts +0 -17
- package/types/core/src/types/designer.d.ts +0 -74
- package/types/core/src/types/fileObject.d.ts +0 -7
- package/types/core/src/types/global.d.ts +0 -20
- package/types/core/src/types/index.d.ts +0 -8
- package/types/core/src/types/rowSelectionType.d.ts +0 -12
- package/types/core/src/types/schema.d.ts +0 -169
- package/types/core/src/types/widgetProps.d.ts +0 -8
- package/types/core/src/utils/emitter.d.ts +0 -17
- package/types/core/src/utils/event-bus.d.ts +0 -10
- package/types/core/src/utils/file.d.ts +0 -0
- package/types/core/src/utils/format.d.ts +0 -46
- package/types/core/src/utils/getFileName.d.ts +0 -1
- package/types/core/src/utils/i18n.d.ts +0 -27
- package/types/core/src/utils/index.d.ts +0 -7
- package/types/core/src/utils/insertAssetsToBody.d.ts +0 -3
- package/types/core/src/utils/request/handleAxiosError.d.ts +0 -11
- package/types/core/src/utils/request/http.d.ts +0 -4
- package/types/core/src/utils/smart-vue-i18n/index.d.ts +0 -11
- package/types/core/src/utils/transformWidgetList.d.ts +0 -2
- package/types/core/src/utils/useEmitter.d.ts +0 -31
- package/types/core/src/utils/util.d.ts +0 -81
- package/types/core/src/utils/validators.d.ts +0 -25
- package/types/pc/src/components/desginer/form-widget/container-widget/data-table-widget.vue.d.ts +0 -77
- package/types/pc/src/components/desginer/form-widget/container-widget/grid-col-widget.vue.d.ts +0 -16
- package/types/pc/src/components/desginer/form-widget/container-widget/grid-sub-form-widget.vue.d.ts +0 -5
- package/types/pc/src/components/desginer/form-widget/container-widget/grid-widget.vue.d.ts +0 -5
- package/types/pc/src/components/desginer/form-widget/container-widget/index.d.ts +0 -153
- package/types/pc/src/components/desginer/form-widget/container-widget/tab-widget.vue.d.ts +0 -5
- package/types/pc/src/components/desginer/form-widget/container-widget/useTableWidget.d.ts +0 -274
- package/types/pc/src/components/desginer/form-widget/container-widget/vf-box-widget.vue.d.ts +0 -32
- package/types/pc/src/components/desginer/form-widget/container-widget/vf-collapse-widget.vue.d.ts +0 -33
- package/types/pc/src/components/desginer/form-widget/container-widget/vf-dialog-widget.vue.d.ts +0 -4
- package/types/pc/src/components/desginer/form-widget/index.vue.d.ts +0 -171
- package/types/pc/src/components/desginer/index.vue.d.ts +0 -52
- package/types/pc/src/components/desginer/widget-panel/advanced/bpmn-editor.d.ts +0 -13
- package/types/pc/src/components/desginer/widget-panel/advanced/cascader.d.ts +0 -31
- package/types/pc/src/components/desginer/widget-panel/advanced/code-editor.d.ts +0 -18
- package/types/pc/src/components/desginer/widget-panel/advanced/data-table.d.ts +0 -52
- package/types/pc/src/components/desginer/widget-panel/advanced/diy-compontent.d.ts +0 -10
- package/types/pc/src/components/desginer/widget-panel/advanced/file-upload.d.ts +0 -24
- package/types/pc/src/components/desginer/widget-panel/advanced/index.d.ts +0 -8
- package/types/pc/src/components/desginer/widget-panel/advanced/rich-editor.d.ts +0 -22
- package/types/pc/src/components/desginer/widget-panel/advanced/tree-select.d.ts +0 -33
- package/types/pc/src/components/desginer/widget-panel/advanced/tree.d.ts +0 -27
- package/types/pc/src/components/desginer/widget-panel/advancedFieldsEnums.d.ts +0 -11
- package/types/pc/src/components/desginer/widget-panel/basicFields/button.d.ts +0 -17
- package/types/pc/src/components/desginer/widget-panel/basicFields/buttonList.d.ts +0 -22
- package/types/pc/src/components/desginer/widget-panel/basicFields/checkbox.d.ts +0 -27
- package/types/pc/src/components/desginer/widget-panel/basicFields/color.d.ts +0 -16
- package/types/pc/src/components/desginer/widget-panel/basicFields/date.d.ts +0 -29
- package/types/pc/src/components/desginer/widget-panel/basicFields/dateRange.d.ts +0 -29
- package/types/pc/src/components/desginer/widget-panel/basicFields/divider.d.ts +0 -12
- package/types/pc/src/components/desginer/widget-panel/basicFields/dropdown.d.ts +0 -18
- package/types/pc/src/components/desginer/widget-panel/basicFields/htmlText.d.ts +0 -11
- package/types/pc/src/components/desginer/widget-panel/basicFields/input.d.ts +0 -31
- package/types/pc/src/components/desginer/widget-panel/basicFields/number.d.ts +0 -26
- package/types/pc/src/components/desginer/widget-panel/basicFields/radio.d.ts +0 -38
- package/types/pc/src/components/desginer/widget-panel/basicFields/rate.d.ts +0 -23
- package/types/pc/src/components/desginer/widget-panel/basicFields/select.d.ts +0 -35
- package/types/pc/src/components/desginer/widget-panel/basicFields/slider.d.ts +0 -25
- package/types/pc/src/components/desginer/widget-panel/basicFields/staticText.d.ts +0 -11
- package/types/pc/src/components/desginer/widget-panel/basicFields/switch.d.ts +0 -19
- package/types/pc/src/components/desginer/widget-panel/basicFields/textarea.d.ts +0 -35
- package/types/pc/src/components/desginer/widget-panel/basicFields/time.d.ts +0 -26
- package/types/pc/src/components/desginer/widget-panel/basicFields/timeRange.d.ts +0 -27
- package/types/pc/src/components/desginer/widget-panel/basicFieldsEnums.d.ts +0 -38
- package/types/pc/src/components/desginer/widget-panel/containers/grid-col.d.ts +0 -17
- package/types/pc/src/components/desginer/widget-panel/containers/grid-sub-form.d.ts +0 -8
- package/types/pc/src/components/desginer/widget-panel/containers/grid.d.ts +0 -8
- package/types/pc/src/components/desginer/widget-panel/containers/index.d.ts +0 -8
- package/types/pc/src/components/desginer/widget-panel/containers/tab-pane.d.ts +0 -23
- package/types/pc/src/components/desginer/widget-panel/containers/tab.d.ts +0 -9
- package/types/pc/src/components/desginer/widget-panel/containers/vf-box.d.ts +0 -8
- package/types/pc/src/components/desginer/widget-panel/containers/vf-collapse.d.ts +0 -13
- package/types/pc/src/components/desginer/widget-panel/containers/vf-dialog.d.ts +0 -8
- package/types/pc/src/components/desginer/widget-panel/containersEnums.d.ts +0 -1
- package/types/pc/src/components/desginer/widget-panel/index.vue.d.ts +0 -8
- package/types/pc/src/components/desginer/widget-panel/widgetsConfig.d.ts +0 -28
- package/types/pc/src/components/field-widget/hooks/useSelect.d.ts +0 -72
- package/types/pc/src/components/field-widget/index.d.ts +0 -3
- package/types/pc/src/components/field-widget/useField.d.ts +0 -95
- package/types/pc/src/components/form-render/RenderWigetList.vue.d.ts +0 -27
- package/types/pc/src/components/form-render/container-items/data-table-widget.vue.d.ts +0 -95
- package/types/pc/src/components/form-render/container-items/grid-col-widget.vue.d.ts +0 -36
- package/types/pc/src/components/form-render/container-items/grid-sub-form-widget.vue.d.ts +0 -39
- package/types/pc/src/components/form-render/container-items/grid-widget.vue.d.ts +0 -35
- package/types/pc/src/components/form-render/container-items/index.d.ts +0 -255
- package/types/pc/src/components/form-render/container-items/tab-widget.vue.d.ts +0 -5
- package/types/pc/src/components/form-render/container-items/vf-box-widget.vue.d.ts +0 -32
- package/types/pc/src/components/form-render/container-items/vf-collapse-widget.vue.d.ts +0 -33
- package/types/pc/src/components/index.d.ts +0 -4
- package/types/pc/src/components/public/ActionButtonListRender.vue.d.ts +0 -121
- package/types/pc/src/components/public/ConfigView/CustomPageRender.vue.d.ts +0 -16
- package/types/pc/src/components/public/CustomerModal/CustomerModal.vue.d.ts +0 -14
- package/types/pc/src/components/public/CustomerModal/customerModal.d.ts +0 -6
- package/types/pc/src/components/public/CustomerModal/useCustomerModal.d.ts +0 -7
- package/types/pc/src/components/public/DynamicDialog.vue.d.ts +0 -97
- package/types/pc/src/components/render/index.vue.d.ts +0 -82
- package/types/pc/src/components/render/useRenderWidget.d.ts +0 -3
- package/types/pc/src/designer.d.ts +0 -233
- package/types/pc/src/hooks/useLowcode.d.ts +0 -21
- package/types/pc/src/hooks/useWidget.d.ts +0 -7
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions, OptionItem } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface DropdownWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
size: string;
|
|
4
|
-
displayStyle: string;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
hidden: boolean;
|
|
7
|
-
holdHidden: boolean;
|
|
8
|
-
type: string;
|
|
9
|
-
shape: string;
|
|
10
|
-
danger: boolean;
|
|
11
|
-
ghost: boolean;
|
|
12
|
-
placement: string;
|
|
13
|
-
menuList: OptionItem[];
|
|
14
|
-
customClass: string[];
|
|
15
|
-
}
|
|
16
|
-
export interface DropdownWidget extends Widget<DropdownWidgetOptionsType> {
|
|
17
|
-
}
|
|
18
|
-
export declare const dropdown: (ops?: any) => DropdownWidget;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface HtmlTextWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
columnWidth: string;
|
|
4
|
-
hidden: boolean;
|
|
5
|
-
holdHidden: boolean;
|
|
6
|
-
htmlContent: string;
|
|
7
|
-
customClass: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface HtmlTextWidget extends Widget<HtmlTextWidgetOptionsType> {
|
|
10
|
-
}
|
|
11
|
-
export declare const htmlText: (ops?: any) => HtmlTextWidget;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface InputWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
type: string;
|
|
4
|
-
defaultValue: string;
|
|
5
|
-
placeholder: string;
|
|
6
|
-
columnWidth: string;
|
|
7
|
-
size: string;
|
|
8
|
-
labelWidth: string | number | null;
|
|
9
|
-
labelHidden: boolean;
|
|
10
|
-
readonly: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
hidden: boolean;
|
|
13
|
-
holdHidden: boolean;
|
|
14
|
-
allowClear: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
requiredHint: string;
|
|
17
|
-
validation: string;
|
|
18
|
-
validationHint: string;
|
|
19
|
-
useModal: boolean;
|
|
20
|
-
onClickIcon: string;
|
|
21
|
-
customClass: string[];
|
|
22
|
-
maxLength: string | number | null;
|
|
23
|
-
showCount: boolean;
|
|
24
|
-
customLabelIcon: string;
|
|
25
|
-
labelIconClass: string;
|
|
26
|
-
labelIconTooltip: string;
|
|
27
|
-
labelIconPosition: string;
|
|
28
|
-
}
|
|
29
|
-
export interface InputWidget extends Widget<InputWidgetOptionsType> {
|
|
30
|
-
}
|
|
31
|
-
export declare const input: (ops?: any) => InputWidget;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface NumberWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
defaultValue: string;
|
|
4
|
-
placeholder: string;
|
|
5
|
-
columnWidth: string | number;
|
|
6
|
-
size: string;
|
|
7
|
-
labelWidth: string | number | null;
|
|
8
|
-
labelHidden: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
hidden: boolean;
|
|
11
|
-
holdHidden: boolean;
|
|
12
|
-
required: boolean;
|
|
13
|
-
requiredHint: string;
|
|
14
|
-
validation: string;
|
|
15
|
-
validationHint: string;
|
|
16
|
-
customClass: [];
|
|
17
|
-
labelIconClass: string | null;
|
|
18
|
-
labelIconPosition: string;
|
|
19
|
-
min: number;
|
|
20
|
-
max: number;
|
|
21
|
-
precision: number;
|
|
22
|
-
step: number;
|
|
23
|
-
}
|
|
24
|
-
export interface NumberWidget extends Widget<NumberWidgetOptionsType> {
|
|
25
|
-
}
|
|
26
|
-
export declare const number: (ops?: any) => NumberWidget;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions, OptionItem, HttpType } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface RadioWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
defaultValue: string | number | null;
|
|
4
|
-
columnWidth: string | number;
|
|
5
|
-
size: string;
|
|
6
|
-
buttonStyle: boolean;
|
|
7
|
-
border: boolean;
|
|
8
|
-
labelWidth: string | number | null;
|
|
9
|
-
labelHidden: boolean;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
hidden: boolean;
|
|
12
|
-
holdHidden: boolean;
|
|
13
|
-
dsEnabled: boolean;
|
|
14
|
-
labelKey: string;
|
|
15
|
-
valueKey: string;
|
|
16
|
-
optionItems: OptionItem[];
|
|
17
|
-
http: HttpType;
|
|
18
|
-
dataHandlerCode: string;
|
|
19
|
-
dataReqHandlerCode: string;
|
|
20
|
-
required: boolean;
|
|
21
|
-
requiredHint: string;
|
|
22
|
-
validation: string;
|
|
23
|
-
validationHint: string;
|
|
24
|
-
customClass: string[];
|
|
25
|
-
labelIconClass: string | number | null;
|
|
26
|
-
labelIconPosition: string;
|
|
27
|
-
}
|
|
28
|
-
export interface RadioWidget extends Widget<RadioWidgetOptionsType> {
|
|
29
|
-
}
|
|
30
|
-
export declare const radio: (ops?: any) => {
|
|
31
|
-
key: string;
|
|
32
|
-
id: any;
|
|
33
|
-
type: string;
|
|
34
|
-
icon: string;
|
|
35
|
-
category: string;
|
|
36
|
-
formItemFlag: boolean;
|
|
37
|
-
options: any;
|
|
38
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface RateWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
defaultValue: string | null;
|
|
4
|
-
columnWidth: string;
|
|
5
|
-
allowClear: boolean;
|
|
6
|
-
labelWidth: string | null;
|
|
7
|
-
labelHidden: boolean;
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
hidden: boolean;
|
|
10
|
-
holdHidden: boolean;
|
|
11
|
-
required: boolean;
|
|
12
|
-
requiredHint: string;
|
|
13
|
-
validation: string;
|
|
14
|
-
validationHint: string;
|
|
15
|
-
customClass: string[];
|
|
16
|
-
labelIconClass: string | null;
|
|
17
|
-
labelIconPosition: string;
|
|
18
|
-
count: number;
|
|
19
|
-
allowHalf: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface RateWidget extends Widget<RateWidgetOptionsType> {
|
|
22
|
-
}
|
|
23
|
-
export declare const rate: (ops?: any) => RateWidget;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions, OptionItem, HttpType } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface SelectWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
defaultValue: string;
|
|
4
|
-
placeholder: string;
|
|
5
|
-
columnWidth: string | number;
|
|
6
|
-
size: string;
|
|
7
|
-
labelWidth: string;
|
|
8
|
-
labelHidden: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
useModal: boolean;
|
|
11
|
-
loadingPage: boolean;
|
|
12
|
-
hidden: boolean;
|
|
13
|
-
holdHidden: boolean;
|
|
14
|
-
allowClear: boolean;
|
|
15
|
-
maxTagCount: string;
|
|
16
|
-
mode: string;
|
|
17
|
-
showSearch: boolean;
|
|
18
|
-
dsEnabled: boolean;
|
|
19
|
-
labelKey: string;
|
|
20
|
-
valueKey: string;
|
|
21
|
-
optionItems: OptionItem[];
|
|
22
|
-
http: HttpType;
|
|
23
|
-
dataHandlerCode: string;
|
|
24
|
-
dataReqHandlerCode: string;
|
|
25
|
-
required: boolean;
|
|
26
|
-
requiredHint: string;
|
|
27
|
-
validation: string;
|
|
28
|
-
validationHint: string;
|
|
29
|
-
customClass: string[];
|
|
30
|
-
labelIconClass: string | null;
|
|
31
|
-
labelIconPosition: string;
|
|
32
|
-
}
|
|
33
|
-
export interface SelectWidget extends Widget<SelectWidgetOptionsType> {
|
|
34
|
-
}
|
|
35
|
-
export declare const select: (ops?: any) => SelectWidget;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface SliderWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
columnWidth: string;
|
|
4
|
-
size: string;
|
|
5
|
-
labelWidth: string | number | null;
|
|
6
|
-
labelHidden: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
hidden: boolean;
|
|
9
|
-
holdHidden: boolean;
|
|
10
|
-
required: boolean;
|
|
11
|
-
requiredHint: string;
|
|
12
|
-
validation: string;
|
|
13
|
-
validationHint: string;
|
|
14
|
-
customClass: string[];
|
|
15
|
-
labelIconClass: string | null;
|
|
16
|
-
labelIconPosition: string;
|
|
17
|
-
min: number;
|
|
18
|
-
max: number;
|
|
19
|
-
step: number;
|
|
20
|
-
range: boolean;
|
|
21
|
-
height: string | number | null;
|
|
22
|
-
}
|
|
23
|
-
export interface SliderWidget extends Widget<SliderWidgetOptionsType> {
|
|
24
|
-
}
|
|
25
|
-
export declare const slider: (ops?: any) => SliderWidget;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface StaticTextWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
columnWidth: string;
|
|
4
|
-
hidden: boolean;
|
|
5
|
-
holdHidden: boolean;
|
|
6
|
-
textContent: string;
|
|
7
|
-
customClass: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface StaticTextWidget extends Widget<StaticTextWidgetOptionsType> {
|
|
10
|
-
}
|
|
11
|
-
export declare const staticText: (ops?: any) => StaticTextWidget;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface SwitchComWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
defaultValue: string | null;
|
|
4
|
-
columnWidth: string;
|
|
5
|
-
labelWidth: string | null;
|
|
6
|
-
labelHidden: false;
|
|
7
|
-
disabled: false;
|
|
8
|
-
hidden: false;
|
|
9
|
-
holdHidden: true;
|
|
10
|
-
customClass: string[];
|
|
11
|
-
labelIconClass: string | null;
|
|
12
|
-
labelIconPosition: string;
|
|
13
|
-
switchWidth: number;
|
|
14
|
-
checkedValue: string;
|
|
15
|
-
unCheckedValue: string;
|
|
16
|
-
}
|
|
17
|
-
export interface SwitchComWidget extends Widget<SwitchComWidgetOptionsType> {
|
|
18
|
-
}
|
|
19
|
-
export declare const switchCom: (ops?: any) => SwitchComWidget;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface TextareaWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
rows: string | number;
|
|
4
|
-
defaultValue: string;
|
|
5
|
-
placeholder: string;
|
|
6
|
-
columnWidth: string;
|
|
7
|
-
size: string;
|
|
8
|
-
labelWidth: null;
|
|
9
|
-
labelHidden: boolean;
|
|
10
|
-
readonly: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
hidden: boolean;
|
|
13
|
-
holdHidden: boolean;
|
|
14
|
-
allowClear: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
requiredHint: string;
|
|
17
|
-
validation: string;
|
|
18
|
-
validationHint: string;
|
|
19
|
-
customClass: string[];
|
|
20
|
-
labelIconClass: string | null;
|
|
21
|
-
labelIconPosition: string;
|
|
22
|
-
maxLength: string | number | null;
|
|
23
|
-
showCount: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface TextareaWidget extends Widget<TextareaWidgetOptionsType> {
|
|
26
|
-
}
|
|
27
|
-
export declare const textarea: (ops?: any) => {
|
|
28
|
-
key: string;
|
|
29
|
-
id: any;
|
|
30
|
-
type: string;
|
|
31
|
-
category: string;
|
|
32
|
-
icon: string;
|
|
33
|
-
formItemFlag: boolean;
|
|
34
|
-
options: any;
|
|
35
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface TimeWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
defaultValue: string | null;
|
|
4
|
-
placeholder: string;
|
|
5
|
-
columnWidth: string | null;
|
|
6
|
-
size: string;
|
|
7
|
-
autoFullWidth: boolean;
|
|
8
|
-
labelWidth: string;
|
|
9
|
-
labelHidden: boolean;
|
|
10
|
-
readonly: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
hidden: boolean;
|
|
13
|
-
holdHidden: boolean;
|
|
14
|
-
allowClear: boolean;
|
|
15
|
-
format: string;
|
|
16
|
-
required: boolean;
|
|
17
|
-
requiredHint: string;
|
|
18
|
-
validation: string;
|
|
19
|
-
validationHint: string;
|
|
20
|
-
customClass: string[];
|
|
21
|
-
labelIconClass: string | null;
|
|
22
|
-
labelIconPosition: string;
|
|
23
|
-
}
|
|
24
|
-
export interface TimeWidget extends Widget<TimeWidgetOptionsType> {
|
|
25
|
-
}
|
|
26
|
-
export declare const time: (ops?: any) => TimeWidget;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface TimeRangeWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
defaultValue: string | null;
|
|
4
|
-
startPlaceholder: string;
|
|
5
|
-
endPlaceholder: string;
|
|
6
|
-
columnWidth: string;
|
|
7
|
-
size: string;
|
|
8
|
-
autoFullWidth: true;
|
|
9
|
-
labelWidth: string | null;
|
|
10
|
-
labelHidden: boolean;
|
|
11
|
-
readonly: boolean;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
hidden: boolean;
|
|
14
|
-
holdHidden: boolean;
|
|
15
|
-
allowClear: boolean;
|
|
16
|
-
format: string;
|
|
17
|
-
required: boolean;
|
|
18
|
-
requiredHint: string;
|
|
19
|
-
validation: string;
|
|
20
|
-
validationHint: string;
|
|
21
|
-
customClass: string[];
|
|
22
|
-
labelIconClass: string | null;
|
|
23
|
-
labelIconPosition: string;
|
|
24
|
-
}
|
|
25
|
-
export interface TimeRangeWidget extends Widget<TimeRangeWidgetOptionsType> {
|
|
26
|
-
}
|
|
27
|
-
export declare const timeRange: (ops?: any) => TimeRangeWidget;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const basicFieldsEnums: {
|
|
2
|
-
input: (ops?: any) => import('./basicFields/input').InputWidget;
|
|
3
|
-
textarea: (ops?: any) => {
|
|
4
|
-
key: string;
|
|
5
|
-
id: any;
|
|
6
|
-
type: string;
|
|
7
|
-
category: string;
|
|
8
|
-
icon: string;
|
|
9
|
-
formItemFlag: boolean;
|
|
10
|
-
options: any;
|
|
11
|
-
};
|
|
12
|
-
number: (ops?: any) => import('./basicFields/number').NumberWidget;
|
|
13
|
-
radio: (ops?: any) => {
|
|
14
|
-
key: string;
|
|
15
|
-
id: any;
|
|
16
|
-
type: string;
|
|
17
|
-
icon: string;
|
|
18
|
-
category: string;
|
|
19
|
-
formItemFlag: boolean;
|
|
20
|
-
options: any;
|
|
21
|
-
};
|
|
22
|
-
checkbox: (ops?: any) => import('./basicFields/checkbox').CheckboxWidget;
|
|
23
|
-
select: (ops?: any) => import('./basicFields/select').SelectWidget;
|
|
24
|
-
time: (ops?: any) => import('./basicFields/time').TimeWidget;
|
|
25
|
-
timeRange: (ops?: any) => import('./basicFields/timeRange').TimeRangeWidget;
|
|
26
|
-
date: (ops?: any) => import('./basicFields/date').DateWidget;
|
|
27
|
-
dateRange: (ops?: any) => import('./basicFields/dateRange').DateRangeWidget;
|
|
28
|
-
switch: (ops?: any) => import('./basicFields/switch').SwitchComWidget;
|
|
29
|
-
rate: (ops?: any) => import('./basicFields/rate').RateWidget;
|
|
30
|
-
color: (ops?: any) => import('./basicFields/color').ColorWidget;
|
|
31
|
-
slider: (ops?: any) => import('./basicFields/slider').SliderWidget;
|
|
32
|
-
staticText: (ops?: any) => import('./basicFields/staticText').StaticTextWidget;
|
|
33
|
-
htmlText: (ops?: any) => import('./basicFields/htmlText').HtmlTextWidget;
|
|
34
|
-
button: (ops?: any) => import('./basicFields/button').ButtonWidget;
|
|
35
|
-
buttonList: (ops?: any) => import('./advanced').ButtonListWidget;
|
|
36
|
-
divider: (ops?: any) => import('./basicFields/divider').DividerWidget;
|
|
37
|
-
dropdown: (ops?: any) => import('./basicFields/dropdown').DropdownWidget;
|
|
38
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { WidgetOptions, Widget } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface GridColOptions extends WidgetOptions {
|
|
3
|
-
span: number;
|
|
4
|
-
offset: number;
|
|
5
|
-
push: number;
|
|
6
|
-
pull: number;
|
|
7
|
-
responsive: boolean;
|
|
8
|
-
md: number;
|
|
9
|
-
sm: number;
|
|
10
|
-
xs: number;
|
|
11
|
-
}
|
|
12
|
-
export interface GridColWidget extends Widget {
|
|
13
|
-
type: 'grid-col';
|
|
14
|
-
internal?: boolean;
|
|
15
|
-
options: GridColOptions;
|
|
16
|
-
}
|
|
17
|
-
export declare const gridCol: (ops?: any) => GridColWidget;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface GridSubFormOptions extends WidgetOptions {
|
|
3
|
-
showBlankRow: boolean;
|
|
4
|
-
showRowNumber: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface GridSubFormWidget extends Widget<GridSubFormOptions> {
|
|
7
|
-
}
|
|
8
|
-
export declare const gridSubForm: (ops?: any) => GridSubFormWidget;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface GridWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
colHeight: number;
|
|
4
|
-
gutter: number;
|
|
5
|
-
}
|
|
6
|
-
export interface GridWidget extends Widget<GridWidgetOptionsType> {
|
|
7
|
-
}
|
|
8
|
-
export declare const grid: (ops?: any) => GridWidget;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface TabWidget extends Widget<TabWidgetOptionsType> {
|
|
3
|
-
tabs: Widget[];
|
|
4
|
-
}
|
|
5
|
-
export interface TabWidgetOptionsType extends WidgetOptions {
|
|
6
|
-
activeTab: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const tabPane: () => {
|
|
9
|
-
key: string;
|
|
10
|
-
type: string;
|
|
11
|
-
category: string;
|
|
12
|
-
icon: string;
|
|
13
|
-
internal: boolean;
|
|
14
|
-
widgetList: never[];
|
|
15
|
-
options: {
|
|
16
|
-
name: string;
|
|
17
|
-
label: string;
|
|
18
|
-
hidden: boolean;
|
|
19
|
-
active: boolean;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
customClass: never[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetOptions } from '../../../../../../core/src/types/schema';
|
|
2
|
-
export interface CollapseWidgetOptionsType extends WidgetOptions {
|
|
3
|
-
rightSlotCss: string[];
|
|
4
|
-
unCollapseIcon: string;
|
|
5
|
-
isCollapse: boolean;
|
|
6
|
-
height: string | number;
|
|
7
|
-
collapseIcon: string;
|
|
8
|
-
}
|
|
9
|
-
export interface CollapseWidget extends Widget<CollapseWidgetOptionsType> {
|
|
10
|
-
headerRightSlotList: Widget[];
|
|
11
|
-
defaultSlotsList: Widget[];
|
|
12
|
-
}
|
|
13
|
-
export declare const vfCollapse: () => CollapseWidget;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as containersEnums from './containers';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LayoutTypeEnum } from '../../../../../core';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
type?: LayoutTypeEnum;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
type: LayoutTypeEnum;
|
|
7
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { containersEnums } from './containersEnums';
|
|
2
|
-
export declare const containers: (containersEnums.GridWidget | containersEnums.GridColWidget | {
|
|
3
|
-
key: string;
|
|
4
|
-
type: string;
|
|
5
|
-
category: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
widgetList: never[];
|
|
8
|
-
options: any;
|
|
9
|
-
} | containersEnums.CollapseWidget | {
|
|
10
|
-
key: string;
|
|
11
|
-
type: string;
|
|
12
|
-
category: string;
|
|
13
|
-
icon: string;
|
|
14
|
-
displayType: string;
|
|
15
|
-
tabs: never[];
|
|
16
|
-
options: any;
|
|
17
|
-
} | containersEnums.GridSubFormWidget)[];
|
|
18
|
-
export declare const basicFields: (import('./basicFields/input').InputWidget | {
|
|
19
|
-
key: string;
|
|
20
|
-
id: any;
|
|
21
|
-
type: string;
|
|
22
|
-
category: string;
|
|
23
|
-
icon: string;
|
|
24
|
-
formItemFlag: boolean;
|
|
25
|
-
options: any;
|
|
26
|
-
} | import('./basicFields/number').NumberWidget | import('./basicFields/checkbox').CheckboxWidget | import('./basicFields/select').SelectWidget | import('./basicFields/time').TimeWidget | import('./basicFields/date').DateWidget | import('./basicFields/color').ColorWidget | import('./basicFields/slider').SliderWidget | import('./basicFields/staticText').StaticTextWidget | import('./basicFields/htmlText').HtmlTextWidget | import('./basicFields/button').ButtonWidget | import('./basicFields/divider').DividerWidget | import('./basicFields/dropdown').DropdownWidget | import('./advanced').ButtonListWidget)[];
|
|
27
|
-
export declare const advancedFields: (import('./advanced').CascaderWidget | import('./advanced').TreeSelectWidget | import('./advanced').CodeEditorWidget | import('./advanced').RichEditorWidget | import('./advanced').FileUploadWidget | import('./advanced').BpmnEditorWidget | import('./advanced/diy-compontent').DiyCompontentWidget | import('./advanced/tree').TreeWidget | import('./advanced').DataTableWidget)[];
|
|
28
|
-
export declare const customFields: never[];
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export declare function useSelect({ field, designState, fieldModel }: {
|
|
2
|
-
field: any;
|
|
3
|
-
designState: any;
|
|
4
|
-
fieldModel: any;
|
|
5
|
-
}): {
|
|
6
|
-
selectDefineExpose: {
|
|
7
|
-
loadOptions: (options: any) => Promise<void>;
|
|
8
|
-
initOptionItems: () => Promise<void>;
|
|
9
|
-
getSelectedItem: () => any;
|
|
10
|
-
disableOption: (optionValue: any) => void;
|
|
11
|
-
clearOptionItems: () => void;
|
|
12
|
-
enableOption: (optionValue: any) => void;
|
|
13
|
-
getOptionItems: () => any;
|
|
14
|
-
keyword: {
|
|
15
|
-
val: string;
|
|
16
|
-
} | {
|
|
17
|
-
val: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
disableOption: (optionValue: any) => void;
|
|
21
|
-
clearOptionItems: () => void;
|
|
22
|
-
childrenKey: import('vue').ComputedRef<any>;
|
|
23
|
-
valueKey: import('vue').ComputedRef<any>;
|
|
24
|
-
labelKey: import('vue').ComputedRef<any>;
|
|
25
|
-
optionLabel: import('vue').ComputedRef<string>;
|
|
26
|
-
loadOptions: (options: any) => Promise<void>;
|
|
27
|
-
filterOption: (inputValue: any, option: any) => boolean;
|
|
28
|
-
keyword: import('vue').Ref<{
|
|
29
|
-
val: string;
|
|
30
|
-
}, {
|
|
31
|
-
val: string;
|
|
32
|
-
} | {
|
|
33
|
-
val: string;
|
|
34
|
-
}>;
|
|
35
|
-
pager: import('vue').Ref<{
|
|
36
|
-
page: number;
|
|
37
|
-
pageSize: number;
|
|
38
|
-
totalPage: number;
|
|
39
|
-
total: number;
|
|
40
|
-
}, {
|
|
41
|
-
page: number;
|
|
42
|
-
pageSize: number;
|
|
43
|
-
totalPage: number;
|
|
44
|
-
total: number;
|
|
45
|
-
} | {
|
|
46
|
-
page: number;
|
|
47
|
-
pageSize: number;
|
|
48
|
-
totalPage: number;
|
|
49
|
-
total: number;
|
|
50
|
-
}>;
|
|
51
|
-
loading: import('vue').Ref<boolean, boolean>;
|
|
52
|
-
fieldNames: import('vue').ComputedRef<{
|
|
53
|
-
label: any;
|
|
54
|
-
value: any;
|
|
55
|
-
options: string;
|
|
56
|
-
}>;
|
|
57
|
-
selectOps: import('vue').ComputedRef<{
|
|
58
|
-
loading: boolean;
|
|
59
|
-
fieldNames: {
|
|
60
|
-
label: any;
|
|
61
|
-
value: any;
|
|
62
|
-
options: string;
|
|
63
|
-
};
|
|
64
|
-
showSearch: boolean;
|
|
65
|
-
onPopupScroll: (e: any) => void;
|
|
66
|
-
onSearch: ((_keyword: string) => void) | undefined;
|
|
67
|
-
filterOption: false | ((inputValue: any, option: any) => boolean);
|
|
68
|
-
listHeight: number;
|
|
69
|
-
}>;
|
|
70
|
-
initOptionItems: () => Promise<void>;
|
|
71
|
-
getOptionItems: () => any;
|
|
72
|
-
};
|