@ibiz-template/vue3-components 0.7.41-alpha.15 → 0.7.41-alpha.16
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-U4v1OOOD.js +1 -0
- package/dist/index-lFGFvnYE.js +1 -0
- package/dist/index-m8q8r8br.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{wang-editor-yDknWojV.js → wang-editor-_06OYPpu.js} +1 -1
- package/dist/{xlsx-util-8l4wyK1s.js → xlsx-util-FNiwKrqm.js} +1 -1
- package/es/common/index.mjs +2 -0
- package/es/common/kanben-setting/kanben-setting.css +1 -0
- package/es/common/kanben-setting/kanben-setting.d.ts +42 -0
- package/es/common/kanben-setting/kanben-setting.mjs +65 -0
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +42 -13
- package/es/control/drbar/drbar.controller.mjs +2 -0
- package/es/control/drtab/drtab.controller.mjs +2 -0
- package/es/control/form/edit-form/edit-form.mjs +11 -0
- package/es/control/form/form-detail/form-item/form-item.mjs +11 -7
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +4 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +6 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +4 -0
- package/es/control/kanban/kanban.css +1 -1
- package/es/control/kanban/kanban.mjs +16 -9
- package/es/control/kanban/swimlane-kanban/swimlane-kanban.css +1 -1
- package/es/control/kanban/swimlane-kanban/swimlane-kanban.d.ts +0 -6
- package/es/control/kanban/swimlane-kanban/swimlane-kanban.mjs +20 -9
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.mjs +14 -1
- package/es/locale/en/index.d.ts +5 -0
- package/es/locale/en/index.mjs +6 -1
- package/es/locale/zh-CN/index.d.ts +5 -0
- package/es/locale/zh-CN/index.mjs +6 -1
- package/es/panel-component/app-extend-menu/extend-menu-base/common-extend-menu/common-extend-menu.mjs +20 -5
- package/es/panel-component/app-extend-menu/extend-menu-base/extend-button-menu/extend-button-menu.d.ts +1950 -1
- package/es/panel-component/app-extend-menu/extend-menu-base/extend-menu-base.util.d.ts +53 -6
- package/es/panel-component/app-extend-menu/extend-menu-base/extend-standard-menu/extend-standard-menu.css +1 -0
- package/es/panel-component/app-extend-menu/extend-menu-base/extend-standard-menu/extend-standard-menu.d.ts +2031 -0
- package/es/panel-component/app-extend-menu/extend-menu-base/extend-standard-menu/extend-standard-menu.mjs +278 -0
- package/lib/common/index.cjs +2 -0
- package/lib/common/kanben-setting/kanben-setting.cjs +67 -0
- package/lib/common/kanben-setting/kanben-setting.css +1 -0
- package/lib/control/data-view/data-view.cjs +42 -13
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.controller.cjs +2 -0
- package/lib/control/drtab/drtab.controller.cjs +2 -0
- package/lib/control/form/edit-form/edit-form.cjs +11 -0
- package/lib/control/form/form-detail/form-item/form-item.cjs +11 -7
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +4 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.cjs +4 -0
- package/lib/control/kanban/kanban.cjs +15 -8
- package/lib/control/kanban/kanban.css +1 -1
- package/lib/control/kanban/swimlane-kanban/swimlane-kanban.cjs +20 -9
- package/lib/control/kanban/swimlane-kanban/swimlane-kanban.css +1 -1
- package/lib/control/list/list.cjs +14 -1
- package/lib/control/list/list.css +1 -1
- package/lib/locale/en/index.cjs +6 -1
- package/lib/locale/zh-CN/index.cjs +6 -1
- package/lib/panel-component/app-extend-menu/extend-menu-base/common-extend-menu/common-extend-menu.cjs +20 -5
- package/lib/panel-component/app-extend-menu/extend-menu-base/extend-standard-menu/extend-standard-menu.cjs +280 -0
- package/lib/panel-component/app-extend-menu/extend-menu-base/extend-standard-menu/extend-standard-menu.css +1 -0
- package/package.json +4 -4
- package/dist/index-1hn7qv2s.js +0 -4
- package/dist/index-EYFbyMUF.js +0 -1
- package/dist/index-kNUznzXY.js +0 -1
package/es/control/list/list.mjs
CHANGED
|
@@ -183,13 +183,26 @@ const ListControl = /* @__PURE__ */ defineComponent({
|
|
|
183
183
|
"onDblclick": () => c.onDbRowClick(item)
|
|
184
184
|
}, null);
|
|
185
185
|
};
|
|
186
|
+
const renderItemAction = (item) => {
|
|
187
|
+
return createVNode(resolveComponent("iBizActionToolbar"), {
|
|
188
|
+
"class": ns.bem("item", "right", "actions"),
|
|
189
|
+
"action-details": c.getOptItemModel(),
|
|
190
|
+
"actions-state": c.state.uaState[item.srfkey],
|
|
191
|
+
"onActionClick": (detail, event) => c.onActionClick(detail, item, event)
|
|
192
|
+
}, null);
|
|
193
|
+
};
|
|
186
194
|
const renderDefaultItem = (item) => {
|
|
195
|
+
const actionModel = c.getOptItemModel();
|
|
187
196
|
return createVNode("div", {
|
|
188
197
|
"key": item.srfkey,
|
|
189
198
|
"class": ns.b("item"),
|
|
190
199
|
"onClick": () => c.onRowClick(item),
|
|
191
200
|
"onDblclick": () => c.onDbRowClick(item)
|
|
192
|
-
}, [
|
|
201
|
+
}, [createVNode("span", {
|
|
202
|
+
"class": ns.be("item", "caption")
|
|
203
|
+
}, ["".concat(isNil(item.srfmajortext) ? "" : item.srfmajortext)]), actionModel.length ? createVNode("div", {
|
|
204
|
+
"class": ns.be("item", "right")
|
|
205
|
+
}, [renderItemAction(item)]) : null]);
|
|
193
206
|
};
|
|
194
207
|
const renderGroupAction = (group) => {
|
|
195
208
|
if (c.model.groupUIActionGroup && group.groupActionGroupState) {
|
package/es/locale/en/index.d.ts
CHANGED
|
@@ -770,6 +770,8 @@ declare const _default: {
|
|
|
770
770
|
pleaseEnterAccount: string;
|
|
771
771
|
pleaseEnterPassword: string;
|
|
772
772
|
aiError: string;
|
|
773
|
+
fullscreen: string;
|
|
774
|
+
cancelFullscreen: string;
|
|
773
775
|
};
|
|
774
776
|
view: {
|
|
775
777
|
common: {
|
|
@@ -1284,6 +1286,9 @@ declare const _default: {
|
|
|
1284
1286
|
gridSetting: {
|
|
1285
1287
|
hideControl: string;
|
|
1286
1288
|
};
|
|
1289
|
+
kanbanSetting: {
|
|
1290
|
+
hideGroup: string;
|
|
1291
|
+
};
|
|
1287
1292
|
ganttSetting: {
|
|
1288
1293
|
resultDefault: string;
|
|
1289
1294
|
headerCaption: string;
|
package/es/locale/en/index.mjs
CHANGED
|
@@ -31,7 +31,9 @@ var index = {
|
|
|
31
31
|
retract: "Retract",
|
|
32
32
|
pleaseEnterAccount: "Please enter account number",
|
|
33
33
|
pleaseEnterPassword: "Please enter password",
|
|
34
|
-
aiError: "System encountered an exception, please try again later"
|
|
34
|
+
aiError: "System encountered an exception, please try again later",
|
|
35
|
+
fullscreen: "Fullscreen",
|
|
36
|
+
cancelFullscreen: "Cancel fullscreen"
|
|
35
37
|
},
|
|
36
38
|
// 视图
|
|
37
39
|
view: {
|
|
@@ -549,6 +551,9 @@ var index = {
|
|
|
549
551
|
gridSetting: {
|
|
550
552
|
hideControl: "Column selection"
|
|
551
553
|
},
|
|
554
|
+
kanbanSetting: {
|
|
555
|
+
hideGroup: "Group selection"
|
|
556
|
+
},
|
|
552
557
|
ganttSetting: {
|
|
553
558
|
resultDefault: "Restore defaults",
|
|
554
559
|
headerCaption: "Header display attributes",
|
|
@@ -769,6 +769,8 @@ declare const _default: {
|
|
|
769
769
|
pleaseEnterAccount: string;
|
|
770
770
|
pleaseEnterPassword: string;
|
|
771
771
|
aiError: string;
|
|
772
|
+
fullscreen: string;
|
|
773
|
+
cancelFullscreen: string;
|
|
772
774
|
};
|
|
773
775
|
view: {
|
|
774
776
|
common: {
|
|
@@ -1279,6 +1281,9 @@ declare const _default: {
|
|
|
1279
1281
|
gridSetting: {
|
|
1280
1282
|
hideControl: string;
|
|
1281
1283
|
};
|
|
1284
|
+
kanbanSetting: {
|
|
1285
|
+
hideGroup: string;
|
|
1286
|
+
};
|
|
1282
1287
|
ganttSetting: {
|
|
1283
1288
|
resultDefault: string;
|
|
1284
1289
|
headerCaption: string;
|
|
@@ -31,7 +31,9 @@ var index = {
|
|
|
31
31
|
retract: "\u6536\u8D77",
|
|
32
32
|
pleaseEnterAccount: "\u8BF7\u8F93\u5165\u8D26\u53F7",
|
|
33
33
|
pleaseEnterPassword: "\u8BF7\u8F93\u5165\u5BC6\u7801",
|
|
34
|
-
aiError: "\u7CFB\u7EDF\u53D1\u751F\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"
|
|
34
|
+
aiError: "\u7CFB\u7EDF\u53D1\u751F\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",
|
|
35
|
+
fullscreen: "\u5168\u5C4F",
|
|
36
|
+
cancelFullscreen: "\u53D6\u6D88\u5168\u5C4F"
|
|
35
37
|
},
|
|
36
38
|
// 视图
|
|
37
39
|
view: {
|
|
@@ -545,6 +547,9 @@ var index = {
|
|
|
545
547
|
gridSetting: {
|
|
546
548
|
hideControl: "\u5217\u9009\u62E9"
|
|
547
549
|
},
|
|
550
|
+
kanbanSetting: {
|
|
551
|
+
hideGroup: "\u5206\u7EC4\u9009\u62E9"
|
|
552
|
+
},
|
|
548
553
|
ganttSetting: {
|
|
549
554
|
resultDefault: "\u6062\u590D\u9ED8\u8BA4\u503C",
|
|
550
555
|
headerCaption: "\u8868\u5934\u663E\u793A\u5C5E\u6027",
|
|
@@ -2,12 +2,14 @@ import { createVNode, defineComponent } from 'vue';
|
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './common-extend-menu.css';
|
|
4
4
|
import { ExtendButtonMenu } from '../extend-button-menu/extend-button-menu.mjs';
|
|
5
|
+
import { ExtendStandardMenu } from '../extend-standard-menu/extend-standard-menu.mjs';
|
|
5
6
|
|
|
6
7
|
"use strict";
|
|
7
8
|
const CommonExtendMenu = /* @__PURE__ */ defineComponent({
|
|
8
9
|
name: "IBizCommonExtendMenu",
|
|
9
10
|
components: {
|
|
10
|
-
ExtendButtonMenu
|
|
11
|
+
ExtendButtonMenu,
|
|
12
|
+
ExtendStandardMenu
|
|
11
13
|
},
|
|
12
14
|
props: {
|
|
13
15
|
/**
|
|
@@ -81,9 +83,8 @@ const CommonExtendMenu = /* @__PURE__ */ defineComponent({
|
|
|
81
83
|
};
|
|
82
84
|
},
|
|
83
85
|
render() {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}, [createVNode(ExtendButtonMenu, {
|
|
86
|
+
var _a;
|
|
87
|
+
let content = createVNode(ExtendButtonMenu, {
|
|
87
88
|
"items": this.items,
|
|
88
89
|
"menuItemsState": this.menuItemsState,
|
|
89
90
|
"providers": this.providers,
|
|
@@ -91,7 +92,21 @@ const CommonExtendMenu = /* @__PURE__ */ defineComponent({
|
|
|
91
92
|
"layoutMode": this.layoutMode,
|
|
92
93
|
"layout": this.layout,
|
|
93
94
|
"onMenuItemClick": this.handleMenuItemClick
|
|
94
|
-
}, null)
|
|
95
|
+
}, null);
|
|
96
|
+
if (((_a = this.renderMode) == null ? void 0 : _a.toLocaleUpperCase()) === "MENU") {
|
|
97
|
+
content = createVNode(ExtendStandardMenu, {
|
|
98
|
+
"items": this.items,
|
|
99
|
+
"menuItemsState": this.menuItemsState,
|
|
100
|
+
"providers": this.providers,
|
|
101
|
+
"position": this.position,
|
|
102
|
+
"layoutMode": this.layoutMode,
|
|
103
|
+
"layout": this.layout,
|
|
104
|
+
"onMenuItemClick": this.handleMenuItemClick
|
|
105
|
+
}, null);
|
|
106
|
+
}
|
|
107
|
+
return createVNode("div", {
|
|
108
|
+
"class": this.ns.b()
|
|
109
|
+
}, [content]);
|
|
95
110
|
}
|
|
96
111
|
});
|
|
97
112
|
|