@ctzy-web-client/plugin-component-vue 1.0.22 → 1.0.24
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/es/advance-select/advance-operation.mjs +51 -37
- package/es/advance-select/advance-option.mjs +167 -97
- package/es/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.mjs +7 -0
- package/es/advance-select/advance-select.mjs +368 -310
- package/es/advance-select/index.mjs +5 -5
- package/es/application-slot/breadcrumb-item.mjs +20 -17
- package/es/application-slot/header-tools-item.mjs +20 -17
- package/es/breadcrumb-select/breadcrumb-select.mjs +134 -112
- package/es/contextmenu/contextmenu-item.mjs +19 -15
- package/es/contextmenu/contextmenu.mjs +72 -56
- package/es/data-form/data-form-item.mjs +48 -30
- package/es/data-form/data-form.mjs +213 -166
- package/es/data-form/form-components/bwa-date-picker.mjs +51 -39
- package/es/data-form/form-components/bwa-date-time-picker.mjs +56 -44
- package/es/data-form/form-components/bwa-input-float.mjs +48 -37
- package/es/data-form/form-components/bwa-input-integer.mjs +68 -50
- package/es/data-form/form-components/bwa-input.mjs +43 -32
- package/es/data-form/form-components/bwa-multi-select.mjs +40 -29
- package/es/data-form/form-components/bwa-rich-text-tinymce.mjs +554 -218
- package/es/data-form/form-components/bwa-rich-text.mjs +404 -316
- package/es/data-form/form-components/bwa-select.mjs +84 -70
- package/es/data-form/form-components/bwa-textarea.mjs +38 -27
- package/es/data-form/form-components/bwa-upload.mjs +172 -148
- package/es/data-form/form-components/bwa-user-multi-select.mjs +35 -24
- package/es/data-form/form-components/bwa-user-select.mjs +86 -61
- package/es/data-table/data-column-view.mjs +146 -115
- package/es/data-table/data-table-card.mjs +48 -40
- package/es/data-table/data-table-column.mjs +58 -45
- package/es/data-table/data-table.mjs +402 -316
- package/es/datatable-settings/datatable-settings.mjs +329 -254
- package/es/date-range/date-picker.mjs +130 -116
- package/es/date-range/date-range.mjs +215 -168
- package/es/drag-list/drag-item.mjs +56 -42
- package/es/drag-list/drag-list.mjs +60 -47
- package/es/dragable/dragable-item.mjs +23 -18
- package/es/dragable/dragable-operation.mjs +32 -24
- package/es/dragable/dragable.mjs +32 -23
- package/es/filter-panel/conditions/date-range-condition.mjs +50 -40
- package/es/filter-panel/conditions/department-condition/department-condition.mjs +99 -72
- package/es/filter-panel/conditions/department-condition/department-node.mjs +73 -59
- package/es/filter-panel/conditions/input-condition.mjs +90 -76
- package/es/filter-panel/conditions/multi-user-condition.mjs +67 -57
- package/es/filter-panel/conditions/multiple-menu-condition.mjs +54 -35
- package/es/filter-panel/conditions/single-menu-condition.mjs +65 -60
- package/es/filter-panel/conditions/single-user-condition.mjs +67 -57
- package/es/filter-panel/filter-panel-item.mjs +54 -39
- package/es/filter-panel/filter-panel.mjs +153 -135
- package/es/layout/layout.mjs +85 -78
- package/es/menu/menu-item.mjs +67 -52
- package/es/menu/menu.mjs +70 -53
- package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +28 -0
- package/es/panel/panel.mjs +53 -40
- package/es/pct-filter-panel/pct-compents/pct-Input-condition.mjs +74 -63
- package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +76 -67
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +406 -178
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.mjs +153 -138
- package/es/pct-filter-panel/pct-filter-panel-item.mjs +55 -40
- package/es/pct-filter-panel/pct-filter-panel.mjs +247 -227
- package/es/progress/progress-item.mjs +81 -61
- package/es/progress/progress.mjs +78 -64
- package/es/where-filter-panel/where-filter-panel.mjs +15 -12
- package/lib/advance-select/advance-operation.js +50 -36
- package/lib/advance-select/advance-option.js +166 -96
- package/lib/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.js +12 -0
- package/lib/advance-select/advance-select.js +366 -308
- package/lib/application-slot/breadcrumb-item.js +19 -16
- package/lib/application-slot/header-tools-item.js +19 -16
- package/lib/breadcrumb-select/breadcrumb-select.js +133 -111
- package/lib/contextmenu/contextmenu-item.js +18 -14
- package/lib/contextmenu/contextmenu.js +71 -55
- package/lib/data-form/data-form-item.js +47 -29
- package/lib/data-form/data-form.js +212 -165
- package/lib/data-form/form-components/bwa-date-picker.js +50 -38
- package/lib/data-form/form-components/bwa-date-time-picker.js +55 -43
- package/lib/data-form/form-components/bwa-input-float.js +47 -36
- package/lib/data-form/form-components/bwa-input-integer.js +67 -49
- package/lib/data-form/form-components/bwa-input.js +42 -31
- package/lib/data-form/form-components/bwa-multi-select.js +39 -28
- package/lib/data-form/form-components/bwa-rich-text-tinymce.js +553 -217
- package/lib/data-form/form-components/bwa-rich-text.js +403 -315
- package/lib/data-form/form-components/bwa-select.js +83 -69
- package/lib/data-form/form-components/bwa-textarea.js +37 -26
- package/lib/data-form/form-components/bwa-upload.js +171 -147
- package/lib/data-form/form-components/bwa-user-multi-select.js +34 -23
- package/lib/data-form/form-components/bwa-user-select.js +85 -60
- package/lib/data-table/data-column-view.js +146 -115
- package/lib/data-table/data-table-card.js +48 -40
- package/lib/data-table/data-table-column.js +57 -44
- package/lib/data-table/data-table.js +401 -315
- package/lib/datatable-settings/datatable-settings.js +328 -253
- package/lib/date-range/date-picker.js +129 -115
- package/lib/date-range/date-range.js +213 -170
- package/lib/drag-list/drag-item.js +55 -41
- package/lib/drag-list/drag-list.js +59 -46
- package/lib/dragable/dragable-item.js +22 -17
- package/lib/dragable/dragable-operation.js +31 -23
- package/lib/dragable/dragable.js +31 -22
- package/lib/filter-panel/conditions/date-range-condition.js +49 -39
- package/lib/filter-panel/conditions/department-condition/department-condition.js +98 -71
- package/lib/filter-panel/conditions/department-condition/department-node.js +72 -58
- package/lib/filter-panel/conditions/input-condition.js +89 -75
- package/lib/filter-panel/conditions/multi-user-condition.js +66 -56
- package/lib/filter-panel/conditions/multiple-menu-condition.js +53 -34
- package/lib/filter-panel/conditions/single-menu-condition.js +64 -59
- package/lib/filter-panel/conditions/single-user-condition.js +66 -56
- package/lib/filter-panel/filter-panel-item.js +53 -38
- package/lib/filter-panel/filter-panel.js +152 -134
- package/lib/layout/layout.js +84 -77
- package/lib/menu/menu-item.js +66 -51
- package/lib/menu/menu.js +69 -52
- package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +32 -0
- package/lib/panel/panel.js +52 -39
- package/lib/pct-filter-panel/pct-compents/pct-Input-condition.js +73 -62
- package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +75 -66
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +405 -177
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.js +152 -137
- package/lib/pct-filter-panel/pct-filter-panel-item.js +54 -39
- package/lib/pct-filter-panel/pct-filter-panel.js +246 -226
- package/lib/progress/progress-item.js +80 -60
- package/lib/progress/progress.js +77 -63
- package/lib/where-filter-panel/where-filter-panel.js +14 -11
- package/package.json +2 -1
- package/src/advance-select/advance-option.vue +64 -13
- package/src/data-form/form-components/bwa-rich-text-tinymce.vue +1 -1
- package/src/datatable-settings/datatable-settings.vue +33 -3
- package/src/date-range/date-picker.vue +1 -1
- package/src/date-range/date-range.vue +3 -3
- package/src/filter-panel/filter-panel.vue +2 -2
- package/src/pct-filter-panel/pct-compents/pct-Input-condition.vue +64 -64
- package/src/pct-filter-panel/pct-compents/pct-date-range-condition.vue +61 -61
- package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +302 -178
- package/src/pct-filter-panel/pct-filter-panel.vue +4 -4
|
@@ -6,22 +6,25 @@ var vue = require('vue');
|
|
|
6
6
|
var applicationSlot = require('./application-slot.js');
|
|
7
7
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: 'breadcrumb-item',
|
|
13
11
|
setup(__props) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
|
|
13
|
+
defineOptions({
|
|
14
|
+
name: 'BwaBreadcrumbItem',
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return (vue.openBlock(), vue.createBlock(vue.unref(applicationSlot["default"]), { type: "breadcrumbItem" }, {
|
|
19
|
+
default: vue.withCtx(() => [
|
|
20
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
21
|
+
]),
|
|
22
|
+
_: 3 /* FORWARDED */
|
|
23
|
+
}))
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
};
|
|
28
|
+
var BreadcrumbItem = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"breadcrumb-item.vue"]]);
|
|
26
29
|
|
|
27
30
|
exports["default"] = BreadcrumbItem;
|
|
@@ -6,22 +6,25 @@ var vue = require('vue');
|
|
|
6
6
|
var applicationSlot = require('./application-slot.js');
|
|
7
7
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: 'header-tools-item',
|
|
13
11
|
setup(__props) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
|
|
13
|
+
defineOptions({
|
|
14
|
+
name: 'BwaHeaderToolsItem',
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return (vue.openBlock(), vue.createBlock(vue.unref(applicationSlot["default"]), { type: "headerToolItem" }, {
|
|
19
|
+
default: vue.withCtx(() => [
|
|
20
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
21
|
+
]),
|
|
22
|
+
_: 3 /* FORWARDED */
|
|
23
|
+
}))
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
};
|
|
28
|
+
var HeaderToolsItem = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"header-tools-item.vue"]]);
|
|
26
29
|
|
|
27
30
|
exports["default"] = HeaderToolsItem;
|
|
@@ -9,151 +9,173 @@ var index = require('../advance-select/index.js');
|
|
|
9
9
|
var advanceOperation = require('../advance-select/advance-operation.js');
|
|
10
10
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
11
11
|
|
|
12
|
-
const _hoisted_1 =
|
|
13
|
-
const _hoisted_2 =
|
|
14
|
-
const _hoisted_3 =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
12
|
+
const _hoisted_1 = /*#__PURE__*/vue.createElementVNode("i", { class: "ptp-caozuo-chakan ptp-icon" }, null, -1 /* HOISTED */);
|
|
13
|
+
const _hoisted_2 = /*#__PURE__*/vue.createElementVNode("i", { class: "ptp-caozuo-chakan ptp-icon" }, null, -1 /* HOISTED */);
|
|
14
|
+
const _hoisted_3 = /*#__PURE__*/vue.createElementVNode("i", { class: "ptp-qiehuan ptp-icon" }, null, -1 /* HOISTED */);
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const _sfc_main = {
|
|
18
|
+
__name: 'breadcrumb-select',
|
|
19
|
+
props: {
|
|
20
|
+
defaultLabel: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '请选择',
|
|
23
|
+
},
|
|
24
|
+
recentEmptyDesc: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: '最近访问项目',
|
|
27
|
+
},
|
|
28
|
+
searchPlaceholder: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: '项目名称',
|
|
31
|
+
},
|
|
32
|
+
allDesc: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: '全部项目',
|
|
35
|
+
},
|
|
36
|
+
allMine: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: '我的项目',
|
|
39
|
+
},
|
|
40
|
+
saveDesc: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: '新增项目',
|
|
43
|
+
},
|
|
44
|
+
showSave: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: true,
|
|
47
|
+
},
|
|
48
|
+
showMine: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false,
|
|
51
|
+
},
|
|
52
|
+
showAll: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: true
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
emits: ['all','mine', 'save'],
|
|
56
58
|
setup(__props, { emit }) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
|
|
60
|
+
const props = __props;
|
|
61
|
+
|
|
62
|
+
defineOptions({ name: 'BwaBreadcrumbSelect' });
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
const attrs = vue.useAttrs();
|
|
69
|
+
|
|
70
|
+
const ns = webBaseClientVue.useNamespace('breadcrumb');
|
|
71
|
+
|
|
72
|
+
return (_ctx, _cache) => {
|
|
73
|
+
const _component_CirclePlus = vue.resolveComponent("CirclePlus");
|
|
74
|
+
const _component_ArrowDown = vue.resolveComponent("ArrowDown");
|
|
75
|
+
|
|
76
|
+
return (vue.openBlock(), vue.createBlock(vue.unref(index.BwaAdvanceSelect), vue.mergeProps(vue.unref(attrs), {
|
|
77
|
+
showSelection: false,
|
|
78
|
+
"search-placeholder": __props.searchPlaceholder,
|
|
79
|
+
multiple: false
|
|
80
|
+
}), vue.createSlots({
|
|
81
|
+
contentBottom: vue.withCtx(() => [
|
|
82
|
+
(__props.showAll)
|
|
83
|
+
? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
|
|
70
84
|
key: 0,
|
|
71
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
72
|
-
onClick: _cache[0] || (_cache[0] =
|
|
85
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'opt')),
|
|
86
|
+
onClick: _cache[0] || (_cache[0] = $event => (emit('all')))
|
|
73
87
|
}, {
|
|
74
88
|
default: vue.withCtx(() => [
|
|
75
89
|
_hoisted_1,
|
|
76
90
|
vue.createElementVNode("span", {
|
|
77
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
78
|
-
}, vue.toDisplayString(__props.allDesc), 3)
|
|
91
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'opt-label'))
|
|
92
|
+
}, vue.toDisplayString(__props.allDesc), 3 /* TEXT, CLASS */)
|
|
79
93
|
]),
|
|
80
|
-
_: 1
|
|
81
|
-
}, 8
|
|
82
|
-
|
|
94
|
+
_: 1 /* STABLE */
|
|
95
|
+
}, 8 /* PROPS */, ["class"]))
|
|
96
|
+
: vue.createCommentVNode("v-if", true),
|
|
97
|
+
(__props.showMine)
|
|
98
|
+
? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
|
|
83
99
|
key: 1,
|
|
84
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
85
|
-
onClick: _cache[1] || (_cache[1] =
|
|
100
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'opt')),
|
|
101
|
+
onClick: _cache[1] || (_cache[1] = $event => (emit('mine')))
|
|
86
102
|
}, {
|
|
87
103
|
default: vue.withCtx(() => [
|
|
88
104
|
_hoisted_2,
|
|
89
105
|
vue.createElementVNode("span", {
|
|
90
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
91
|
-
}, vue.toDisplayString(__props.allMine), 3)
|
|
106
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'opt-label'))
|
|
107
|
+
}, vue.toDisplayString(__props.allMine), 3 /* TEXT, CLASS */)
|
|
92
108
|
]),
|
|
93
|
-
_: 1
|
|
94
|
-
}, 8
|
|
95
|
-
|
|
109
|
+
_: 1 /* STABLE */
|
|
110
|
+
}, 8 /* PROPS */, ["class"]))
|
|
111
|
+
: vue.createCommentVNode("v-if", true),
|
|
112
|
+
(__props.showSave)
|
|
113
|
+
? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
|
|
96
114
|
key: 2,
|
|
97
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
98
|
-
onClick: _cache[2] || (_cache[2] =
|
|
115
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'opt')),
|
|
116
|
+
onClick: _cache[2] || (_cache[2] = $event => (emit('save')))
|
|
99
117
|
}, {
|
|
100
118
|
default: vue.withCtx(() => [
|
|
101
119
|
vue.createVNode(vue.unref(ElementPlus.ElIcon), null, {
|
|
102
120
|
default: vue.withCtx(() => [
|
|
103
121
|
vue.createVNode(_component_CirclePlus)
|
|
104
122
|
]),
|
|
105
|
-
_: 1
|
|
123
|
+
_: 1 /* STABLE */
|
|
106
124
|
}),
|
|
107
125
|
vue.createElementVNode("span", {
|
|
108
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
109
|
-
}, vue.toDisplayString(__props.saveDesc), 3)
|
|
126
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'opt-label'))
|
|
127
|
+
}, vue.toDisplayString(__props.saveDesc), 3 /* TEXT, CLASS */)
|
|
110
128
|
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}, 8
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
129
|
+
_: 1 /* STABLE */
|
|
130
|
+
}, 8 /* PROPS */, ["class"]))
|
|
131
|
+
: vue.createCommentVNode("v-if", true)
|
|
132
|
+
]),
|
|
133
|
+
reference: vue.withCtx(({ label }) => [
|
|
134
|
+
vue.createVNode(vue.unref(ElementPlus.ElButton), {
|
|
135
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'dropdown'))
|
|
136
|
+
}, {
|
|
137
|
+
default: vue.withCtx(() => [
|
|
138
|
+
_hoisted_3,
|
|
139
|
+
vue.createElementVNode("span", {
|
|
140
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'content'))
|
|
141
|
+
}, vue.toDisplayString(label || __props.defaultLabel), 3 /* TEXT, CLASS */),
|
|
142
|
+
vue.createVNode(vue.unref(ElementPlus.ElIcon), null, {
|
|
118
143
|
default: vue.withCtx(() => [
|
|
119
|
-
|
|
120
|
-
vue.createElementVNode("span", {
|
|
121
|
-
class: vue.normalizeClass(vue.unref(ns).be("item", "content"))
|
|
122
|
-
}, vue.toDisplayString(label || __props.defaultLabel), 3),
|
|
123
|
-
vue.createVNode(vue.unref(ElementPlus.ElIcon), null, {
|
|
124
|
-
default: vue.withCtx(() => [
|
|
125
|
-
vue.createVNode(_component_ArrowDown)
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
})
|
|
144
|
+
vue.createVNode(_component_ArrowDown)
|
|
129
145
|
]),
|
|
130
|
-
_:
|
|
131
|
-
}
|
|
146
|
+
_: 1 /* STABLE */
|
|
147
|
+
})
|
|
132
148
|
]),
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
149
|
+
_: 2 /* DYNAMIC */
|
|
150
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"])
|
|
151
|
+
]),
|
|
152
|
+
default: vue.withCtx(() => [
|
|
153
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
154
|
+
]),
|
|
155
|
+
_: 2 /* DYNAMIC */
|
|
156
|
+
}, [
|
|
157
|
+
(__props.recentEmptyDesc)
|
|
158
|
+
? {
|
|
139
159
|
name: "contentTop",
|
|
140
160
|
fn: vue.withCtx(() => [
|
|
141
161
|
vue.createElementVNode("div", {
|
|
142
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
162
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'top'))
|
|
143
163
|
}, [
|
|
144
164
|
vue.renderSlot(_ctx.$slots, "recent", {}, () => [
|
|
145
165
|
vue.createElementVNode("div", {
|
|
146
|
-
class: vue.normalizeClass(vue.unref(ns).be(
|
|
147
|
-
}, vue.toDisplayString(__props.recentEmptyDesc), 3)
|
|
166
|
+
class: vue.normalizeClass(vue.unref(ns).be('item', 'top-empty'))
|
|
167
|
+
}, vue.toDisplayString(__props.recentEmptyDesc), 3 /* TEXT, CLASS */)
|
|
148
168
|
])
|
|
149
|
-
], 2)
|
|
169
|
+
], 2 /* CLASS */)
|
|
150
170
|
]),
|
|
151
171
|
key: "0"
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
|
|
172
|
+
}
|
|
173
|
+
: undefined
|
|
174
|
+
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["search-placeholder"]))
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
};
|
|
179
|
+
var BreadcrumbSelect = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"breadcrumb-select.vue"]]);
|
|
158
180
|
|
|
159
181
|
exports["default"] = BreadcrumbSelect;
|
|
@@ -6,20 +6,24 @@ var vue = require('vue');
|
|
|
6
6
|
var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
|
|
7
7
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: 'contextmenu-item',
|
|
11
11
|
setup(__props) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
|
|
13
|
+
defineOptions({ name: 'BwaContextmenuItem' });
|
|
14
|
+
|
|
15
|
+
const ns = webBaseClientVue.useNamespace('contextmenu-item');
|
|
16
|
+
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
19
|
+
class: vue.normalizeClass(vue.unref(ns).b())
|
|
20
|
+
}, [
|
|
21
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
22
|
+
], 2 /* CLASS */))
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
};
|
|
27
|
+
var contextmenuItem = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"contextmenu-item.vue"]]);
|
|
24
28
|
|
|
25
29
|
exports["default"] = contextmenuItem;
|
|
@@ -8,61 +8,77 @@ var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
|
|
|
8
8
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
9
9
|
|
|
10
10
|
const _hoisted_1 = ["onClick"];
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
const _sfc_main = {
|
|
14
|
+
__name: 'contextmenu',
|
|
15
|
+
props: {
|
|
16
|
+
visible: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false,
|
|
19
|
+
},
|
|
20
|
+
menus: {
|
|
21
|
+
type: Array,
|
|
22
|
+
default: () => [],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
emits: ['select'],
|
|
24
26
|
setup(__props, { emit }) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
27
|
+
|
|
28
|
+
const props = __props;
|
|
29
|
+
|
|
30
|
+
defineOptions({ name: 'BwaContextmenu' });
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
const ns = webBaseClientVue.useNamespace('contextmenu');
|
|
37
|
+
|
|
38
|
+
const scrollbarRef = vue.ref(null);
|
|
39
|
+
|
|
40
|
+
const clickHandle = (item) => {
|
|
41
|
+
emit('select', item);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
vue.onMounted(() => {
|
|
45
|
+
vue.watch(
|
|
46
|
+
vue.computed(() => props.visible),
|
|
47
|
+
(visible) => {
|
|
48
|
+
if (!visible) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
vue.unref(scrollbarRef).scrollTo(0, 0);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
return (_ctx, _cache) => {
|
|
58
|
+
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
59
|
+
class: vue.normalizeClass(vue.unref(ns).b())
|
|
60
|
+
}, [
|
|
61
|
+
vue.createVNode(vue.unref(ElementPlus.ElScrollbar), {
|
|
62
|
+
"max-height": "400px",
|
|
63
|
+
ref_key: "scrollbarRef",
|
|
64
|
+
ref: scrollbarRef
|
|
65
|
+
}, {
|
|
66
|
+
default: vue.withCtx(() => [
|
|
67
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.menus, (menu) => {
|
|
68
|
+
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
69
|
+
onClick: $event => (clickHandle(menu)),
|
|
70
|
+
key: menu.id,
|
|
71
|
+
class: vue.normalizeClass(vue.unref(ns).b('item'))
|
|
72
|
+
}, vue.toDisplayString(menu.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_1))
|
|
73
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
74
|
+
]),
|
|
75
|
+
_: 1 /* STABLE */
|
|
76
|
+
}, 512 /* NEED_PATCH */)
|
|
77
|
+
], 2 /* CLASS */))
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
};
|
|
82
|
+
var Contextmenu = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"contextmenu.vue"]]);
|
|
67
83
|
|
|
68
84
|
exports["default"] = Contextmenu;
|
|
@@ -8,29 +8,45 @@ var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
|
|
|
8
8
|
var dynamicComponent = require('./dynamic-component.js');
|
|
9
9
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
10
10
|
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
props: {
|
|
14
|
-
|
|
15
|
-
isShowLabelColon: { type: Boolean }
|
|
16
|
-
|
|
11
|
+
const _sfc_main = {
|
|
12
|
+
__name: 'data-form-item',
|
|
13
|
+
props: {
|
|
14
|
+
name: { type: String },
|
|
15
|
+
isShowLabelColon: { type: Boolean }
|
|
16
|
+
},
|
|
17
17
|
setup(__props) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
18
|
+
|
|
19
|
+
const props = __props;
|
|
20
|
+
|
|
21
|
+
defineOptions({ name: 'BwaDataFormItem' });
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
const attrs = vue.useAttrs();
|
|
26
|
+
|
|
27
|
+
const dataForm = vue.inject(webBaseClientVue.dataFormKey);
|
|
28
|
+
|
|
29
|
+
const formContext = vue.inject(ElementPlus.formContextKey, {});
|
|
30
|
+
|
|
31
|
+
const formColumn = dataForm
|
|
32
|
+
.getDisplayColumns()
|
|
33
|
+
.find((col) => col.fullAttrName == props.name);
|
|
34
|
+
|
|
35
|
+
const label = vue.computed(() => {
|
|
36
|
+
return attrs.label || (formColumn ? formColumn.title + (props.isShowLabelColon ? ' :' : '') : '');
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
const _formContext = {};
|
|
40
|
+
_formContext.disabled = vue.computed(
|
|
41
|
+
() => formContext.disabled || formColumn?.disabled
|
|
42
|
+
);
|
|
43
|
+
Reflect.setPrototypeOf(_formContext, formContext);
|
|
44
|
+
|
|
45
|
+
vue.provide(ElementPlus.formContextKey, vue.reactive(_formContext));
|
|
46
|
+
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
return (vue.unref(formColumn) && vue.unref(formColumn).visible)
|
|
49
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElFormItem), vue.mergeProps({ key: 0 }, vue.unref(attrs), {
|
|
34
50
|
label: vue.unref(label),
|
|
35
51
|
class: { custom: !_ctx.$slots.default },
|
|
36
52
|
prop: vue.unref(formColumn).fullAttrName
|
|
@@ -44,14 +60,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
44
60
|
vue.createVNode(vue.unref(dynamicComponent["default"]), {
|
|
45
61
|
column: vue.unref(formColumn),
|
|
46
62
|
record: vue.unref(dataForm).data
|
|
47
|
-
}, null, 8
|
|
63
|
+
}, null, 8 /* PROPS */, ["column", "record"])
|
|
48
64
|
])
|
|
49
65
|
]),
|
|
50
|
-
_: 3
|
|
51
|
-
}, 16
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
66
|
+
_: 3 /* FORWARDED */
|
|
67
|
+
}, 16 /* FULL_PROPS */, ["label", "class", "prop"]))
|
|
68
|
+
: vue.createCommentVNode("v-if", true)
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
};
|
|
73
|
+
var DataFormItem = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"data-form-item.vue"]]);
|
|
56
74
|
|
|
57
75
|
exports["default"] = DataFormItem;
|