@ctzy-web-client/plugin-component-vue 1.0.25 → 1.0.27

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 (228) hide show
  1. package/es/_virtual/_plugin-vue_export-helper.mjs +11 -0
  2. package/es/advance-select/advance-operation.mjs +48 -51
  3. package/es/advance-select/advance-option.mjs +128 -163
  4. package/es/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.mjs +11 -5
  5. package/es/advance-select/advance-select.mjs +323 -370
  6. package/es/advance-select/events-helpers.mjs +9 -0
  7. package/es/advance-select/index.mjs +9 -0
  8. package/es/advance-select/use-advance-option.mjs +9 -0
  9. package/es/advance-select/use-advance-select.mjs +9 -0
  10. package/es/application-slot/application-slot.mjs +9 -0
  11. package/es/application-slot/breadcrumb-item.mjs +26 -20
  12. package/es/application-slot/header-tools-item.mjs +26 -20
  13. package/es/application-slot/index.mjs +9 -0
  14. package/es/breadcrumb-select/breadcrumb-select.mjs +123 -137
  15. package/es/breadcrumb-select/index.mjs +9 -0
  16. package/es/components.mjs +9 -0
  17. package/es/contextmenu/contextmenu-item.mjs +24 -19
  18. package/es/contextmenu/contextmenu.mjs +68 -73
  19. package/es/contextmenu/index.mjs +9 -0
  20. package/es/contextmenu/use-contextmenu.mjs +10 -1
  21. package/es/data-form/data-form-item.mjs +41 -49
  22. package/es/data-form/data-form.mjs +176 -213
  23. package/es/data-form/dynamic-component.mjs +9 -0
  24. package/es/data-form/form-components/Blots/AtBlot.mjs +9 -0
  25. package/es/data-form/form-components/bwa-date-picker.mjs +50 -51
  26. package/es/data-form/form-components/bwa-date-time-picker.mjs +55 -56
  27. package/es/data-form/form-components/bwa-input-float.mjs +48 -48
  28. package/es/data-form/form-components/bwa-input-integer.mjs +61 -68
  29. package/es/data-form/form-components/bwa-input.mjs +43 -43
  30. package/es/data-form/form-components/bwa-multi-select.mjs +40 -40
  31. package/es/data-form/form-components/bwa-rich-text-tinymce.mjs +230 -555
  32. package/es/data-form/form-components/bwa-rich-text.mjs +326 -404
  33. package/es/data-form/form-components/bwa-select.mjs +81 -84
  34. package/es/data-form/form-components/bwa-textarea.mjs +38 -38
  35. package/es/data-form/form-components/bwa-upload.mjs +160 -173
  36. package/es/data-form/form-components/bwa-user-multi-select.mjs +35 -35
  37. package/es/data-form/form-components/bwa-user-select.mjs +72 -86
  38. package/es/data-form/index.mjs +9 -0
  39. package/es/data-table/data-column-view.mjs +124 -146
  40. package/es/data-table/data-table-card.mjs +49 -48
  41. package/es/data-table/data-table-column.mjs +55 -58
  42. package/es/data-table/data-table.mjs +328 -404
  43. package/es/data-table/dynamic-component.mjs +9 -0
  44. package/es/data-table/index.mjs +9 -0
  45. package/es/data-table/use-datatable-drag.mjs +9 -0
  46. package/es/datatable-settings/datatable-settings.mjs +286 -328
  47. package/es/datatable-settings/index.mjs +9 -0
  48. package/es/date-range/date-picker.mjs +125 -131
  49. package/es/date-range/date-range.mjs +173 -216
  50. package/es/date-range/index.mjs +9 -0
  51. package/es/drag-list/constants.mjs +10 -0
  52. package/es/drag-list/drag-item.mjs +51 -56
  53. package/es/drag-list/drag-list.mjs +58 -60
  54. package/es/drag-list/index.mjs +9 -0
  55. package/es/drag-list/use-drag-list.mjs +10 -1
  56. package/es/dragable/constants.mjs +10 -0
  57. package/es/dragable/dragable-item.mjs +27 -23
  58. package/es/dragable/dragable-operation.mjs +33 -32
  59. package/es/dragable/dragable.mjs +33 -32
  60. package/es/dragable/index.mjs +9 -0
  61. package/es/dragable/use-dragable.mjs +9 -0
  62. package/es/filter-panel/conditions/condition.mjs +9 -0
  63. package/es/filter-panel/conditions/date-range-condition.mjs +51 -50
  64. package/es/filter-panel/conditions/department-condition/department-condition.mjs +82 -99
  65. package/es/filter-panel/conditions/department-condition/department-node.mjs +69 -73
  66. package/es/filter-panel/conditions/index.mjs +9 -0
  67. package/es/filter-panel/conditions/input-condition.mjs +88 -91
  68. package/es/filter-panel/conditions/multi-user-condition.mjs +66 -67
  69. package/es/filter-panel/conditions/multiple-menu-condition.mjs +44 -54
  70. package/es/filter-panel/conditions/single-menu-condition.mjs +71 -65
  71. package/es/filter-panel/conditions/single-user-condition.mjs +66 -67
  72. package/es/filter-panel/filter-panel-item.mjs +51 -55
  73. package/es/filter-panel/filter-panel.mjs +147 -156
  74. package/es/filter-panel/index.mjs +9 -0
  75. package/es/filter-panel/use-filter-panel-item.mjs +9 -0
  76. package/es/filter-panel/use-filter-panel.mjs +9 -0
  77. package/es/hooks/use-data/index.mjs +9 -0
  78. package/es/index.mjs +9 -0
  79. package/es/layout/index.mjs +9 -0
  80. package/es/layout/layout.mjs +87 -85
  81. package/es/make-installer.mjs +9 -0
  82. package/es/math/Rectangle.mjs +10 -0
  83. package/es/menu/index.mjs +9 -0
  84. package/es/menu/menu-item.mjs +65 -70
  85. package/es/menu/menu.mjs +64 -70
  86. package/es/node_modules/.pnpm/{@vueuse_core@9.6.0_vue@3.2.41 → @vueuse_core@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/core/index.mjs +680 -454
  87. package/es/node_modules/.pnpm/{@vueuse_shared@9.6.0_vue@3.2.41 → @vueuse_shared@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/shared/index.mjs +108 -46
  88. package/es/panel/index.mjs +9 -0
  89. package/es/panel/panel.mjs +49 -53
  90. package/es/panel-tabs/index.mjs +9 -0
  91. package/es/panel-tabs/panel-tabs.mjs +9 -0
  92. package/es/pct-filter-panel/index.mjs +9 -0
  93. package/es/pct-filter-panel/pct-compents/index.mjs +9 -0
  94. package/es/pct-filter-panel/pct-compents/pct-Input-condition.mjs +73 -75
  95. package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +77 -77
  96. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +345 -374
  97. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.mjs +149 -154
  98. package/es/pct-filter-panel/pct-filter-panel-item.mjs +52 -56
  99. package/es/pct-filter-panel/pct-filter-panel.mjs +235 -248
  100. package/es/pct-filter-panel/use-filter-panel-item.mjs +9 -0
  101. package/es/pct-filter-panel/use-filter-panel.mjs +9 -0
  102. package/es/plugins.mjs +9 -0
  103. package/es/progress/index.mjs +9 -0
  104. package/es/progress/progress-item.mjs +71 -81
  105. package/es/progress/progress.mjs +74 -78
  106. package/es/progress/use-progress.mjs +9 -0
  107. package/es/utils/db.mjs +9 -0
  108. package/es/utils.css +1 -0
  109. package/es/utils.mjs +9 -0
  110. package/es/where-filter-panel/index.mjs +9 -1
  111. package/es/where-filter-panel/use-where-filter-panel.mjs +9 -0
  112. package/es/where-filter-panel/where-filter-panel.mjs +21 -15
  113. package/lib/_virtual/_plugin-vue_export-helper.js +11 -0
  114. package/lib/advance-select/advance-operation.js +47 -50
  115. package/lib/advance-select/advance-option.js +127 -162
  116. package/lib/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.js +11 -6
  117. package/lib/advance-select/advance-select.js +322 -369
  118. package/lib/advance-select/events-helpers.js +9 -0
  119. package/lib/advance-select/index.js +9 -0
  120. package/lib/advance-select/use-advance-option.js +9 -0
  121. package/lib/advance-select/use-advance-select.js +9 -0
  122. package/lib/application-slot/application-slot.js +9 -0
  123. package/lib/application-slot/breadcrumb-item.js +25 -19
  124. package/lib/application-slot/header-tools-item.js +25 -19
  125. package/lib/application-slot/index.js +9 -0
  126. package/lib/breadcrumb-select/breadcrumb-select.js +122 -136
  127. package/lib/breadcrumb-select/index.js +9 -0
  128. package/lib/components.js +9 -0
  129. package/lib/contextmenu/contextmenu-item.js +23 -18
  130. package/lib/contextmenu/contextmenu.js +67 -72
  131. package/lib/contextmenu/index.js +9 -0
  132. package/lib/contextmenu/use-contextmenu.js +10 -1
  133. package/lib/data-form/data-form-item.js +40 -48
  134. package/lib/data-form/data-form.js +175 -212
  135. package/lib/data-form/dynamic-component.js +9 -0
  136. package/lib/data-form/form-components/Blots/AtBlot.js +9 -0
  137. package/lib/data-form/form-components/bwa-date-picker.js +49 -50
  138. package/lib/data-form/form-components/bwa-date-time-picker.js +54 -55
  139. package/lib/data-form/form-components/bwa-input-float.js +47 -47
  140. package/lib/data-form/form-components/bwa-input-integer.js +60 -67
  141. package/lib/data-form/form-components/bwa-input.js +42 -42
  142. package/lib/data-form/form-components/bwa-multi-select.js +39 -39
  143. package/lib/data-form/form-components/bwa-rich-text-tinymce.js +229 -554
  144. package/lib/data-form/form-components/bwa-rich-text.js +325 -403
  145. package/lib/data-form/form-components/bwa-select.js +80 -83
  146. package/lib/data-form/form-components/bwa-textarea.js +37 -37
  147. package/lib/data-form/form-components/bwa-upload.js +159 -172
  148. package/lib/data-form/form-components/bwa-user-multi-select.js +34 -34
  149. package/lib/data-form/form-components/bwa-user-select.js +71 -85
  150. package/lib/data-form/index.js +9 -0
  151. package/lib/data-table/data-column-view.js +124 -146
  152. package/lib/data-table/data-table-card.js +49 -48
  153. package/lib/data-table/data-table-column.js +54 -57
  154. package/lib/data-table/data-table.js +327 -403
  155. package/lib/data-table/dynamic-component.js +9 -0
  156. package/lib/data-table/index.js +9 -0
  157. package/lib/data-table/use-datatable-drag.js +9 -0
  158. package/lib/datatable-settings/datatable-settings.js +285 -327
  159. package/lib/datatable-settings/index.js +9 -0
  160. package/lib/date-range/date-picker.js +124 -130
  161. package/lib/date-range/date-range.js +172 -215
  162. package/lib/date-range/index.js +9 -0
  163. package/lib/drag-list/constants.js +10 -0
  164. package/lib/drag-list/drag-item.js +50 -55
  165. package/lib/drag-list/drag-list.js +57 -59
  166. package/lib/drag-list/index.js +9 -0
  167. package/lib/drag-list/use-drag-list.js +10 -1
  168. package/lib/dragable/constants.js +10 -0
  169. package/lib/dragable/dragable-item.js +26 -22
  170. package/lib/dragable/dragable-operation.js +32 -31
  171. package/lib/dragable/dragable.js +32 -31
  172. package/lib/dragable/index.js +9 -0
  173. package/lib/dragable/use-dragable.js +9 -0
  174. package/lib/filter-panel/conditions/condition.js +9 -0
  175. package/lib/filter-panel/conditions/date-range-condition.js +50 -49
  176. package/lib/filter-panel/conditions/department-condition/department-condition.js +81 -98
  177. package/lib/filter-panel/conditions/department-condition/department-node.js +68 -72
  178. package/lib/filter-panel/conditions/index.js +9 -0
  179. package/lib/filter-panel/conditions/input-condition.js +87 -90
  180. package/lib/filter-panel/conditions/multi-user-condition.js +65 -66
  181. package/lib/filter-panel/conditions/multiple-menu-condition.js +43 -53
  182. package/lib/filter-panel/conditions/single-menu-condition.js +70 -64
  183. package/lib/filter-panel/conditions/single-user-condition.js +65 -66
  184. package/lib/filter-panel/filter-panel-item.js +50 -54
  185. package/lib/filter-panel/filter-panel.js +146 -155
  186. package/lib/filter-panel/index.js +9 -0
  187. package/lib/filter-panel/use-filter-panel-item.js +9 -0
  188. package/lib/filter-panel/use-filter-panel.js +9 -0
  189. package/lib/hooks/use-data/index.js +9 -0
  190. package/lib/index.js +9 -0
  191. package/lib/layout/index.js +9 -0
  192. package/lib/layout/layout.js +86 -84
  193. package/lib/make-installer.js +9 -0
  194. package/lib/math/Rectangle.js +10 -0
  195. package/lib/menu/index.js +9 -0
  196. package/lib/menu/menu-item.js +64 -69
  197. package/lib/menu/menu.js +63 -69
  198. package/lib/node_modules/.pnpm/{@vueuse_core@9.6.0_vue@3.2.41 → @vueuse_core@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/core/index.js +685 -451
  199. package/lib/node_modules/.pnpm/{@vueuse_shared@9.6.0_vue@3.2.41 → @vueuse_shared@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/shared/index.js +109 -44
  200. package/lib/panel/index.js +9 -0
  201. package/lib/panel/panel.js +48 -52
  202. package/lib/panel-tabs/index.js +9 -0
  203. package/lib/panel-tabs/panel-tabs.js +9 -0
  204. package/lib/pct-filter-panel/index.js +9 -0
  205. package/lib/pct-filter-panel/pct-compents/index.js +9 -0
  206. package/lib/pct-filter-panel/pct-compents/pct-Input-condition.js +72 -74
  207. package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +76 -76
  208. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +344 -373
  209. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.js +148 -153
  210. package/lib/pct-filter-panel/pct-filter-panel-item.js +51 -55
  211. package/lib/pct-filter-panel/pct-filter-panel.js +234 -247
  212. package/lib/pct-filter-panel/use-filter-panel-item.js +9 -0
  213. package/lib/pct-filter-panel/use-filter-panel.js +9 -0
  214. package/lib/plugins.js +9 -0
  215. package/lib/progress/index.js +9 -0
  216. package/lib/progress/progress-item.js +70 -80
  217. package/lib/progress/progress.js +73 -77
  218. package/lib/progress/use-progress.js +9 -0
  219. package/lib/utils/db.js +9 -0
  220. package/lib/utils.css +1 -0
  221. package/lib/utils.js +9 -0
  222. package/lib/where-filter-panel/index.js +9 -0
  223. package/lib/where-filter-panel/use-where-filter-panel.js +9 -0
  224. package/lib/where-filter-panel/where-filter-panel.js +20 -14
  225. package/package.json +1 -1
  226. package/style/index.css +1 -1
  227. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +0 -28
  228. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +0 -32
@@ -7,6 +7,15 @@ var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
7
7
  var index = require('element-plus/es/utils/index');
8
8
  var util = require('element-plus/es/components/table/src/util');
9
9
 
10
+ // Inject __name helper
11
+ if (typeof __name === 'undefined') {
12
+ function __name(obj, name) {
13
+ Object.defineProperty(obj, "name", {
14
+ value: name,
15
+ configurable: true
16
+ });
17
+ }
18
+ }
10
19
  function useEvent(ns) {
11
20
  const {
12
21
  select: advanceSelect
@@ -7,6 +7,15 @@ var advanceSelect = require('./advance-select.js');
7
7
  var advanceOption = require('./advance-option.js');
8
8
  var advanceOperation = require('./advance-operation.js');
9
9
 
10
+ // Inject __name helper
11
+ if (typeof __name === 'undefined') {
12
+ function __name(obj, name) {
13
+ Object.defineProperty(obj, "name", {
14
+ value: name,
15
+ configurable: true
16
+ });
17
+ }
18
+ }
10
19
  const BwaAdvanceSelect = install.withInstall(advanceSelect["default"], {
11
20
  AdvanceOption: advanceOption["default"],
12
21
  AdvanceOperation: advanceOperation["default"]
@@ -5,6 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
7
7
 
8
+ // Inject __name helper
9
+ if (typeof __name === 'undefined') {
10
+ function __name(obj, name) {
11
+ Object.defineProperty(obj, "name", {
12
+ value: name,
13
+ configurable: true
14
+ });
15
+ }
16
+ }
8
17
  const useAdvanceOption = (props) => {
9
18
  const advanceSelect = vue.inject(webBaseClientVue.advanceSelectKey);
10
19
  const instance = vue.getCurrentInstance();
@@ -5,6 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  require('lodash');
7
7
 
8
+ // Inject __name helper
9
+ if (typeof __name === 'undefined') {
10
+ function __name(obj, name) {
11
+ Object.defineProperty(obj, "name", {
12
+ value: name,
13
+ configurable: true
14
+ });
15
+ }
16
+ }
8
17
  const useAdvanceSelectStates = (props) => {
9
18
  return vue.reactive({
10
19
  options: /* @__PURE__ */ new Map(),
@@ -5,6 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
7
7
 
8
+ // Inject __name helper
9
+ if (typeof __name === 'undefined') {
10
+ function __name(obj, name) {
11
+ Object.defineProperty(obj, "name", {
12
+ value: name,
13
+ configurable: true
14
+ });
15
+ }
16
+ }
8
17
  let uuid = 1;
9
18
  const ApplicationSlot = {
10
19
  name: "BwaApplicationSlot",
@@ -6,25 +6,31 @@ 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 _sfc_main = {
10
- __name: 'breadcrumb-item',
11
- setup(__props) {
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
- }
9
+ // Inject __name helper
10
+ if (typeof __name === 'undefined') {
11
+ function __name(obj, name) {
12
+ Object.defineProperty(obj, "name", {
13
+ value: name,
14
+ configurable: true
15
+ });
16
+ }
25
17
  }
26
-
27
- };
28
- var BreadcrumbItem = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"breadcrumb-item.vue"]]);
18
+ const __default__ = vue.defineComponent({
19
+ name: "BwaBreadcrumbItem"
20
+ });
21
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
22
+ setup(__props) {
23
+ ;
24
+ return (_ctx, _cache) => {
25
+ return vue.openBlock(), vue.createBlock(vue.unref(applicationSlot["default"]), { type: "breadcrumbItem" }, {
26
+ default: vue.withCtx(() => [
27
+ vue.renderSlot(_ctx.$slots, "default")
28
+ ]),
29
+ _: 3
30
+ });
31
+ };
32
+ }
33
+ });
34
+ var BreadcrumbItem = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "breadcrumb-item.vue"]]);
29
35
 
30
36
  exports["default"] = BreadcrumbItem;
@@ -6,25 +6,31 @@ 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 _sfc_main = {
10
- __name: 'header-tools-item',
11
- setup(__props) {
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
- }
9
+ // Inject __name helper
10
+ if (typeof __name === 'undefined') {
11
+ function __name(obj, name) {
12
+ Object.defineProperty(obj, "name", {
13
+ value: name,
14
+ configurable: true
15
+ });
16
+ }
25
17
  }
26
-
27
- };
28
- var HeaderToolsItem = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"header-tools-item.vue"]]);
18
+ const __default__ = vue.defineComponent({
19
+ name: "BwaHeaderToolsItem"
20
+ });
21
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
22
+ setup(__props) {
23
+ ;
24
+ return (_ctx, _cache) => {
25
+ return vue.openBlock(), vue.createBlock(vue.unref(applicationSlot["default"]), { type: "headerToolItem" }, {
26
+ default: vue.withCtx(() => [
27
+ vue.renderSlot(_ctx.$slots, "default")
28
+ ]),
29
+ _: 3
30
+ });
31
+ };
32
+ }
33
+ });
34
+ var HeaderToolsItem = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "header-tools-item.vue"]]);
29
35
 
30
36
  exports["default"] = HeaderToolsItem;
@@ -7,6 +7,15 @@ var applicationSlot = require('./application-slot.js');
7
7
  var breadcrumbItem = require('./breadcrumb-item.js');
8
8
  var headerToolsItem = require('./header-tools-item.js');
9
9
 
10
+ // Inject __name helper
11
+ if (typeof __name === 'undefined') {
12
+ function __name(obj, name) {
13
+ Object.defineProperty(obj, "name", {
14
+ value: name,
15
+ configurable: true
16
+ });
17
+ }
18
+ }
10
19
  applicationSlot["default"].install = (app) => {
11
20
  applicationSlot["default"]._context = app._context;
12
21
  app.component(applicationSlot["default"].name, applicationSlot["default"]);
@@ -9,173 +9,159 @@ 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 /* 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'],
58
- setup(__props, { emit }) {
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"], {
12
+ // Inject __name helper
13
+ if (typeof __name === 'undefined') {
14
+ function __name(obj, name) {
15
+ Object.defineProperty(obj, "name", {
16
+ value: name,
17
+ configurable: true
18
+ });
19
+ }
20
+ }
21
+ const __default__ = vue.defineComponent({ name: "BwaBreadcrumbSelect" });
22
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
23
+ props: {
24
+ defaultLabel: {
25
+ type: String,
26
+ default: "\u8BF7\u9009\u62E9"
27
+ },
28
+ recentEmptyDesc: {
29
+ type: String,
30
+ default: "\u6700\u8FD1\u8BBF\u95EE\u9879\u76EE"
31
+ },
32
+ searchPlaceholder: {
33
+ type: String,
34
+ default: "\u9879\u76EE\u540D\u79F0"
35
+ },
36
+ allDesc: {
37
+ type: String,
38
+ default: "\u5168\u90E8\u9879\u76EE"
39
+ },
40
+ allMine: {
41
+ type: String,
42
+ default: "\u6211\u7684\u9879\u76EE"
43
+ },
44
+ saveDesc: {
45
+ type: String,
46
+ default: "\u65B0\u589E\u9879\u76EE"
47
+ },
48
+ showSave: {
49
+ type: Boolean,
50
+ default: true
51
+ },
52
+ showMine: {
53
+ type: Boolean,
54
+ default: false
55
+ },
56
+ showAll: {
57
+ type: Boolean,
58
+ default: true
59
+ }
60
+ },
61
+ emits: ["all", "mine", "save"],
62
+ setup(__props, { emit: __emit }) {
63
+ ;
64
+ const props = __props;
65
+ const emit = __emit;
66
+ const attrs = vue.useAttrs();
67
+ const ns = webBaseClientVue.useNamespace("breadcrumb");
68
+ return (_ctx, _cache) => {
69
+ const _component_CirclePlus = vue.resolveComponent("CirclePlus");
70
+ const _component_ArrowDown = vue.resolveComponent("ArrowDown");
71
+ return vue.openBlock(), vue.createBlock(vue.unref(index.BwaAdvanceSelect), vue.mergeProps(vue.unref(attrs), {
72
+ showSelection: false,
73
+ "search-placeholder": __props.searchPlaceholder,
74
+ multiple: false
75
+ }), vue.createSlots({
76
+ contentBottom: vue.withCtx(() => [
77
+ __props.showAll ? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
84
78
  key: 0,
85
- class: vue.normalizeClass(vue.unref(ns).be('item', 'opt')),
86
- onClick: _cache[0] || (_cache[0] = $event => (emit('all')))
79
+ class: vue.normalizeClass(vue.unref(ns).be("item", "opt")),
80
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("all"))
87
81
  }, {
88
82
  default: vue.withCtx(() => [
89
- _hoisted_1,
83
+ _cache[3] || (_cache[3] = vue.createElementVNode("i", { class: "ptp-caozuo-chakan ptp-icon" }, null, -1)),
90
84
  vue.createElementVNode("span", {
91
- class: vue.normalizeClass(vue.unref(ns).be('item', 'opt-label'))
92
- }, vue.toDisplayString(__props.allDesc), 3 /* TEXT, CLASS */)
85
+ class: vue.normalizeClass(vue.unref(ns).be("item", "opt-label"))
86
+ }, vue.toDisplayString(__props.allDesc), 3)
93
87
  ]),
94
- _: 1 /* STABLE */
95
- }, 8 /* PROPS */, ["class"]))
96
- : vue.createCommentVNode("v-if", true),
97
- (__props.showMine)
98
- ? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
88
+ _: 1
89
+ }, 8, ["class"])) : vue.createCommentVNode("v-if", true),
90
+ __props.showMine ? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
99
91
  key: 1,
100
- class: vue.normalizeClass(vue.unref(ns).be('item', 'opt')),
101
- onClick: _cache[1] || (_cache[1] = $event => (emit('mine')))
92
+ class: vue.normalizeClass(vue.unref(ns).be("item", "opt")),
93
+ onClick: _cache[1] || (_cache[1] = ($event) => emit("mine"))
102
94
  }, {
103
95
  default: vue.withCtx(() => [
104
- _hoisted_2,
96
+ _cache[4] || (_cache[4] = vue.createElementVNode("i", { class: "ptp-caozuo-chakan ptp-icon" }, null, -1)),
105
97
  vue.createElementVNode("span", {
106
- class: vue.normalizeClass(vue.unref(ns).be('item', 'opt-label'))
107
- }, vue.toDisplayString(__props.allMine), 3 /* TEXT, CLASS */)
98
+ class: vue.normalizeClass(vue.unref(ns).be("item", "opt-label"))
99
+ }, vue.toDisplayString(__props.allMine), 3)
108
100
  ]),
109
- _: 1 /* STABLE */
110
- }, 8 /* PROPS */, ["class"]))
111
- : vue.createCommentVNode("v-if", true),
112
- (__props.showSave)
113
- ? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
101
+ _: 1
102
+ }, 8, ["class"])) : vue.createCommentVNode("v-if", true),
103
+ __props.showSave ? (vue.openBlock(), vue.createBlock(advanceOperation["default"], {
114
104
  key: 2,
115
- class: vue.normalizeClass(vue.unref(ns).be('item', 'opt')),
116
- onClick: _cache[2] || (_cache[2] = $event => (emit('save')))
105
+ class: vue.normalizeClass(vue.unref(ns).be("item", "opt")),
106
+ onClick: _cache[2] || (_cache[2] = ($event) => emit("save"))
117
107
  }, {
118
108
  default: vue.withCtx(() => [
119
109
  vue.createVNode(vue.unref(ElementPlus.ElIcon), null, {
120
110
  default: vue.withCtx(() => [
121
111
  vue.createVNode(_component_CirclePlus)
122
112
  ]),
123
- _: 1 /* STABLE */
113
+ _: 1
124
114
  }),
125
115
  vue.createElementVNode("span", {
126
- class: vue.normalizeClass(vue.unref(ns).be('item', 'opt-label'))
127
- }, vue.toDisplayString(__props.saveDesc), 3 /* TEXT, CLASS */)
116
+ class: vue.normalizeClass(vue.unref(ns).be("item", "opt-label"))
117
+ }, vue.toDisplayString(__props.saveDesc), 3)
128
118
  ]),
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, {
119
+ _: 1
120
+ }, 8, ["class"])) : vue.createCommentVNode("v-if", true)
121
+ ]),
122
+ reference: vue.withCtx(({ label }) => [
123
+ vue.createVNode(vue.unref(ElementPlus.ElButton), {
124
+ class: vue.normalizeClass(vue.unref(ns).be("item", "dropdown"))
125
+ }, {
143
126
  default: vue.withCtx(() => [
144
- vue.createVNode(_component_ArrowDown)
127
+ _cache[5] || (_cache[5] = vue.createElementVNode("i", { class: "ptp-qiehuan ptp-icon" }, null, -1)),
128
+ vue.createElementVNode("span", {
129
+ class: vue.normalizeClass(vue.unref(ns).be("item", "content"))
130
+ }, vue.toDisplayString(label || __props.defaultLabel), 3),
131
+ vue.createVNode(vue.unref(ElementPlus.ElIcon), null, {
132
+ default: vue.withCtx(() => [
133
+ vue.createVNode(_component_ArrowDown)
134
+ ]),
135
+ _: 1
136
+ })
145
137
  ]),
146
- _: 1 /* STABLE */
147
- })
138
+ _: 2
139
+ }, 1032, ["class"])
140
+ ]),
141
+ default: vue.withCtx(() => [
142
+ vue.renderSlot(_ctx.$slots, "default")
148
143
  ]),
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
- ? {
144
+ _: 2
145
+ }, [
146
+ __props.recentEmptyDesc ? {
159
147
  name: "contentTop",
160
148
  fn: vue.withCtx(() => [
161
149
  vue.createElementVNode("div", {
162
- class: vue.normalizeClass(vue.unref(ns).be('item', 'top'))
150
+ class: vue.normalizeClass(vue.unref(ns).be("item", "top"))
163
151
  }, [
164
152
  vue.renderSlot(_ctx.$slots, "recent", {}, () => [
165
153
  vue.createElementVNode("div", {
166
- class: vue.normalizeClass(vue.unref(ns).be('item', 'top-empty'))
167
- }, vue.toDisplayString(__props.recentEmptyDesc), 3 /* TEXT, CLASS */)
154
+ class: vue.normalizeClass(vue.unref(ns).be("item", "top-empty"))
155
+ }, vue.toDisplayString(__props.recentEmptyDesc), 3)
168
156
  ])
169
- ], 2 /* CLASS */)
157
+ ], 2)
170
158
  ]),
171
159
  key: "0"
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"]]);
160
+ } : void 0
161
+ ]), 1040, ["search-placeholder"]);
162
+ };
163
+ }
164
+ });
165
+ var BreadcrumbSelect = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "breadcrumb-select.vue"]]);
180
166
 
181
167
  exports["default"] = BreadcrumbSelect;
@@ -5,6 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var install = require('element-plus/es/utils/vue/install');
6
6
  var breadcrumbSelect = require('./breadcrumb-select.js');
7
7
 
8
+ // Inject __name helper
9
+ if (typeof __name === 'undefined') {
10
+ function __name(obj, name) {
11
+ Object.defineProperty(obj, "name", {
12
+ value: name,
13
+ configurable: true
14
+ });
15
+ }
16
+ }
8
17
  const BwaBreadcrumbSelect = install.withInstall(breadcrumbSelect["default"]);
9
18
 
10
19
  exports.BwaBreadcrumbSelect = BwaBreadcrumbSelect;
package/lib/components.js CHANGED
@@ -21,6 +21,15 @@ var index$g = require('./pct-filter-panel/index.js');
21
21
  var index$h = require('./pct-filter-panel/pct-compents/index.js');
22
22
  var index$5 = require('./filter-panel/conditions/index.js');
23
23
 
24
+ // Inject __name helper
25
+ if (typeof __name === 'undefined') {
26
+ function __name(obj, name) {
27
+ Object.defineProperty(obj, "name", {
28
+ value: name,
29
+ configurable: true
30
+ });
31
+ }
32
+ }
24
33
  var components = [index.BwaDataForm, index$1.BwaDataTable, index$2.BwaFilterPanel, index$3.BwaAdvanceSelect, index$4.BwaDateRange, index$5.BwaCondition, index$6.BwaApplicationSlot, index$7.BwaLayout, index$8.BwaMenu, index$9.BwaPanel, index$a.BwaPanelTab, index$b.BwaBreadcrumbSelect, index$c.BwaDataTableSetting, index$d.BwaDraglist, index$e.BwaProgress, index$f.BwaDragable, index$g.BwaPctFilterPanel, index$h.BwaPctMultipleMenuCondition, index$h.BwaPctInputCondition, index$h.BwaPctDateRangeCondition];
25
34
 
26
35
  exports["default"] = components;
@@ -6,24 +6,29 @@ 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 _sfc_main = {
10
- __name: 'contextmenu-item',
11
- setup(__props) {
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
- }
9
+ // Inject __name helper
10
+ if (typeof __name === 'undefined') {
11
+ function __name(obj, name) {
12
+ Object.defineProperty(obj, "name", {
13
+ value: name,
14
+ configurable: true
15
+ });
16
+ }
24
17
  }
25
-
26
- };
27
- var contextmenuItem = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"contextmenu-item.vue"]]);
18
+ const __default__ = vue.defineComponent({ name: "BwaContextmenuItem" });
19
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
20
+ setup(__props) {
21
+ ;
22
+ const ns = webBaseClientVue.useNamespace("contextmenu-item");
23
+ return (_ctx, _cache) => {
24
+ return vue.openBlock(), vue.createElementBlock("div", {
25
+ class: vue.normalizeClass(vue.unref(ns).b())
26
+ }, [
27
+ vue.renderSlot(_ctx.$slots, "default")
28
+ ], 2);
29
+ };
30
+ }
31
+ });
32
+ var contextmenuItem = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "contextmenu-item.vue"]]);
28
33
 
29
34
  exports["default"] = contextmenuItem;