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