@ibiz-template/mob-vue3-components 0.0.1-alpha.21 → 0.0.1-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +6 -6
- package/dist/index.system.min.js.map +1 -1
- package/es/common/action-toolbar/action-toolbar.css +1 -1
- package/es/common/rawitem/rawitem.css +1 -1
- package/es/common/rawitem/rawitem.d.ts +2 -0
- package/es/common/rawitem/rawitem.mjs +19 -8
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.mjs +1 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +2 -2
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/form/form/index.mjs +0 -2
- package/es/control/form/form-detail/form-button/form-button.mjs +21 -6
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.d.ts +1 -0
- package/es/control/form/form-detail/form-druipart/form-druipart.mjs +24 -2
- package/es/control/form/form-detail/form-druipart/index.d.ts +1 -0
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +1 -0
- package/es/control/form/form-detail/index.d.ts +0 -1
- package/es/control/form/form-detail/index.mjs +0 -2
- package/es/control/form/index.mjs +0 -2
- package/es/control/form/search-form/search-form.css +1 -1
- package/es/control/index.d.ts +1 -0
- package/es/control/index.mjs +1 -2
- package/es/control/list/list.css +1 -1
- package/es/control/md-ctrl/index.d.ts +9 -0
- package/es/control/md-ctrl/md-ctrl.css +1 -1
- package/es/control/md-ctrl/md-ctrl.d.ts +9 -0
- package/es/control/md-ctrl/md-ctrl.mjs +16 -3
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/tree/index.mjs +6 -1
- package/es/control/tree/tree.css +1 -1
- package/es/control/wizard-panel/index.d.ts +39 -0
- package/es/control/wizard-panel/index.mjs +18 -0
- package/es/control/wizard-panel/wizard-panel.css +1 -0
- package/es/control/wizard-panel/wizard-panel.d.ts +42 -0
- package/es/control/wizard-panel/wizard-panel.mjs +122 -0
- package/es/control/wizard-panel/wizard-panel.provider.d.ts +13 -0
- package/{lib/control/form/form-detail/form-mdctrl/form-mdctrl.provider.cjs → es/control/wizard-panel/wizard-panel.provider.mjs} +3 -12
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +14 -4
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +14 -4
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +14 -4
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +14 -4
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +14 -4
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +14 -4
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +14 -4
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +14 -4
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +14 -4
- package/es/editor/dropdown-list/dropdown-list-editor.provider.d.ts +1 -0
- package/es/editor/dropdown-list/dropdown-list-editor.provider.mjs +5 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +14 -4
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -0
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +69 -0
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs +182 -0
- package/es/editor/index.mjs +3 -2
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +14 -4
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +14 -4
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +14 -4
- package/es/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +14 -4
- package/es/editor/span/span/span.d.ts +6 -0
- package/es/editor/span/span-link/span-link.d.ts +14 -4
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +14 -4
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +14 -4
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +14 -4
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.d.ts +14 -4
- package/es/editor/text-box/input/input.mjs +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +14 -4
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +14 -4
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +14 -4
- package/es/index.mjs +2 -0
- package/es/panel-component/index.mjs +3 -1
- package/es/panel-component/panel-button/index.d.ts +1 -1
- package/es/panel-component/panel-button/panel-button.d.ts +1 -1
- package/es/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/es/panel-component/wf-action-button/wf-action-button.css +1 -1
- package/es/panel-component/wf-step-trace/wf-step-trace.css +1 -1
- package/es/view/404-view/404-view.css +1 -1
- package/es/view/login-view/login-view.css +1 -1
- package/es/view-engine/index.mjs +5 -0
- package/es/view-engine/mob-edit-view.engine.d.ts +9 -0
- package/es/view-engine/mob-edit-view.engine.mjs +29 -1
- package/es/view-engine/mob-md-view-engine.d.ts +1 -0
- package/es/view-engine/mob-md-view-engine.mjs +6 -0
- package/es/view-engine/mob-tree-view.engine.d.ts +0 -9
- package/es/view-engine/mob-tree-view.engine.mjs +1 -12
- package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +2 -0
- package/es/view-engine/mob-wf-dyna-edit-view.engine.mjs +1 -0
- package/es/view-engine/mob-wizard-view-engine.d.ts +26 -0
- package/es/view-engine/mob-wizard-view-engine.mjs +36 -0
- package/lib/common/action-toolbar/action-toolbar.css +1 -1
- package/lib/common/rawitem/rawitem.cjs +19 -8
- package/lib/common/rawitem/rawitem.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +1 -1
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +2 -2
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/form/form/index.cjs +0 -2
- package/lib/control/form/form-detail/form-button/form-button.cjs +21 -6
- package/lib/control/form/form-detail/form-druipart/form-druipart.cjs +23 -1
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +1 -0
- package/lib/control/form/form-detail/index.cjs +0 -4
- package/lib/control/form/index.cjs +4 -8
- package/lib/control/form/search-form/search-form.css +1 -1
- package/lib/control/index.cjs +34 -36
- package/lib/control/list/list.css +1 -1
- package/lib/control/md-ctrl/md-ctrl.cjs +16 -3
- package/lib/control/md-ctrl/md-ctrl.css +1 -1
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/index.cjs +6 -1
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/wizard-panel/index.cjs +23 -0
- package/lib/control/wizard-panel/wizard-panel.cjs +124 -0
- package/lib/control/wizard-panel/wizard-panel.css +1 -0
- package/{es/control/form/form-detail/form-mdctrl/form-mdctrl.provider.mjs → lib/control/wizard-panel/wizard-panel.provider.cjs} +4 -9
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/lib/editor/dropdown-list/dropdown-list-editor.provider.cjs +5 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +184 -0
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -0
- package/lib/editor/index.cjs +3 -2
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +1 -1
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/lib/index.cjs +2 -0
- package/lib/panel-component/index.cjs +2 -0
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/lib/panel-component/wf-action-button/wf-action-button.css +1 -1
- package/lib/panel-component/wf-step-trace/wf-step-trace.css +1 -1
- package/lib/view/404-view/404-view.css +1 -1
- package/lib/view/login-view/login-view.css +1 -1
- package/lib/view-engine/index.cjs +5 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +28 -0
- package/lib/view-engine/mob-md-view-engine.cjs +6 -0
- package/lib/view-engine/mob-tree-view.engine.cjs +1 -12
- package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +2 -0
- package/lib/view-engine/mob-wf-dyna-edit-view.engine.cjs +1 -0
- package/lib/view-engine/mob-wizard-view-engine.cjs +38 -0
- package/package.json +7 -7
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +0 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.d.ts +0 -36
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.mjs +0 -66
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.d.ts +0 -17
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.mjs +0 -68
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.d.ts +0 -17
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +0 -80
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.d.ts +0 -17
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.mjs +0 -68
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form/form-mdctrl-repeater-form-shell.d.ts +0 -72
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form/form-mdctrl-repeater-form-shell.mjs +0 -157
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form/form-mdctrl-repeater-form.d.ts +0 -17
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form/form-mdctrl-repeater-form.mjs +0 -57
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form-one/form-mdctrl-repeater-form-one.d.ts +0 -17
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form-one/form-mdctrl-repeater-form-one.mjs +0 -55
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +0 -26
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +0 -81
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.provider.d.ts +0 -15
- package/es/control/form/form-detail/form-mdctrl/index.d.ts +0 -26
- package/es/control/form/form-detail/form-mdctrl/index.mjs +0 -26
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.cjs +0 -71
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +0 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.cjs +0 -73
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +0 -85
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.cjs +0 -73
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form/form-mdctrl-repeater-form-shell.cjs +0 -159
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form/form-mdctrl-repeater-form.cjs +0 -62
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater-form-one/form-mdctrl-repeater-form-one.cjs +0 -60
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +0 -86
- package/lib/control/form/form-detail/form-mdctrl/index.cjs +0 -32
|
@@ -131,6 +131,9 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
|
|
|
131
131
|
if (key === runtime.SysUIActionTag.VIEW_WF_STEP) {
|
|
132
132
|
await this.wfSubmit();
|
|
133
133
|
}
|
|
134
|
+
if (key === runtime.ViewCallTag.WF_WITHDRAW) {
|
|
135
|
+
await this.wfWithdraw();
|
|
136
|
+
}
|
|
134
137
|
return super.call(key, args);
|
|
135
138
|
}
|
|
136
139
|
/**
|
|
@@ -199,6 +202,31 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
|
|
|
199
202
|
wfSubmit() {
|
|
200
203
|
return this.form.wfSubmit();
|
|
201
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* 工作流撤回
|
|
207
|
+
*
|
|
208
|
+
* @author zk
|
|
209
|
+
* @date 2023-11-22 11:11:55
|
|
210
|
+
* @return {*} {Promise<void>}
|
|
211
|
+
* @memberof MobEditViewEngine
|
|
212
|
+
*/
|
|
213
|
+
async wfWithdraw() {
|
|
214
|
+
const app = ibiz.hub.getApp(this.view.context.srfappid);
|
|
215
|
+
const data = this.form.state.data;
|
|
216
|
+
const entityService = await app.deService.getService(
|
|
217
|
+
this.view.model.appDataEntityId
|
|
218
|
+
);
|
|
219
|
+
await entityService.wf.exec(
|
|
220
|
+
"withdraw",
|
|
221
|
+
this.view.context,
|
|
222
|
+
{
|
|
223
|
+
...this.view.params,
|
|
224
|
+
taskId: this.view.params.taskId || this.view.params.srftaskid
|
|
225
|
+
},
|
|
226
|
+
data instanceof runtime.ControlVO ? data.getOrigin() : data
|
|
227
|
+
);
|
|
228
|
+
ibiz.mc.command.send({ srfdecodename: "SysTodo" }, "OBJECTUPDATED");
|
|
229
|
+
}
|
|
202
230
|
}
|
|
203
231
|
|
|
204
232
|
exports.MobEditViewEngine = MobEditViewEngine;
|
|
@@ -39,6 +39,12 @@ class MobMDViewEngine extends runtime.MDViewEngine {
|
|
|
39
39
|
loadMore() {
|
|
40
40
|
return this.mdctrl.loadMore();
|
|
41
41
|
}
|
|
42
|
+
async onCreated() {
|
|
43
|
+
await super.onCreated();
|
|
44
|
+
if (this.xdataControlName && this.view.model.viewType === "DEMOBMDVIEW9") {
|
|
45
|
+
this.view.slotProps[this.xdataControlName].loadMode = "click";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
42
48
|
/**
|
|
43
49
|
* 挂载完成
|
|
44
50
|
*
|
|
@@ -4,19 +4,8 @@ var runtime = require('@ibiz-template/runtime');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
class MobTreeViewEngine extends runtime.MDViewEngine {
|
|
7
|
-
/**
|
|
8
|
-
* 多数据部件名称
|
|
9
|
-
*
|
|
10
|
-
* @author zk
|
|
11
|
-
* @date 2023-06-28 09:06:55
|
|
12
|
-
* @readonly
|
|
13
|
-
* @memberof MobTreeViewEngine
|
|
14
|
-
*/
|
|
15
|
-
get xdataControlName() {
|
|
16
|
-
return "treeview";
|
|
17
|
-
}
|
|
18
7
|
get tree() {
|
|
19
|
-
return this.view.getController("
|
|
8
|
+
return this.view.getController("tree");
|
|
20
9
|
}
|
|
21
10
|
async onCreated() {
|
|
22
11
|
await super.onCreated();
|
|
@@ -41,6 +41,8 @@ class MobWFDynaActionViewEngine extends mobWfDynaEditView_engine.MobWFDynaEditVi
|
|
|
41
41
|
async onOkButtonClick() {
|
|
42
42
|
if (this.isEditable) {
|
|
43
43
|
await this.save();
|
|
44
|
+
} else {
|
|
45
|
+
this.form.state.modified = false;
|
|
44
46
|
}
|
|
45
47
|
await this.form.wfSubmit({});
|
|
46
48
|
await this.view.closeView({ ok: true, data: this.getData() });
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
class MobWizardViewEngine extends runtime.ViewEngineBase {
|
|
7
|
+
/**
|
|
8
|
+
* 数据视图(卡片)部件
|
|
9
|
+
*
|
|
10
|
+
* @readonly
|
|
11
|
+
* @memberof MobWizardViewEngine
|
|
12
|
+
*/
|
|
13
|
+
get wizardPanel() {
|
|
14
|
+
return this.view.getController("wizardpanel");
|
|
15
|
+
}
|
|
16
|
+
async onCreated() {
|
|
17
|
+
await super.onCreated();
|
|
18
|
+
const { childNames } = this.view;
|
|
19
|
+
childNames.push("wizardpanel");
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 视图mounted生命周期执行逻辑
|
|
23
|
+
*
|
|
24
|
+
* @memberof MobWizardViewEngine
|
|
25
|
+
*/
|
|
26
|
+
async onMounted() {
|
|
27
|
+
await super.onMounted();
|
|
28
|
+
if (!this.view.slotProps.wizardpanel) {
|
|
29
|
+
this.view.slotProps.wizardpanel = {};
|
|
30
|
+
}
|
|
31
|
+
this.wizardPanel.initialize();
|
|
32
|
+
this.wizardPanel.evt.on("onFinishSuccess", (_event) => {
|
|
33
|
+
this.view.closeView({ ok: true, data: [] });
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.MobWizardViewEngine = MobWizardViewEngine;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/mob-vue3-components",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.23",
|
|
4
4
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@ibiz-template-package/vs-tree-ex": "^0.1.1",
|
|
27
|
-
"@ibiz-template/core": "0.
|
|
28
|
-
"@ibiz-template/model-helper": "0.
|
|
29
|
-
"@ibiz-template/runtime": "0.
|
|
30
|
-
"@ibiz-template/theme": "^0.
|
|
31
|
-
"@ibiz-template/vue3-util": "0.
|
|
32
|
-
"@ibiz/model-core": "^0.0.
|
|
27
|
+
"@ibiz-template/core": "^0.4.0",
|
|
28
|
+
"@ibiz-template/model-helper": "^0.4.1",
|
|
29
|
+
"@ibiz-template/runtime": "^0.4.1",
|
|
30
|
+
"@ibiz-template/theme": "^0.4.0",
|
|
31
|
+
"@ibiz-template/vue3-util": "^0.4.1",
|
|
32
|
+
"@ibiz/model-core": "^0.0.21",
|
|
33
33
|
"async-validator": "^4.2.5",
|
|
34
34
|
"cherry-markdown": "^0.8.26",
|
|
35
35
|
"dayjs": "^1.11.10",
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-form-mdctrl{min-height:var(--ibiz-form-mdctrl-min-height);--ibiz-form-mdctrl-gap:var(--ibiz-spacing-tight);--ibiz-form-mdctrl-btn-width:0;--ibiz-form-mdctrl-min-height:32px;--ibiz-form-mdctrl-content-min-height:72px}.ibiz-form-mdctrl .ibiz-form-mdctrl-main .ibiz-form-mdctrl-form-content{display:flex;min-height:var(--ibiz-form-mdctrl-content-min-height);margin-top:var(--ibiz-spacing-tight)}.ibiz-form-mdctrl .ibiz-form-mdctrl-main .ibiz-form-mdctrl-form-content-container{width:100%}.ibiz-form-mdctrl .ibiz-form-mdctrl-main .ibiz-form-mdctrl-form-content-control{width:calc(100% - var(--ibiz-form-mdctrl-btn-width) - var(--ibiz-form-mdctrl-gap))}.ibiz-form-mdctrl .ibiz-form-mdctrl-main .ibiz-form-mdctrl-btn{height:100%;margin-left:var(--ibiz-form-mdctrl-gap);cursor:pointer;display:flex;flex-flow:column nowrap;align-items:center;justify-content:flex-start}.ibiz-form-mdctrl .ibiz-form-mdctrl-main .ibiz-form-mdctrl-title{display:flex;align-items:center;justify-content:space-between}.ibiz-form-mdctrl .ibiz-form-mdctrl-main .ibiz-form-mdctrl-title .ibiz-form-mdctrl-caption{font-size:14px;font-weight:var(--ibiz-font-weight-bold)}.ibiz-form-mdctrl.is-no-caption .ibiz-form-mdctrl-main{position:relative}.ibiz-form-mdctrl.is-no-caption .ibiz-form-mdctrl-main>.ibiz-form-mdctrl-form-content:nth-child(2) .ibiz-form-mdctrl-btn{position:relative;top:40px;height:-moz-fit-content;height:fit-content}.ibiz-form-mdctrl.is-no-caption .ibiz-form-mdctrl-main .ibiz-form-mdctrl-title{position:absolute;top:0;right:0;z-index:2}.ibiz-form-mdctrl .ibiz-form-mdctrl-add-btn{height:30px}
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import './form-mdctrl-container.scss';
|
|
3
|
-
import { FormMDCtrlController } from '@ibiz-template/runtime';
|
|
4
|
-
export declare const FormMDCtrlContainer: import("vue").DefineComponent<{
|
|
5
|
-
controller: {
|
|
6
|
-
type: PropType<FormMDCtrlController>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
buttonVisible: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
required: false;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
-
ns2: import("@ibiz-template/core").Namespace;
|
|
17
|
-
c: FormMDCtrlController;
|
|
18
|
-
handleRemove: () => void;
|
|
19
|
-
insertButtonClick: () => void;
|
|
20
|
-
hasCaption: boolean | undefined;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "insertButtonClick"[], "insertButtonClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
controller: {
|
|
23
|
-
type: PropType<FormMDCtrlController>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
buttonVisible: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
required: false;
|
|
30
|
-
};
|
|
31
|
-
}>> & {
|
|
32
|
-
onInsertButtonClick?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
buttonVisible: boolean;
|
|
35
|
-
}, {}>;
|
|
36
|
-
export default FormMDCtrlContainer;
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.mjs
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { createVNode, resolveComponent, createTextVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import './form-mdctrl-container.css';
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
const FormMDCtrlContainer = /* @__PURE__ */ defineComponent({
|
|
7
|
-
name: "FormMDCtrlContainer",
|
|
8
|
-
props: {
|
|
9
|
-
controller: {
|
|
10
|
-
type: Object,
|
|
11
|
-
required: true
|
|
12
|
-
},
|
|
13
|
-
buttonVisible: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: true,
|
|
16
|
-
required: false
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
emits: ["insertButtonClick"],
|
|
20
|
-
setup(props, {
|
|
21
|
-
emit
|
|
22
|
-
}) {
|
|
23
|
-
const ns = useNamespace("form-mdctrl");
|
|
24
|
-
const c = props.controller;
|
|
25
|
-
const handleRemove = () => {
|
|
26
|
-
};
|
|
27
|
-
const insertButtonClick = () => {
|
|
28
|
-
emit("insertButtonClick");
|
|
29
|
-
};
|
|
30
|
-
const hasCaption = c.model.showCaption && !!c.model.caption;
|
|
31
|
-
const ns2 = useNamespace("form-group");
|
|
32
|
-
return {
|
|
33
|
-
ns,
|
|
34
|
-
ns2,
|
|
35
|
-
c,
|
|
36
|
-
handleRemove,
|
|
37
|
-
insertButtonClick,
|
|
38
|
-
hasCaption
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
render() {
|
|
42
|
-
const renderFormContent = () => {
|
|
43
|
-
return this.$slots.default && this.$slots.default();
|
|
44
|
-
};
|
|
45
|
-
const renderMainContent = () => {
|
|
46
|
-
return createVNode("div", {
|
|
47
|
-
"class": this.ns.b("main")
|
|
48
|
-
}, [[createVNode("div", {
|
|
49
|
-
"class": [this.ns.b("title"), this.ns2.b("header")]
|
|
50
|
-
}, [createVNode("span", {
|
|
51
|
-
"class": this.ns.b("caption")
|
|
52
|
-
}, [this.controller.model.showCaption && this.controller.model.caption]), this.buttonVisible && this.controller.isCreate && createVNode(resolveComponent("van-button"), {
|
|
53
|
-
"class": this.ns.b("add-btn"),
|
|
54
|
-
"onClick": () => this.insertButtonClick(),
|
|
55
|
-
"type": "primary"
|
|
56
|
-
}, {
|
|
57
|
-
default: () => [createTextVNode("\u6DFB\u52A0")]
|
|
58
|
-
})]), renderFormContent()]]);
|
|
59
|
-
};
|
|
60
|
-
return createVNode("div", {
|
|
61
|
-
"class": [this.ns.b(), this.ns.b(this.c.model.codeName), this.ns.b(this.c.model.contentType.toLowerCase()), ...this.controller.containerClass, this.ns.is("no-caption", !this.hasCaption)]
|
|
62
|
-
}, [renderMainContent()]);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
export { FormMDCtrlContainer, FormMDCtrlContainer as default };
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { FormMDCtrlDataViewController } from '@ibiz-template/runtime';
|
|
3
|
-
export declare const FormMDCtrlDataView: import("vue").DefineComponent<{
|
|
4
|
-
controller: {
|
|
5
|
-
type: PropType<FormMDCtrlDataViewController>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
10
|
-
c: FormMDCtrlDataViewController;
|
|
11
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
controller: {
|
|
13
|
-
type: PropType<FormMDCtrlDataViewController>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>>, {}, {}>;
|
|
17
|
-
export default FormMDCtrlDataView;
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.mjs
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { isVNode, reactive, resolveComponent, h, createTextVNode, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace, useController } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { FormMDCtrlContainer } from '../form-mdctrl-container/form-mdctrl-container.mjs';
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
function _isSlot(s) {
|
|
7
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
8
|
-
}
|
|
9
|
-
const FormMDCtrlDataView = /* @__PURE__ */ defineComponent({
|
|
10
|
-
name: "IBizFormMDCtrlDataView",
|
|
11
|
-
props: {
|
|
12
|
-
controller: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: true
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(props) {
|
|
18
|
-
const ns = useNamespace("form-mdctrl");
|
|
19
|
-
useController(props.controller);
|
|
20
|
-
const c = props.controller;
|
|
21
|
-
c.state = reactive(c.state);
|
|
22
|
-
return {
|
|
23
|
-
ns,
|
|
24
|
-
c
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
|
-
render() {
|
|
28
|
-
let _slot;
|
|
29
|
-
const c = this.c;
|
|
30
|
-
const renderContent = () => {
|
|
31
|
-
if (c.controlModel && c.provider) {
|
|
32
|
-
const tempContext = c.parent.form.context.clone();
|
|
33
|
-
const controlProps = {
|
|
34
|
-
modelData: c.controlModel,
|
|
35
|
-
context: tempContext,
|
|
36
|
-
params: c.parent.form.params,
|
|
37
|
-
onSelectionChange: (arg) => c.onSelectionChange(arg),
|
|
38
|
-
onCreated: (event) => c.onDataViewCreated(event),
|
|
39
|
-
class: this.ns.b("form-content-control")
|
|
40
|
-
};
|
|
41
|
-
const controlComponent = h(resolveComponent(c.provider.component), controlProps);
|
|
42
|
-
return createVNode("div", {
|
|
43
|
-
"class": this.ns.b("form-content")
|
|
44
|
-
}, [controlComponent, createVNode("div", {
|
|
45
|
-
"class": this.ns.b("btn")
|
|
46
|
-
}, [c.parent.isDelete && createVNode(resolveComponent("van-button"), {
|
|
47
|
-
"type": "danger",
|
|
48
|
-
"class": this.ns.b("remove-btn"),
|
|
49
|
-
"disabled": !this.c.state.isSelect,
|
|
50
|
-
"onClick": () => this.c.onDataRemove()
|
|
51
|
-
}, {
|
|
52
|
-
default: () => [createTextVNode("\u5220\u9664")]
|
|
53
|
-
})])]);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
return createVNode(FormMDCtrlContainer, {
|
|
57
|
-
"class": this.ns.b("data-view"),
|
|
58
|
-
"controller": c.parent,
|
|
59
|
-
"onInsertButtonClick": () => {
|
|
60
|
-
c.onDataInsert();
|
|
61
|
-
}
|
|
62
|
-
}, _isSlot(_slot = renderContent()) ? _slot : {
|
|
63
|
-
default: () => [_slot]
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
export { FormMDCtrlDataView, FormMDCtrlDataView as default };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { FormMDCtrlFormController } from '@ibiz-template/runtime';
|
|
3
|
-
export declare const FormMDCtrlForm: import("vue").DefineComponent<{
|
|
4
|
-
controller: {
|
|
5
|
-
type: PropType<FormMDCtrlFormController>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
10
|
-
c: FormMDCtrlFormController;
|
|
11
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
controller: {
|
|
13
|
-
type: PropType<FormMDCtrlFormController>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>>, {}, {}>;
|
|
17
|
-
export default FormMDCtrlForm;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { isVNode, reactive, resolveComponent, h, createTextVNode, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace, useController } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { calcDeCodeNameById } from '@ibiz-template/runtime';
|
|
4
|
-
import { FormMDCtrlContainer } from '../form-mdctrl-container/form-mdctrl-container.mjs';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
function _isSlot(s) {
|
|
8
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9
|
-
}
|
|
10
|
-
const FormMDCtrlForm = /* @__PURE__ */ defineComponent({
|
|
11
|
-
name: "IBizFormMDCtrlForm",
|
|
12
|
-
props: {
|
|
13
|
-
controller: {
|
|
14
|
-
type: Object,
|
|
15
|
-
required: true
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(props) {
|
|
19
|
-
const ns = useNamespace("form-mdctrl");
|
|
20
|
-
useController(props.controller);
|
|
21
|
-
const c = props.controller;
|
|
22
|
-
c.state = reactive(c.state);
|
|
23
|
-
return {
|
|
24
|
-
ns,
|
|
25
|
-
c
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
render() {
|
|
29
|
-
let _slot;
|
|
30
|
-
const c = this.c;
|
|
31
|
-
const renderContent = () => {
|
|
32
|
-
if (c.controlModel && c.provider) {
|
|
33
|
-
return c.state.data.map((item, index) => {
|
|
34
|
-
const tempContext = c.parent.form.context.clone();
|
|
35
|
-
if (c.model.contentControl) {
|
|
36
|
-
const codeName = calcDeCodeNameById(c.model.contentControl.appDataEntityId);
|
|
37
|
-
tempContext[codeName] = item.srfkey;
|
|
38
|
-
}
|
|
39
|
-
const controlProps = {
|
|
40
|
-
modelData: c.controlModel,
|
|
41
|
-
context: tempContext,
|
|
42
|
-
params: c.parent.form.params,
|
|
43
|
-
onFormDataChange: (arg) => c.onFormChange(arg.data, index),
|
|
44
|
-
onRemoveSuccess: () => c.onFormRemoveSuccess(index),
|
|
45
|
-
onCreated: (event) => c.onControlCreated(event, index)
|
|
46
|
-
};
|
|
47
|
-
const controlComponent = h(resolveComponent(c.provider.component), controlProps);
|
|
48
|
-
return createVNode(resolveComponent("van-swipe-cell"), {
|
|
49
|
-
"class": this.ns.b("form-content"),
|
|
50
|
-
"key": item.srfkey
|
|
51
|
-
}, {
|
|
52
|
-
default: () => [controlComponent, {
|
|
53
|
-
default: () => {
|
|
54
|
-
return controlComponent;
|
|
55
|
-
},
|
|
56
|
-
right: () => {
|
|
57
|
-
return c.parent.isDelete && createVNode(resolveComponent("van-button"), {
|
|
58
|
-
"onClick": () => this.c.onDataRemove(index)
|
|
59
|
-
}, {
|
|
60
|
-
default: () => [createTextVNode("\u5220\u9664")]
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}]
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
return createVNode(FormMDCtrlContainer, {
|
|
69
|
-
"class": this.ns.b("form"),
|
|
70
|
-
"controller": c.parent,
|
|
71
|
-
"onInsertButtonClick": () => {
|
|
72
|
-
c.onDataInsert();
|
|
73
|
-
}
|
|
74
|
-
}, _isSlot(_slot = renderContent()) ? _slot : {
|
|
75
|
-
default: () => [_slot]
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
export { FormMDCtrlForm, FormMDCtrlForm as default };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { FormMDCtrlListController } from '@ibiz-template/runtime';
|
|
3
|
-
export declare const FormMDCtrlList: import("vue").DefineComponent<{
|
|
4
|
-
controller: {
|
|
5
|
-
type: PropType<FormMDCtrlListController>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
10
|
-
c: FormMDCtrlListController;
|
|
11
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
controller: {
|
|
13
|
-
type: PropType<FormMDCtrlListController>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>>, {}, {}>;
|
|
17
|
-
export default FormMDCtrlList;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { isVNode, reactive, resolveComponent, h, createTextVNode, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace, useController } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { FormMDCtrlContainer } from '../form-mdctrl-container/form-mdctrl-container.mjs';
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
function _isSlot(s) {
|
|
7
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
8
|
-
}
|
|
9
|
-
const FormMDCtrlList = /* @__PURE__ */ defineComponent({
|
|
10
|
-
name: "IBizFormMDCtrlList",
|
|
11
|
-
props: {
|
|
12
|
-
controller: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: true
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(props) {
|
|
18
|
-
const ns = useNamespace("form-mdctrl");
|
|
19
|
-
useController(props.controller);
|
|
20
|
-
const c = props.controller;
|
|
21
|
-
c.state = reactive(c.state);
|
|
22
|
-
return {
|
|
23
|
-
ns,
|
|
24
|
-
c
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
|
-
render() {
|
|
28
|
-
let _slot;
|
|
29
|
-
const c = this.c;
|
|
30
|
-
const renderContent = () => {
|
|
31
|
-
if (c.controlModel && c.provider) {
|
|
32
|
-
const tempContext = c.parent.form.context.clone();
|
|
33
|
-
const controlProps = {
|
|
34
|
-
modelData: c.controlModel,
|
|
35
|
-
context: tempContext,
|
|
36
|
-
params: c.parent.form.params,
|
|
37
|
-
onSelectionChange: (arg) => c.onSelectionChange(arg),
|
|
38
|
-
onCreated: (event) => c.onListCreated(event),
|
|
39
|
-
class: this.ns.b("form-content-control")
|
|
40
|
-
};
|
|
41
|
-
const controlComponent = h(resolveComponent(c.provider.component), controlProps);
|
|
42
|
-
return createVNode("div", {
|
|
43
|
-
"class": this.ns.b("form-content")
|
|
44
|
-
}, [controlComponent, createVNode("div", {
|
|
45
|
-
"class": this.ns.b("btn")
|
|
46
|
-
}, [c.parent.isDelete && createVNode(resolveComponent("van-button"), {
|
|
47
|
-
"type": "danger",
|
|
48
|
-
"class": this.ns.b("remove-btn"),
|
|
49
|
-
"disabled": !this.c.state.isSelect,
|
|
50
|
-
"onClick": () => this.c.onDataRemove()
|
|
51
|
-
}, {
|
|
52
|
-
default: () => [createTextVNode("\u5220\u9664")]
|
|
53
|
-
})])]);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
return createVNode(FormMDCtrlContainer, {
|
|
57
|
-
"class": this.ns.b("list"),
|
|
58
|
-
"controller": c.parent,
|
|
59
|
-
"onInsertButtonClick": () => {
|
|
60
|
-
c.onDataInsert();
|
|
61
|
-
}
|
|
62
|
-
}, _isSlot(_slot = renderContent()) ? _slot : {
|
|
63
|
-
default: () => [_slot]
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
export { FormMDCtrlList, FormMDCtrlList as default };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { FormMDCtrlItemController, FormMDCtrlRepeaterFormController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IDEEditForm, IDEFormDetail } from '@ibiz/model-core';
|
|
3
|
-
import { PropType, VNode } from 'vue';
|
|
4
|
-
export declare const FormMDCtrlRepeaterFormShell: import("vue").DefineComponent<{
|
|
5
|
-
modelData: {
|
|
6
|
-
type: PropType<IDEEditForm>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
context: {
|
|
10
|
-
type: PropType<IContext>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
params: {
|
|
14
|
-
type: PropType<IParams>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
|
-
data: {
|
|
18
|
-
type: PropType<IData>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
index: {
|
|
22
|
-
type: NumberConstructor;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
controller: {
|
|
26
|
-
type: PropType<FormMDCtrlRepeaterFormController>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
buttonVisible: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
required: false;
|
|
33
|
-
};
|
|
34
|
-
}, {
|
|
35
|
-
c: FormMDCtrlItemController;
|
|
36
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
37
|
-
renderByDetailType: (detail: IDEFormDetail, item: IData, index: number) => VNode | VNode[] | undefined;
|
|
38
|
-
init: import("vue").Ref<boolean>;
|
|
39
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
modelData: {
|
|
41
|
-
type: PropType<IDEEditForm>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
context: {
|
|
45
|
-
type: PropType<IContext>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
params: {
|
|
49
|
-
type: PropType<IParams>;
|
|
50
|
-
default: () => {};
|
|
51
|
-
};
|
|
52
|
-
data: {
|
|
53
|
-
type: PropType<IData>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
index: {
|
|
57
|
-
type: NumberConstructor;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
controller: {
|
|
61
|
-
type: PropType<FormMDCtrlRepeaterFormController>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
buttonVisible: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
required: false;
|
|
68
|
-
};
|
|
69
|
-
}>>, {
|
|
70
|
-
params: IParams;
|
|
71
|
-
buttonVisible: boolean;
|
|
72
|
-
}, {}>;
|