@ibiz-template/vue3-components 0.7.41-alpha.14 → 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/map-chart-3dojS1dZ.js +1 -0
- package/dist/{wang-editor-z0RY8bO1.js → wang-editor-_06OYPpu.js} +1 -1
- package/dist/{xlsx-util-8Du1A340.js → xlsx-util-FNiwKrqm.js} +1 -1
- package/es/common/carousel/carousel.css +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/common/map-chart/map-chart.mjs +6 -14
- package/es/control/calendar/calendar-util.d.ts +12 -0
- package/es/control/calendar/calendar-util.mjs +30 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +2 -0
- package/es/control/calendar/calendar.mjs +106 -25
- package/es/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
- package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +2 -0
- package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +66 -16
- package/es/control/calendar/components/calendar-daily/index.d.ts +2 -0
- package/es/control/calendar/components/calendar-daily/use-calendar-daily.d.ts +3 -1
- package/es/control/calendar/components/calendar-daily/use-calendar-daily.mjs +99 -44
- package/es/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/es/control/calendar/components/calendar-week/calendar-week.d.ts +6 -0
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +74 -38
- package/es/control/calendar/components/calendar-week/index.d.ts +6 -0
- package/es/control/calendar/components/calendar-week/use-calendar-week.d.ts +12 -1
- package/es/control/calendar/components/calendar-week/use-calendar-week.mjs +313 -155
- package/es/control/calendar/components/constant/event.d.ts +1 -0
- package/es/control/calendar/components/constant/event.mjs +2 -1
- package/es/control/calendar/components/constant/index.mjs +1 -1
- package/es/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
- package/es/control/calendar/components/custom-calendar/custom-calendar.d.ts +2 -0
- package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +8 -10
- package/es/control/calendar/components/custom-calendar/index.d.ts +2 -0
- package/es/control/calendar/components/custom-calendar/use-custom-calendar.mjs +4 -0
- package/es/control/calendar/components/interface/calendar-daily.d.ts +1 -0
- package/es/control/calendar/components/interface/calendar-daily.mjs +6 -1
- package/es/control/calendar/components/interface/calendar-week.d.ts +1 -0
- package/es/control/calendar/components/interface/calendar-week.mjs +2 -1
- package/es/control/calendar/components/interface/common.d.ts +20 -18
- package/es/control/calendar/components/interface/custom-calendar.d.ts +1 -0
- package/es/control/calendar/components/interface/custom-calendar.mjs +3 -2
- package/es/control/calendar/components/util/index.mjs +1 -1
- package/es/control/calendar/components/util/util.d.ts +20 -1
- package/es/control/calendar/components/util/util.mjs +10 -2
- package/es/control/calendar/index.d.ts +2 -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/drbar/drbar.mjs +6 -6
- package/es/control/drtab/drtab.controller.mjs +2 -0
- package/es/control/drtab/drtab.mjs +6 -6
- package/es/control/drtab/flow-drtab.css +1 -1
- package/es/control/drtab/flow-drtab.mjs +3 -1
- 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/grid/virtualized-table/virtualized-table.css +1 -1
- package/es/control/grid/virtualized-table/virtualized-table.mjs +4 -3
- package/es/control/grid/virtualized-table/virtualized-table.util.mjs +4 -4
- package/es/control/kanban/kanban.css +1 -1
- package/es/control/kanban/kanban.mjs +22 -18
- package/es/control/kanban/swimlane-kanban/swimlane-kanban.css +1 -0
- package/es/control/kanban/{lane-kanban/lane-kanban.d.ts → swimlane-kanban/swimlane-kanban.d.ts} +3 -8
- package/es/control/kanban/{lane-kanban/lane-kanban.mjs → swimlane-kanban/swimlane-kanban.mjs} +42 -38
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.mjs +14 -1
- package/es/control/map/map.mjs +1 -1
- package/es/control/medit-view-panel/index.d.ts +2 -0
- package/es/control/medit-view-panel/medit-view-panel.d.ts +2 -0
- package/es/control/medit-view-panel/medit-view-panel.mjs +19 -6
- package/es/control/search-bar/search-bar.mjs +1 -1
- package/es/editor/span/span/span.mjs +2 -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/es/view-engine/index.mjs +4 -0
- package/lib/common/carousel/carousel.css +1 -1
- 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/common/map-chart/map-chart.cjs +5 -13
- package/lib/control/calendar/calendar-util.cjs +30 -0
- package/lib/control/calendar/calendar.cjs +104 -23
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +64 -14
- package/lib/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
- package/lib/control/calendar/components/calendar-daily/use-calendar-daily.cjs +98 -43
- package/lib/control/calendar/components/calendar-week/calendar-week.cjs +73 -37
- package/lib/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/lib/control/calendar/components/calendar-week/use-calendar-week.cjs +311 -153
- package/lib/control/calendar/components/constant/event.cjs +2 -0
- package/lib/control/calendar/components/constant/index.cjs +1 -0
- package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +8 -10
- package/lib/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
- package/lib/control/calendar/components/custom-calendar/use-custom-calendar.cjs +4 -0
- package/lib/control/calendar/components/interface/calendar-daily.cjs +6 -1
- package/lib/control/calendar/components/interface/calendar-week.cjs +2 -1
- package/lib/control/calendar/components/interface/custom-calendar.cjs +2 -1
- package/lib/control/calendar/components/util/index.cjs +2 -0
- package/lib/control/calendar/components/util/util.cjs +11 -1
- 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.cjs +6 -6
- package/lib/control/drbar/drbar.controller.cjs +2 -0
- package/lib/control/drtab/drtab.cjs +6 -6
- package/lib/control/drtab/drtab.controller.cjs +2 -0
- package/lib/control/drtab/flow-drtab.cjs +3 -1
- package/lib/control/drtab/flow-drtab.css +1 -1
- 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/grid/virtualized-table/virtualized-table.cjs +3 -2
- package/lib/control/grid/virtualized-table/virtualized-table.css +1 -1
- package/lib/control/grid/virtualized-table/virtualized-table.util.cjs +4 -4
- package/lib/control/kanban/kanban.cjs +21 -17
- package/lib/control/kanban/kanban.css +1 -1
- package/lib/control/kanban/{lane-kanban/lane-kanban.cjs → swimlane-kanban/swimlane-kanban.cjs} +42 -38
- package/lib/control/kanban/swimlane-kanban/swimlane-kanban.css +1 -0
- package/lib/control/list/list.cjs +14 -1
- package/lib/control/list/list.css +1 -1
- package/lib/control/map/map.cjs +1 -1
- package/lib/control/medit-view-panel/medit-view-panel.cjs +19 -6
- package/lib/control/search-bar/search-bar.cjs +1 -1
- package/lib/editor/span/span/span.cjs +2 -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/lib/view-engine/index.cjs +4 -0
- package/package.json +4 -4
- package/dist/index-1fHusiqt.js +0 -4
- package/dist/index-EYFbyMUF.js +0 -1
- package/dist/index-kNUznzXY.js +0 -1
- package/dist/map-chart-HL7emT5a.js +0 -1
- package/es/control/kanban/lane-kanban/lane-kanban.css +0 -1
- package/lib/control/kanban/lane-kanban/lane-kanban.css +0 -1
package/lib/control/kanban/{lane-kanban/lane-kanban.cjs → swimlane-kanban/swimlane-kanban.cjs}
RENAMED
|
@@ -4,21 +4,18 @@ var vue = require('vue');
|
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
var draggable = require('vuedraggable');
|
|
6
6
|
var core = require('@ibiz-template/core');
|
|
7
|
-
require('./
|
|
7
|
+
require('./swimlane-kanban.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
function _isSlot(s) {
|
|
11
11
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
name: "
|
|
13
|
+
const SwimlaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
14
|
+
name: "IBizSwimlaneKanban",
|
|
15
15
|
components: {
|
|
16
16
|
draggable
|
|
17
17
|
},
|
|
18
18
|
props: {
|
|
19
|
-
/**
|
|
20
|
-
* @description 面板直接内容控制器
|
|
21
|
-
*/
|
|
22
19
|
controller: {
|
|
23
20
|
type: Object,
|
|
24
21
|
required: true
|
|
@@ -26,36 +23,26 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
23
|
},
|
|
27
24
|
setup(props) {
|
|
28
25
|
var _a, _b;
|
|
29
|
-
const ns = vue3Util.useNamespace("
|
|
26
|
+
const ns = vue3Util.useNamespace("swimlane-kanban");
|
|
30
27
|
const c = props.controller;
|
|
31
28
|
const {
|
|
32
29
|
zIndex
|
|
33
30
|
} = vue3Util.useUIStore();
|
|
34
31
|
const popperStyle = {
|
|
35
|
-
zIndex: zIndex.increment()
|
|
36
|
-
position: "unset"
|
|
32
|
+
zIndex: zIndex.increment()
|
|
37
33
|
};
|
|
38
34
|
const expandAll = vue.ref(true);
|
|
39
35
|
const dropdownKey = vue.ref();
|
|
40
|
-
const cardStyle = vue.computed(() => {
|
|
41
|
-
const {
|
|
42
|
-
cardWidth,
|
|
43
|
-
cardHeight
|
|
44
|
-
} = c.model;
|
|
45
|
-
const style = {};
|
|
46
|
-
if (cardWidth)
|
|
47
|
-
Object.assign(style, {
|
|
48
|
-
width: "".concat(cardWidth, "px")
|
|
49
|
-
});
|
|
50
|
-
if (cardHeight)
|
|
51
|
-
Object.assign(style, {
|
|
52
|
-
height: "".concat(cardHeight, "px")
|
|
53
|
-
});
|
|
54
|
-
return style;
|
|
55
|
-
});
|
|
56
36
|
const disabled = vue.computed(() => {
|
|
57
37
|
return !c.state.draggable || c.draggableMode === 0 || c.state.updating || c.state.readonly;
|
|
58
38
|
});
|
|
39
|
+
const width = vue.computed(() => {
|
|
40
|
+
const {
|
|
41
|
+
groupWidth,
|
|
42
|
+
cardWidth
|
|
43
|
+
} = c.model;
|
|
44
|
+
return groupWidth || cardWidth || 320;
|
|
45
|
+
});
|
|
59
46
|
const batchKey = vue.computed(() => {
|
|
60
47
|
return c.state.batching ? c.state.selectGroupKey : "";
|
|
61
48
|
});
|
|
@@ -117,7 +104,7 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
117
104
|
};
|
|
118
105
|
const handleExpandAll = () => {
|
|
119
106
|
expandAll.value = !expandAll.value;
|
|
120
|
-
c.state.
|
|
107
|
+
c.state.swimlanes.forEach((lane) => {
|
|
121
108
|
lane.isExpand = expandAll.value;
|
|
122
109
|
});
|
|
123
110
|
};
|
|
@@ -154,7 +141,6 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
154
141
|
}, null)]
|
|
155
142
|
}), showActionBar && vue.createVNode(vue.resolveComponent("el-dropdown"), {
|
|
156
143
|
"trigger": "click",
|
|
157
|
-
"teleported": false,
|
|
158
144
|
"style": popperStyle,
|
|
159
145
|
"class": [ns.em("header", "action"), ns.is("visible", group.key === dropdownKey.value)],
|
|
160
146
|
"popper-class": ns.em("header", "popper"),
|
|
@@ -171,7 +157,7 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
171
157
|
}),
|
|
172
158
|
dropdown: () => vue.createVNode("div", {
|
|
173
159
|
"class": ns.em("header", "toolbar")
|
|
174
|
-
}, [vue.createVNode(vue.resolveComponent("iBizActionToolbar"), {
|
|
160
|
+
}, [c.model.groupUIActionGroup && vue.createVNode(vue.resolveComponent("iBizActionToolbar"), {
|
|
175
161
|
"actionDetails": c.model.groupUIActionGroup.uiactionGroupDetails,
|
|
176
162
|
"actionsState": group.groupActionGroupState,
|
|
177
163
|
"onActionClick": (detail, event) => {
|
|
@@ -231,7 +217,17 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
231
217
|
"name": expandAll.value ? "chevron-collapse-outline" : "chevron-expand-outline"
|
|
232
218
|
}, null), vue.createVNode("div", {
|
|
233
219
|
"class": ns.em("cell", "caption")
|
|
234
|
-
}, [ibiz.i18n.t("control.kanban.lane")])])
|
|
220
|
+
}, [ibiz.i18n.t("control.kanban.lane")])]), c.enableGroupHidden && vue.createVNode("div", {
|
|
221
|
+
"class": ns.em("cell", "right")
|
|
222
|
+
}, [vue.createVNode(vue.resolveComponent("iBizKanbanSetting"), {
|
|
223
|
+
"buttonStyle": {
|
|
224
|
+
circle: true,
|
|
225
|
+
type: "text"
|
|
226
|
+
},
|
|
227
|
+
"controller": props.controller
|
|
228
|
+
}, null)])])]), c.state.groups.map((group) => {
|
|
229
|
+
if (group.hidden)
|
|
230
|
+
return void 0;
|
|
235
231
|
return renderHeaderCell(group);
|
|
236
232
|
})])]);
|
|
237
233
|
};
|
|
@@ -271,6 +267,10 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
271
267
|
}, null)]) : null]);
|
|
272
268
|
};
|
|
273
269
|
const renderBodyCellToolber = (lane, group) => {
|
|
270
|
+
const {
|
|
271
|
+
swimlaneAppDEFieldId
|
|
272
|
+
} = c.model;
|
|
273
|
+
const items = group.children.filter((item) => item[swimlaneAppDEFieldId] === lane.key);
|
|
274
274
|
return vue.createVNode("div", {
|
|
275
275
|
"class": ns.em("cell", "toolbar")
|
|
276
276
|
}, [c.enableNew && !c.state.readonly && vue.createVNode(vue.resolveComponent("el-button"), {
|
|
@@ -283,7 +283,7 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
283
283
|
default: () => [vue.createVNode("ion-icon", {
|
|
284
284
|
"name": "add-outline"
|
|
285
285
|
}, null), ibiz.i18n.t("app.newlyBuild")]
|
|
286
|
-
}), quickToolbarModel && vue.createVNode(vue.resolveComponent("iBizControlShell"), {
|
|
286
|
+
}), quickToolbarModel && items.length === 0 && vue.createVNode(vue.resolveComponent("iBizControlShell"), {
|
|
287
287
|
"class": ns.e("quicktoolbar"),
|
|
288
288
|
"modelData": {
|
|
289
289
|
...quickToolbarModel,
|
|
@@ -319,7 +319,7 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
319
319
|
}, _isSlot(_slot2 = ibiz.i18n.t("control.kanban.selectAll")) ? _slot2 : {
|
|
320
320
|
default: () => [_slot2]
|
|
321
321
|
}), vue.createVNode("span", {
|
|
322
|
-
"class": ns.
|
|
322
|
+
"class": ns.em("batch", "info"),
|
|
323
323
|
"innerHTML": ibiz.i18n.t("control.kanban.selectedDataCount", {
|
|
324
324
|
length: selectedData.length
|
|
325
325
|
})
|
|
@@ -349,7 +349,6 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
349
349
|
return vue.createVNode(vue.resolveComponent("el-card"), {
|
|
350
350
|
"shadow": "hover",
|
|
351
351
|
"class": [ns.e("card"), ns.is("selected", isSelected(element)), ns.is("disabled", c.state.draggable && c.state.updating)],
|
|
352
|
-
"body-style": cardStyle.value,
|
|
353
352
|
"onClick": () => c.onRowClick(element),
|
|
354
353
|
"onDblclick": () => c.onDbRowClick(element)
|
|
355
354
|
}, {
|
|
@@ -365,9 +364,7 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
365
364
|
const renderBody = () => {
|
|
366
365
|
return vue.createVNode("div", {
|
|
367
366
|
"class": ns.e("body")
|
|
368
|
-
}, [
|
|
369
|
-
"class": ns.em("body", "scollor")
|
|
370
|
-
}, [c.state.lanes.map((lane, index) => {
|
|
367
|
+
}, [c.state.swimlanes.map((lane, index) => {
|
|
371
368
|
return vue.createVNode("div", {
|
|
372
369
|
"class": [ns.em("body", "row"), ns.is("expand", lane.isExpand)]
|
|
373
370
|
}, [vue.createVNode("div", {
|
|
@@ -389,23 +386,30 @@ const LaneKanban = /* @__PURE__ */ vue.defineComponent({
|
|
|
389
386
|
}, [vue.createVNode("span", {
|
|
390
387
|
"class": ns.em("cell", "description")
|
|
391
388
|
}, ["".concat(lane.count, " \u4E2A").concat(c.laneDescription)])])])]), c.state.groups.map((group) => {
|
|
389
|
+
if (group.hidden)
|
|
390
|
+
return void 0;
|
|
392
391
|
return renderBodyCell(index, lane, group);
|
|
393
392
|
})]);
|
|
394
|
-
})])
|
|
393
|
+
})]);
|
|
395
394
|
};
|
|
396
395
|
return {
|
|
397
396
|
ns,
|
|
397
|
+
width,
|
|
398
398
|
renderHeader,
|
|
399
399
|
renderBody
|
|
400
400
|
};
|
|
401
401
|
},
|
|
402
402
|
render() {
|
|
403
|
+
var _a;
|
|
403
404
|
return vue.createVNode("div", {
|
|
404
|
-
"class": this.ns.b()
|
|
405
|
+
"class": [this.ns.b(), this.ns.e((_a = this.controller.model.groupStyle) == null ? void 0 : _a.toLowerCase())],
|
|
406
|
+
"style": {
|
|
407
|
+
"--ibiz-swimlane-kanban-width": "".concat(this.width, "px")
|
|
408
|
+
}
|
|
405
409
|
}, [vue.createVNode("div", {
|
|
406
410
|
"class": this.ns.e("table")
|
|
407
411
|
}, [this.renderHeader(), this.renderBody()])]);
|
|
408
412
|
}
|
|
409
413
|
});
|
|
410
414
|
|
|
411
|
-
exports.
|
|
415
|
+
exports.SwimlaneKanban = SwimlaneKanban;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-swimlane-kanban{--ibiz-swimlane-kanban-width:320px;display:flex;flex-direction:column;width:100%;height:100%;padding:var(--ibiz-spacing-tight)}.ibiz-swimlane-kanban__default .ibiz-swimlane-kanban__cell:not(.is-collapsed){width:var(--ibiz-swimlane-kanban-width)}.ibiz-swimlane-kanban__style2 .ibiz-swimlane-kanban__cell:not(.is-collapsed){flex:1 0 0;min-width:var(--ibiz-swimlane-kanban-width)}.ibiz-swimlane-kanban__table{overflow:auto hidden}.ibiz-swimlane-kanban__header{box-sizing:border-box;width:100%;min-width:-moz-fit-content;min-width:fit-content;padding-right:4px;border-top:1px solid var(--ibiz-color-border)}.ibiz-swimlane-kanban__header--action{visibility:hidden}.ibiz-swimlane-kanban__header--action.is-visible{visibility:visible}.ibiz-swimlane-kanban__header--row{display:flex}.ibiz-swimlane-kanban__header--cell .ibiz-swimlane-kanban__cell--content{display:flex;justify-content:space-between}.ibiz-swimlane-kanban__header--cell:hover .ibiz-swimlane-kanban__header--action{visibility:visible}.ibiz-swimlane-kanban__header--cell.is-collapsed{position:relative;width:50px;border-bottom:none}.ibiz-swimlane-kanban__header--cell.is-collapsed .ibiz-swimlane-kanban__cell--content{position:absolute;top:var(--ibiz-spacing-base);left:0;flex-direction:column}.ibiz-swimlane-kanban__header--cell.is-collapsed .ibiz-swimlane-kanban__cell--left{flex-direction:column;gap:var(--ibiz-spacing-extra-tight)}.ibiz-swimlane-kanban__header--cell.is-collapsed .ibiz-swimlane-kanban__cell--caption{writing-mode:tb}.ibiz-swimlane-kanban__header--cell.is-collapsed .ibiz-swimlane-kanban__cell--separator{margin:var(--ibiz-spacing-extra-tight) 0}.ibiz-swimlane-kanban__header--toolbar .ibiz-action-toolbar{display:flex;flex-flow:column nowrap}.ibiz-swimlane-kanban__header--toolbar .el-button{--el-button-size:var(--ibiz-height-control-large);justify-content:flex-start;width:100%;padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);margin:var(--ibiz-spacing-none);font-size:var(--ibiz-font-size-regular);color:var(--ibiz-color-primary-text)}.ibiz-swimlane-kanban__header--toolbar .el-button ion-icon{margin-right:var(--ibiz-spacing-extra-tight)}.ibiz-swimlane-kanban__header--toolbar .el-button.is-text:not(.is-disabled):hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color)}.ibiz-swimlane-kanban__header--popper.el-popper.el-dropdown__popper .el-scrollbar__view.el-dropdown__list{padding:var(--ibiz-spacing-extra-tight) var(--ibiz-spacing-none);background-color:var(--ibiz-color-white)}.ibiz-swimlane-kanban__header--popper.el-popper.el-dropdown__popper .el-button{color:var(--ibiz-color-text-2);--el-button-bg-color:var(--ibiz-color-white);--el-button-hover-bg-color:var(--ibiz-color-fill-0);--el-button-active-bg-color:var(--ibiz-color-fill-0);--el-button-text-color:var(--ibiz-color-text-2);--el-button-hover-text-color:var(--ibiz-color-primary);--el-button-active-text-color:var(--ibiz-color-primary);border:none}.ibiz-swimlane-kanban__body{width:100%;min-width:-moz-fit-content;min-width:fit-content;height:calc(100% - 66px);padding-bottom:var(--ibiz-spacing-extra-tight);overflow:hidden scroll}.ibiz-swimlane-kanban__body--row{display:flex}.ibiz-swimlane-kanban__body--row.is-expand .ibiz-swimlane-kanban__cell{height:auto;min-height:200px;padding:var(--ibiz-spacing-tight)}.ibiz-swimlane-kanban__body--row:not(.is-expand) .ibiz-swimlane-kanban__cell:not(.is-collapsed){border-right:none}.ibiz-swimlane-kanban__body--cell:first-child .ibiz-swimlane-kanban__cell--content{display:flex;align-items:start;justify-content:space-between}.ibiz-swimlane-kanban__body--cell.is-collapsed{width:50px;min-width:50px;border-right:1px solid var(--ibiz-color-border);border-bottom:none}.ibiz-swimlane-kanban__body--cell:has(+.is-collapsed){border-right:1px solid var(--ibiz-color-border)!important}.ibiz-swimlane-kanban__cell{padding:var(--ibiz-spacing-base) var(--ibiz-spacing-tight);border-right:1px solid var(--ibiz-color-border);border-bottom:1px solid var(--ibiz-color-border)}.ibiz-swimlane-kanban__cell--expand-icon{display:flex;align-items:center;margin-right:var(--ibiz-spacing-tight);font-size:var(--ibiz-font-size-header-6);color:var(--ibiz-color-text-3);cursor:pointer}.ibiz-swimlane-kanban__cell--content{width:100%;height:100%}.ibiz-swimlane-kanban__cell--left{display:flex;align-items:center}.ibiz-swimlane-kanban__cell--right{display:flex;align-items:center}.ibiz-swimlane-kanban__cell--toolbar{margin:var(--ibiz-spacing-tight);visibility:hidden}.ibiz-swimlane-kanban__cell--separator{margin:0 var(--ibiz-spacing-extra-tight)}.ibiz-swimlane-kanban__cell--description{font-size:var(--ibiz-font-size-regular);color:var(--ibiz-color-text-3)}.ibiz-swimlane-kanban__cell:hover .ibiz-swimlane-kanban__cell--toolbar{visibility:visible}.ibiz-swimlane-kanban__card{margin:var(--ibiz-spacing-tight);cursor:pointer;border-radius:var(--ibiz-spacing-super-tight)}.ibiz-swimlane-kanban__card.is-disabled{cursor:no-drop}.ibiz-swimlane-kanban__card.is-selected{background-color:var(--ibiz-color-fill-0)}.ibiz-swimlane-kanban__default-item--footer{display:flex;align-items:center;justify-content:center;padding:var(--ibiz-spacing-tight);margin-top:var(--ibiz-spacing-tight);border-top:1px solid var(--ibiz-color-border)}.ibiz-swimlane-kanban__default-item--actions{display:flex;justify-content:center}.ibiz-swimlane-kanban__default-item--actions .ibiz-action-toolbar__item{margin:0}.ibiz-swimlane-kanban__default-item--actions .ibiz-action-toolbar__item--label.is-has-caption{margin:0}.ibiz-swimlane-kanban__batch{padding:var(--ibiz-spacing-base-tight);border-bottom:1px solid var(--ibiz-color-border)}.ibiz-swimlane-kanban__batch--toolbar{flex-wrap:wrap;row-gap:var(--ibiz-spacing-tight)}.ibiz-swimlane-kanban__batch--check{display:flex;align-items:center;justify-content:space-between;margin-top:var(--ibiz-spacing-base-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-swimlane-kanban__batch--info span{margin:var(--ibiz-spacing-none) var(--ibiz-spacing-extra-tight);color:var(--ibiz-color-primary)}.ibiz-swimlane-kanban__scrollbar .el-scrollbar__view{width:100%}.ibiz-swimlane-kanban__quicktoolbar{flex-flow:column nowrap;gap:var(--ibiz-spacing-tight);align-items:center;justify-content:center}
|
|
@@ -185,13 +185,26 @@ const ListControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
185
185
|
"onDblclick": () => c.onDbRowClick(item)
|
|
186
186
|
}, null);
|
|
187
187
|
};
|
|
188
|
+
const renderItemAction = (item) => {
|
|
189
|
+
return vue.createVNode(vue.resolveComponent("iBizActionToolbar"), {
|
|
190
|
+
"class": ns.bem("item", "right", "actions"),
|
|
191
|
+
"action-details": c.getOptItemModel(),
|
|
192
|
+
"actions-state": c.state.uaState[item.srfkey],
|
|
193
|
+
"onActionClick": (detail, event) => c.onActionClick(detail, item, event)
|
|
194
|
+
}, null);
|
|
195
|
+
};
|
|
188
196
|
const renderDefaultItem = (item) => {
|
|
197
|
+
const actionModel = c.getOptItemModel();
|
|
189
198
|
return vue.createVNode("div", {
|
|
190
199
|
"key": item.srfkey,
|
|
191
200
|
"class": ns.b("item"),
|
|
192
201
|
"onClick": () => c.onRowClick(item),
|
|
193
202
|
"onDblclick": () => c.onDbRowClick(item)
|
|
194
|
-
}, [
|
|
203
|
+
}, [vue.createVNode("span", {
|
|
204
|
+
"class": ns.be("item", "caption")
|
|
205
|
+
}, ["".concat(lodashEs.isNil(item.srfmajortext) ? "" : item.srfmajortext)]), actionModel.length ? vue.createVNode("div", {
|
|
206
|
+
"class": ns.be("item", "right")
|
|
207
|
+
}, [renderItemAction(item)]) : null]);
|
|
195
208
|
};
|
|
196
209
|
const renderGroupAction = (group) => {
|
|
197
210
|
if (c.model.groupUIActionGroup && group.groupActionGroupState) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-list-item{flex-grow:1;min-height:var(--ibiz-control-list-item-height);padding:var(--ibiz-control-list-padding);font-weight:var(--ibiz-control-list-font-weight);color:var(--ibiz-control-list-text-color);cursor:pointer;background-color:var(--ibiz-control-list-item-bg-color)}.ibiz-control-list{--ibiz-control-list-text-color:var(--ibiz-color-text-0);--ibiz-control-list-load-more-color:var(--ibiz-color-text-2);--ibiz-control-list-hover-bg-color:var(--ibiz-color-fill-1);--ibiz-control-list-active-bg-color:var(--ibiz-color-fill-2);--ibiz-control-list-font-weight:var(--ibiz-font-weight-regular);--ibiz-control-list-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-tight);--ibiz-control-list-item-bg-color:unset;display:flex;flex-flow:column nowrap;align-items:stretch;justify-content:flex-start;position:relative;height:100%}.ibiz-control-list__nav-icon{position:absolute;top:18px;right:10px;color:var(--ibiz-color-primary);cursor:pointer}.ibiz-control-list__load-more{text-align:center}.ibiz-control-list__load-more i{font-size:var(--ibiz-font-size-header-3);color:var(--ibiz-control-list-load-more-color);cursor:pointer}.ibiz-control-list__load-more i:hover{color:var(--ibiz-color-primary-light-hover)}.ibiz-control-list__collapse-expand-icon{width:calc(100% - var(--ibiz-spacing-base-tight));text-align:center}.ibiz-control-list__collapse-expand-icon i{font-size:var(--ibiz-font-size-header-3);color:var(--ibiz-color-text-2);cursor:pointer}.ibiz-control-list__collapse-expand-icon i:hover{color:var(--ibiz-color-primary-light-hover)}.ibiz-control-list__load-more-button{padding:var(--ibiz-control-list-padding);text-align:center}.ibiz-control-list__quicktoolbar{display:flex;justify-content:center;width:100%}.ibiz-control-list .ibiz-control-list-content{flex-grow:1}.ibiz-control-list-content__batchtoolbar{margin:var(--ibiz-spacing-tight) 0}.ibiz-control-list-content.is-show-underLine .ibiz-control-list-scroll-item{border-bottom:1px solid var(--ibiz-color-border)}.ibiz-control-list-content .ibiz-row-detail:last-of-type .ibiz-control-list-scroll-item{border-bottom:none}.ibiz-control-list-scroll{height:100%;overflow:auto}.ibiz-control-list-group-content__item-header{display:flex;align-items:center;justify-content:space-between;width:100%}.ibiz-control-list-scroll-item{display:flex;align-items:center}.ibiz-control-list-scroll-item__checkbox{flex-shrink:0;margin-left:var(--ibiz-spacing-tight)}.ibiz-control-list-scroll-item__icon{flex-shrink:0;margin-left:var(--ibiz-spacing-tight);color:var(--ibiz-color-text-2);cursor:pointer}.ibiz-control-list-scroll-item:hover{background-color:var(--ibiz-control-list-hover-bg-color)}.ibiz-control-list-scroll-item.is-active{background-color:var(--ibiz-control-list-active-bg-color)}.ibiz-control-list-group-style2{--ibiz-control-list-group-style2-color:var(--ibiz-color-disabled-text)}.ibiz-control-list-group-style2__header{display:flex;align-items:center;justify-content:center;width:100%}.ibiz-control-list-group-style2__header--title{padding:0 var(--ibiz-spacing-tight);font-size:var(--ibiz-font-size-regular);color:var(--ibiz-control-list-group-style2-color)}.ibiz-control-list-group-style2__header::after,.ibiz-control-list-group-style2__header::before{display:block;flex:1;height:1px;margin-top:1px;content:"";border-top:1px var(--ibiz-color-border) solid;transform:translateY(-50%)}
|
|
1
|
+
.ibiz-control-list-item{flex-grow:1;min-height:var(--ibiz-control-list-item-height);padding:var(--ibiz-control-list-padding);font-weight:var(--ibiz-control-list-font-weight);color:var(--ibiz-control-list-text-color);cursor:pointer;background-color:var(--ibiz-control-list-item-bg-color)}.ibiz-control-list-item__right{padding:0 var(--ibiz-spacing-extra-tight)}.ibiz-control-list-item__right--actions{display:flex;justify-content:center}.ibiz-control-list-item__right--actions .ibiz-action-toolbar__item{margin:0}.ibiz-control-list-item__right--actions .ibiz-action-toolbar__item--label.is-has-caption{margin:0}.ibiz-control-list-item:has(.ibiz-control-list-item__right){display:flex;justify-content:space-between}.ibiz-control-list-item:has(.ibiz-control-list-item__right) .ibiz-control-list-item__caption{flex:1}.ibiz-control-list{--ibiz-control-list-text-color:var(--ibiz-color-text-0);--ibiz-control-list-load-more-color:var(--ibiz-color-text-2);--ibiz-control-list-hover-bg-color:var(--ibiz-color-fill-1);--ibiz-control-list-active-bg-color:var(--ibiz-color-fill-2);--ibiz-control-list-font-weight:var(--ibiz-font-weight-regular);--ibiz-control-list-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-tight);--ibiz-control-list-item-bg-color:unset;display:flex;flex-flow:column nowrap;align-items:stretch;justify-content:flex-start;position:relative;height:100%}.ibiz-control-list__nav-icon{position:absolute;top:18px;right:10px;color:var(--ibiz-color-primary);cursor:pointer}.ibiz-control-list__load-more{text-align:center}.ibiz-control-list__load-more i{font-size:var(--ibiz-font-size-header-3);color:var(--ibiz-control-list-load-more-color);cursor:pointer}.ibiz-control-list__load-more i:hover{color:var(--ibiz-color-primary-light-hover)}.ibiz-control-list__collapse-expand-icon{width:calc(100% - var(--ibiz-spacing-base-tight));text-align:center}.ibiz-control-list__collapse-expand-icon i{font-size:var(--ibiz-font-size-header-3);color:var(--ibiz-color-text-2);cursor:pointer}.ibiz-control-list__collapse-expand-icon i:hover{color:var(--ibiz-color-primary-light-hover)}.ibiz-control-list__load-more-button{padding:var(--ibiz-control-list-padding);text-align:center}.ibiz-control-list__quicktoolbar{display:flex;justify-content:center;width:100%}.ibiz-control-list .ibiz-control-list-content{flex-grow:1}.ibiz-control-list-content__batchtoolbar{margin:var(--ibiz-spacing-tight) 0}.ibiz-control-list-content.is-show-underLine .ibiz-control-list-scroll-item{border-bottom:1px solid var(--ibiz-color-border)}.ibiz-control-list-content .ibiz-row-detail:last-of-type .ibiz-control-list-scroll-item{border-bottom:none}.ibiz-control-list-scroll{height:100%;overflow:auto}.ibiz-control-list-group-content__item-header{display:flex;align-items:center;justify-content:space-between;width:100%}.ibiz-control-list-scroll-item{display:flex;align-items:center}.ibiz-control-list-scroll-item__checkbox{flex-shrink:0;margin-left:var(--ibiz-spacing-tight)}.ibiz-control-list-scroll-item__icon{flex-shrink:0;margin-left:var(--ibiz-spacing-tight);color:var(--ibiz-color-text-2);cursor:pointer}.ibiz-control-list-scroll-item:hover{background-color:var(--ibiz-control-list-hover-bg-color)}.ibiz-control-list-scroll-item.is-active{background-color:var(--ibiz-control-list-active-bg-color)}.ibiz-control-list-group-style2{--ibiz-control-list-group-style2-color:var(--ibiz-color-disabled-text)}.ibiz-control-list-group-style2__header{display:flex;align-items:center;justify-content:center;width:100%}.ibiz-control-list-group-style2__header--title{padding:0 var(--ibiz-spacing-tight);font-size:var(--ibiz-font-size-regular);color:var(--ibiz-control-list-group-style2-color)}.ibiz-control-list-group-style2__header::after,.ibiz-control-list-group-style2__header::before{display:block;flex:1;height:1px;margin-top:1px;content:"";border-top:1px var(--ibiz-color-border) solid;transform:translateY(-50%)}
|
package/lib/control/map/map.cjs
CHANGED
|
@@ -86,7 +86,7 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
86
86
|
const {
|
|
87
87
|
state
|
|
88
88
|
} = this.c;
|
|
89
|
-
if (!state.isCreated)
|
|
89
|
+
if (!state.isCreated || !state.isLoaded)
|
|
90
90
|
return;
|
|
91
91
|
return vue.createVNode(vue.resolveComponent("iBizControlNavigation"), {
|
|
92
92
|
"controller": this.c
|
|
@@ -44,6 +44,14 @@ const MEditViewPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
44
44
|
const handleDelete = (item) => {
|
|
45
45
|
c.handleDelete(item);
|
|
46
46
|
};
|
|
47
|
+
const onTabChange = (name) => {
|
|
48
|
+
c.state.activeTab = name;
|
|
49
|
+
c.onTabChange(name);
|
|
50
|
+
};
|
|
51
|
+
const handleTabDelete = (item, event) => {
|
|
52
|
+
event.stopPropagation();
|
|
53
|
+
c.handleDelete(item);
|
|
54
|
+
};
|
|
47
55
|
vue.onMounted(() => {
|
|
48
56
|
if (panelContent.value) {
|
|
49
57
|
mutationObserver = new MutationObserver(() => {
|
|
@@ -76,7 +84,9 @@ const MEditViewPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
76
84
|
c,
|
|
77
85
|
ns,
|
|
78
86
|
panelContent,
|
|
79
|
-
handleDelete
|
|
87
|
+
handleDelete,
|
|
88
|
+
onTabChange,
|
|
89
|
+
handleTabDelete
|
|
80
90
|
};
|
|
81
91
|
},
|
|
82
92
|
render() {
|
|
@@ -86,8 +96,9 @@ const MEditViewPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
86
96
|
return vue.createVNode(vue.resolveComponent("el-tabs"), {
|
|
87
97
|
"class": this.ns.b("tabs"),
|
|
88
98
|
"modelValue": this.c.state.activeTab,
|
|
89
|
-
"onUpdate:modelValue": ($event) => this.c.state.activeTab = $event
|
|
90
|
-
|
|
99
|
+
"onUpdate:modelValue": ($event) => this.c.state.activeTab = $event,
|
|
100
|
+
"onTabChange": this.onTabChange
|
|
101
|
+
}, _isSlot(_slot = this.c.state.panelUiItems.map((item) => {
|
|
91
102
|
return vue.createVNode(vue.resolveComponent("el-tab-pane"), {
|
|
92
103
|
"key": item.id + item.srfmajortext,
|
|
93
104
|
"name": item.id
|
|
@@ -97,7 +108,7 @@ const MEditViewPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
97
108
|
"class": this.ns.b("tab-label")
|
|
98
109
|
}, [vue.createVNode("span", null, [item.srfmajortext]), vue.createVNode("ion-icon", {
|
|
99
110
|
"name": "close-outline",
|
|
100
|
-
"onClick": () => this.
|
|
111
|
+
"onClick": (event) => this.handleTabDelete(item, event)
|
|
101
112
|
}, null)]);
|
|
102
113
|
},
|
|
103
114
|
default: () => {
|
|
@@ -105,7 +116,8 @@ const MEditViewPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
105
116
|
context: item.context,
|
|
106
117
|
params: item.params,
|
|
107
118
|
viewId: this.c.model.embeddedAppViewId,
|
|
108
|
-
onDataChange: (args) => this.c.onViewDataChange(args, item.id)
|
|
119
|
+
onDataChange: (args) => this.c.onViewDataChange(args, item.id),
|
|
120
|
+
onCreated: (event) => this.c.onViewCreated(event, item.id)
|
|
109
121
|
});
|
|
110
122
|
}
|
|
111
123
|
});
|
|
@@ -122,7 +134,8 @@ const MEditViewPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
122
134
|
context: item.context,
|
|
123
135
|
params: item.params,
|
|
124
136
|
viewId: this.c.model.embeddedAppViewId,
|
|
125
|
-
onDataChange: (args) => this.c.onViewDataChange(args, item.id)
|
|
137
|
+
onDataChange: (args) => this.c.onViewDataChange(args, item.id),
|
|
138
|
+
onCreated: (event) => this.c.onViewCreated(event, item.id)
|
|
126
139
|
}), vue.createVNode("div", {
|
|
127
140
|
"class": this.ns.b("close")
|
|
128
141
|
}, [vue.createVNode("ion-icon", {
|
|
@@ -42,7 +42,7 @@ const SearchBarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
42
42
|
setup() {
|
|
43
43
|
var _a;
|
|
44
44
|
const c = vue3Util.useControlController((...args) => new runtime.SearchBarController(...args));
|
|
45
|
-
c.setStorageKeyFn(vue3Util.useLocalCacheKey(c.context, "SEARCH_BAR_SELECTED_GROUP", c.view.modal.routeDepth));
|
|
45
|
+
c.setStorageKeyFn(vue3Util.useLocalCacheKey(c.context, "SEARCH_BAR_SELECTED_GROUP", c.view.modal.routeDepth, "@", "".concat(c.view.model.codeName, "@").concat(c.model.codeName)));
|
|
46
46
|
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
47
47
|
let isSearch = false;
|
|
48
48
|
const onSearch = () => {
|
|
@@ -153,7 +153,8 @@ const IBizSpan = /* @__PURE__ */ vue.defineComponent({
|
|
|
153
153
|
"class": this.ns.e("code-list"),
|
|
154
154
|
"codeListItems": this.items,
|
|
155
155
|
"codeList": this.c.codeList,
|
|
156
|
-
"value": this.text
|
|
156
|
+
"value": this.text,
|
|
157
|
+
"convertToCodeItemText": this.c.convertToCodeItemText
|
|
157
158
|
}, null);
|
|
158
159
|
}
|
|
159
160
|
} else if (this.text) {
|
package/lib/locale/en/index.cjs
CHANGED
|
@@ -35,7 +35,9 @@ var index = {
|
|
|
35
35
|
retract: "Retract",
|
|
36
36
|
pleaseEnterAccount: "Please enter account number",
|
|
37
37
|
pleaseEnterPassword: "Please enter password",
|
|
38
|
-
aiError: "System encountered an exception, please try again later"
|
|
38
|
+
aiError: "System encountered an exception, please try again later",
|
|
39
|
+
fullscreen: "Fullscreen",
|
|
40
|
+
cancelFullscreen: "Cancel fullscreen"
|
|
39
41
|
},
|
|
40
42
|
// 视图
|
|
41
43
|
view: {
|
|
@@ -553,6 +555,9 @@ var index = {
|
|
|
553
555
|
gridSetting: {
|
|
554
556
|
hideControl: "Column selection"
|
|
555
557
|
},
|
|
558
|
+
kanbanSetting: {
|
|
559
|
+
hideGroup: "Group selection"
|
|
560
|
+
},
|
|
556
561
|
ganttSetting: {
|
|
557
562
|
resultDefault: "Restore defaults",
|
|
558
563
|
headerCaption: "Header display attributes",
|
|
@@ -35,7 +35,9 @@ var index = {
|
|
|
35
35
|
retract: "\u6536\u8D77",
|
|
36
36
|
pleaseEnterAccount: "\u8BF7\u8F93\u5165\u8D26\u53F7",
|
|
37
37
|
pleaseEnterPassword: "\u8BF7\u8F93\u5165\u5BC6\u7801",
|
|
38
|
-
aiError: "\u7CFB\u7EDF\u53D1\u751F\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"
|
|
38
|
+
aiError: "\u7CFB\u7EDF\u53D1\u751F\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",
|
|
39
|
+
fullscreen: "\u5168\u5C4F",
|
|
40
|
+
cancelFullscreen: "\u53D6\u6D88\u5168\u5C4F"
|
|
39
41
|
},
|
|
40
42
|
// 视图
|
|
41
43
|
view: {
|
|
@@ -549,6 +551,9 @@ var index = {
|
|
|
549
551
|
gridSetting: {
|
|
550
552
|
hideControl: "\u5217\u9009\u62E9"
|
|
551
553
|
},
|
|
554
|
+
kanbanSetting: {
|
|
555
|
+
hideGroup: "\u5206\u7EC4\u9009\u62E9"
|
|
556
|
+
},
|
|
552
557
|
ganttSetting: {
|
|
553
558
|
resultDefault: "\u6062\u590D\u9ED8\u8BA4\u503C",
|
|
554
559
|
headerCaption: "\u8868\u5934\u663E\u793A\u5C5E\u6027",
|
|
@@ -4,12 +4,14 @@ var vue = require('vue');
|
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
require('./common-extend-menu.css');
|
|
6
6
|
var extendButtonMenu = require('../extend-button-menu/extend-button-menu.cjs');
|
|
7
|
+
var extendStandardMenu = require('../extend-standard-menu/extend-standard-menu.cjs');
|
|
7
8
|
|
|
8
9
|
"use strict";
|
|
9
10
|
const CommonExtendMenu = /* @__PURE__ */ vue.defineComponent({
|
|
10
11
|
name: "IBizCommonExtendMenu",
|
|
11
12
|
components: {
|
|
12
|
-
ExtendButtonMenu: extendButtonMenu.ExtendButtonMenu
|
|
13
|
+
ExtendButtonMenu: extendButtonMenu.ExtendButtonMenu,
|
|
14
|
+
ExtendStandardMenu: extendStandardMenu.ExtendStandardMenu
|
|
13
15
|
},
|
|
14
16
|
props: {
|
|
15
17
|
/**
|
|
@@ -83,9 +85,8 @@ const CommonExtendMenu = /* @__PURE__ */ vue.defineComponent({
|
|
|
83
85
|
};
|
|
84
86
|
},
|
|
85
87
|
render() {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}, [vue.createVNode(extendButtonMenu.ExtendButtonMenu, {
|
|
88
|
+
var _a;
|
|
89
|
+
let content = vue.createVNode(extendButtonMenu.ExtendButtonMenu, {
|
|
89
90
|
"items": this.items,
|
|
90
91
|
"menuItemsState": this.menuItemsState,
|
|
91
92
|
"providers": this.providers,
|
|
@@ -93,7 +94,21 @@ const CommonExtendMenu = /* @__PURE__ */ vue.defineComponent({
|
|
|
93
94
|
"layoutMode": this.layoutMode,
|
|
94
95
|
"layout": this.layout,
|
|
95
96
|
"onMenuItemClick": this.handleMenuItemClick
|
|
96
|
-
}, null)
|
|
97
|
+
}, null);
|
|
98
|
+
if (((_a = this.renderMode) == null ? void 0 : _a.toLocaleUpperCase()) === "MENU") {
|
|
99
|
+
content = vue.createVNode(extendStandardMenu.ExtendStandardMenu, {
|
|
100
|
+
"items": this.items,
|
|
101
|
+
"menuItemsState": this.menuItemsState,
|
|
102
|
+
"providers": this.providers,
|
|
103
|
+
"position": this.position,
|
|
104
|
+
"layoutMode": this.layoutMode,
|
|
105
|
+
"layout": this.layout,
|
|
106
|
+
"onMenuItemClick": this.handleMenuItemClick
|
|
107
|
+
}, null);
|
|
108
|
+
}
|
|
109
|
+
return vue.createVNode("div", {
|
|
110
|
+
"class": this.ns.b()
|
|
111
|
+
}, [content]);
|
|
97
112
|
}
|
|
98
113
|
});
|
|
99
114
|
|